Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64966

Re: Eclipse IDE printing values automatically

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Eclipse IDE printing values automatically
Date Thu, 30 Jan 2014 05:39:42 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 28
Message-ID <lccoiu$d0d$1@reader1.panix.com> (permalink)
References <9da6b40b-bf80-4886-b958-c7b90a08e4d4@googlegroups.com> <583ab407-7831-45d7-b15d-46b30a6cccf1@googlegroups.com>
NNTP-Posting-Host panix2.panix.com
X-Trace reader1.panix.com 1391060382 13325 166.84.1.2 (30 Jan 2014 05:39:42 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Thu, 30 Jan 2014 05:39:42 +0000 (UTC)
User-Agent nn/6.7.3
Xref csiph.com comp.lang.python:64966

Show key headers only | View raw


In <583ab407-7831-45d7-b15d-46b30a6cccf1@googlegroups.com> mick verdu <mickverdu@gmail.com> writes:


> Thanks for reply.
> I am running file via ctrl+F11 and seeing output on pyDev Console.
> My code has got nested dictionaries, lists and tuples. What you want to see?

One thing you could try is to track down exactly which line(s) are causing
the unwanted output.

Add some print statements to your code, say one print every fifty lines
or so.  Or perhaps just one print statement at the top of each function.
Make each message different so you can tell them apart in the output.
When the unwanted output appears, take note of which of your print
statements appears above and below it.  Then you can add more print
statements in between those two, until you have narrowed down exactly what
line of code is causing the output.  Then, if you still can't tell why it
is happening, post that line of code here and maybe we can help.

Or, if your program is short enough, you can just post the whole thing
here.  Be sure to give an example of the unwanted output, and tell us
exactly how the program is being executed.  If the program uses input
files, be sure to give us those too.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Eclipse IDE printing values automatically mick verdu <mickverdu@gmail.com> - 2014-01-28 22:26 -0800
  Re: Eclipse IDE printing values automatically Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-29 09:21 +0000
  Re: Eclipse IDE printing values automatically Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-29 16:34 +0000
  Re: Eclipse IDE printing values automatically mick verdu <mickverdu@gmail.com> - 2014-01-29 12:23 -0800
    Re: Eclipse IDE printing values automatically Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-29 20:44 +0000
    Re: Eclipse IDE printing values automatically John Gordon <gordon@panix.com> - 2014-01-30 05:39 +0000

csiph-web