ActiveState Community

Debug not using project debug settings?

Posted by mrdoommaster on 2007-08-15 16:08

Hi,

When I press F5 in the editor to start a new debugging session, it does not use the debugging settings I specified in my project. Why is this not working?

Also, when I specify to show line numbers I have to constantly set this option for every file. Why? Is there a way to make line numbers show up for ALL files?

Also, "Start New Session" is grayed out... Not sure what this option does anyway, seems like it would start a new debug session.

Thanks.

troyt | Wed, 2007-08-15 17:39

The problem you are encountering with your project-level debugging settings is probably related to this bug:

http://bugs.activestate.com/show_bug.cgi?id=70514

The global option to show line numbers for all files is under 'Edit|Preferences...|Editor|Show line numbers' (as opposed to 'View|View line numbers').

"Start New Session" is used to start a new, separate debugging session while you're stopped at a breakpoint. It's only available when you're in an active debugging session (i.e. stopped at a breakpoint).

Hope this helps.

TT

mrdoommaster | Wed, 2007-08-15 17:53

Thank you for your response. Your explanations and solutions were very helpful, I do appreciate it.

Concerning the bug report you linked me to, I'm not sure if it related. From reading the comments in the bug report it somewhat sounds related but under a different situation; if that makes sense. Is there anything I can do to fix this myself or maybe there is some work around available? If not, when can I expect an update that fixes this? Project support is one of the MAJOR reasons why I choose Komodo over other python IDE's.

Let me know. Thanks again!

troyt | Thu, 2007-08-16 14:22

We're looking into that bug now, I'm pretty sure it's related to the problem you're experiencing (see my comments in the bug).

I haven't been able to find a useful workaround for making the project-level debugging settings stick, but you can at least save a new file-level debugging setting if that helps at all.

When you open a debug session, click "New..." in the Debugging Options dialog box. Choose a configuration name and set up the environment, arguments, options, etc. then click OK. The new, named debug configuration should persist as the default configuration for that file.

I realize this is quite tedious if you have to do it for each file. We'll try to get a fix out ASAP.

TT

mrdoommaster | Thu, 2007-08-16 15:27

Thank you very much for your help. I really appreciate it!