From: SourceForge.net <no...@so...> - 2006-05-27 07:46:40
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3752907 By: mschorn Tried cherrypy debugging again and wanted to use your recipe. g = pydevd.GetGlobalDebugger() - returns None. Any further advice? Thank you. Marcus ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-27 15:05:25
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3753154 By: mschorn Sorry, g = pydevd.GetGlobalDebugger() works only in Debug-Mode. I initialized every cherrypy thread now in this way. CP has an callback-API for doing so. But I can still not break into any of the running threads. Any idea what to do? Thanks, Marcus ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-28 19:47:37
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3754119 By: fabioz Ok, as you're trying pydev extensions, have you tried using pydevd.settrace ? (as pointed in http://www.fabioz.com/pydev/manual_adv_remote_debugger.html) -- You need to start the remote debugger server before that call. Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-29 12:47:42
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3754842 By: mschorn Hi Fabio, thanks for the response. I have tried pydevd.settrace(). I seems to work, but only once? If it passes pydevd.settrace() a second time the debugger does not break. It would be much easier to break into a regular breakpoint when you see a problem in the running program - instead ot stopping the process, changing the code and navigate to the problem again. Or am I making something wrong? Regards, Marcus ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-29 12:58:13
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3754853 By: fabioz Actually, the remote debugger is mostly for when you're running things without the need for running it in debug mode, so, you just start the remote debugger and when it hits that code it automatically 'switches' to debug mode. You should be able to add breakpoints after switching to debug mode without problems. Now, if you already start CP in debug mode from within Eclipse, that should not be needed, as long as you set the tracing facility for each thread you create (as I explained before), and breakpoints should work without problems. If they're not working when you run things that way, it might be that for some reason the filename that generated the module is lost in CP, but I find that very unlikely, but as I haven't tested it, it might be the reason why that's happening. If you believe that the breakpoints are missed because of something like that you can report a bug, and we can do some things 'interactively', if you're willing to do it, so, I'll pass you the changes, and you do them in your environment, so that we can evaluate toghether what's happening. Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-30 08:29:07
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3755914 By: mschorn I ran the remote debugger without debug mode. Breakpoints still work only for the duration of one request. For the next request remote debugger has lost them. The regular debugger too. I will report a bug. I am interested that the bug is solved. If you I can help please tell me how. Regards, Marcus ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-05-30 10:41:44
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3756088 By: fabioz Sure, please do report it -- I'm interested in making it work too ;-) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |