Debugger loses way stepping through code...

Working on new editor enhancements?
User avatar
skywalk
Addict
Addict
Posts: 3997
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Debugger loses way stepping through code...

Post 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?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
skywalk
Addict
Addict
Posts: 3997
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Debugger loses way stepping through code...

Post 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.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Debugger loses way stepping through code...

Post 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...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply