Re: [Pydev-code] Debugging jython called from Java
Brought to you by:
fabioz
From: dperez <cra...@ya...> - 2006-09-27 12:46:44
|
Hi, Thanks Fabio for your explanation. Now, I have set as you have told me, and it doesn't still work. The cause of this is surely that I need to redirect the org.python.util.PythonInterpreter output to the servlet response stream, because all the print's in Python code, are sent to the browser. Fabio Zadrozny-2 wrote: > > On 9/27/06, dperez <cra...@ya...> wrote: >> >> >> But the console is working when not using the debug server. I enter a >> simple expression (like 1+1), hit twice Enter and nothing happens. >> It works ok when starting standalone .py programs. >> >> > Have you set: pydevd.settrace(stdoutToServer=True, stderrToServer=True)... > because it should put the message to the console, but if your running > program console is not within the pydev, it will not print to the console > unless you ask it to redirect the output to the pydev output... > > Cheers, > > Fabio > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > -- View this message in context: http://www.nabble.com/Debugging-jython-called-from-Java-tf2317042.html#a6525954 Sent from the pydev-code mailing list archive at Nabble.com. |