Page 1 of 1
Debugger problem
Posted: Thu Apr 05, 2007 4:17 pm
by codefire
This is weird. I can set a breakpoint in my program, and when the code runs it hits the breakpoint as expected. Problem then is all debugger controls are greyed out apart from Kill Program.
I'm definately compiling with debugger enabled - it's set in the compiler options.
I can't figure out why the compiler controls aren't working!
Posted: Thu Apr 05, 2007 4:32 pm
by freak
Are you sure it stops because of the breakpoint ? What is the message it shows in the statusbar ?
If the program stops because of an error on the line you sometimes cannot continue (fatal error)
Posted: Thu Apr 05, 2007 5:39 pm
by codefire
freak wrote:Are you sure it stops because of the breakpoint ? What is the message it shows in the statusbar ?
If the program stops because of an error on the line you sometimes cannot continue (fatal error)
Yes, definately a breakpoint.
Also, CallDebugger also works, but once invoked I can't single step as those controls appear greyed out.
One other thing. If I select the "Stand alone debugger" instead, that works fine - I can set BP, signle step and so on. It seems to be a problem with the IDE debugger only.
Posted: Sun Apr 08, 2007 8:18 pm
by Trond
What happens if you switch to another source then back?
Posted: Mon Apr 09, 2007 7:55 am
by codefire
Trond wrote:What happens if you switch to another source then back?
Bizarrely a reboot seems to have fixed it. If it happens again I will try what you suggested.
Cheers,
Codefire
Posted: Mon Apr 09, 2007 10:30 pm
by DoubleDutch
I had a couple of these reboot issues when on XP. On Vista so far it hasn't happened. Strange ehh?