Problem debugging python code

View: New views
1 Messages — Rating Filter:   Alert me  

Problem debugging python code

by Smjert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using NetBeans 6.7 with Python plugin, i have a single file to debug (into a bigger project).

I have some questions to do:



1)The code shows a gtk window, if i put no breakpoints and start debugging the windows shows up, but if i set a breakpoint, Debug File, hit the breakpoint and then click Continue the window doesn't show up... and if then i stop the debug session the python process running on jpydaemon remains there (and the console says nothing).

Only if i stop when it hits the breakpoint the debug session end correctly.



2)If i put the breakpoint into Settings __init__ function (see code below) the debugger doesn't hit it, instead it stops at the first line (i disabled this) and again if i stops the debug session the process remains active.



3)Is correct that the code debugs with jpydaemon?

I set python platform as default..



This is the code i'm trying to debug http://pastebin.com/m3dabcfe4