Page 1 of 1

Debugger loses way stepping through code...

Posted: Tue Jan 03, 2012 8:20 pm
by skywalk
Has anybody had this problem lately using pb46b1x86?
My scenario:
Not using projects. Only IncludeFiles.
;- INCLUDES
IncludePath "c:\somepath\"
XIncludeFile "file1.pbi"
XIncludeFile "file2.pbi"
XIncludeFile "file3.pbi"

Stepping through my main source file using the [F8] key...
I jump into a procedure located in XincludeFile "c:\somepath\file2.pbi"
The IDE jumps to that line, but won't respond to the [F8] key anymore.
Instead, it inserts a 'right triangle' marker on the far left of the line.
If I jump back manually to the main file and hit [F8], then it will jump back to the include file and advance 1 line.
But still won't respond to further [F8] keys?

All this seems to go away if I don't use IncludePath?
;- INCLUDES
XIncludeFile "c:\somepath\file1.pbi"
XIncludeFile "c:\somepath\file2.pbi"
XIncludeFile "c:\somepath\file3.pbi"

Really frustrating, but wanted to see if it's just my specific setup?

Re: Debugger loses way stepping through code...

Posted: Thu Jan 05, 2012 7:49 pm
by skywalk
Argg...it is happening again. :(
While the IncludePath and XIncludeFile combination seemed to trigger it almost immediately,
closing and restarting the entire IDE makes it go away.
Then I can step through the code and jump to procedures in other files.

Re: Debugger loses way stepping through code...

Posted: Mon Feb 06, 2012 10:56 pm
by blueznl
I had some troubles with IncludePath a long, long time ago, and stopped using it. I never needed to use it much, anyway, so I didn't bother too much with figuring out what was going on :-) Things could be fixed or perhaps a user (me :-)) fault...