Page 1 of 1

Two things for this thread...

Posted: Thu Dec 18, 2003 7:52 pm
by Psychophanta
-First petition:
For the PureBasic Debugger in STEP MODE; the current line is too much up in window and can't be watched easely the code above. Could be this line to be just vertically in the middle of window?

-Second one:
When coding outside functions, in a large program, when for example we do p.l=5 we are reserving 4 bytes in the PC memory for that variable until program ends, even we just use that variable for a punctual calculation and never again. Should be useful (aha! and possible!) a command to liberate that mem? For example Flush p.l,f,rt$ or Free p.l,f,rt$ :?:

Re: Two things for this thread...

Posted: Thu Dec 18, 2003 8:11 pm
by tinman
Psychophanta wrote:-First petition:
For the PureBasic Debugger in STEP MODE; the current line is too much up in window and can't be watched easely the code above. Could be this line to be just vertically in the middle of window?
Or better, have the debugger window scrollable so that you can view any source line, and just have some mark showing where the current line is.
-Second one:
When coding outside functions, in a large program, when for example we do p.l=5 we are reserving 4 bytes in the PC memory for that variable until program ends, even we just use that variable for a punctual calculation and never again. Should be useful (aha! and possible!) a command to liberate that mem? For example Flush p.l,f,rt$ or Free p.l,f,rt$ :?:
Could be useful, but could you just use a procedure for carrying out the calculation? Perhaps inline procedures would be more useful for this if Fred has those planned?

Posted: Thu Dec 18, 2003 8:43 pm
by Psychophanta
Tinman wrote
Or better, have the debugger window scrollable so that you can view any source line, and just have some mark showing where the current line is
The debugger window is actually scrollable, and has marked current line, but when you push step button that line goes up, because by default it is placed at 4th. line.
Perhaps inline procedures would be more useful for this if Fred has those planned?
Yes, inline procedures should be still better. :idea:

Posted: Sat Jul 16, 2005 4:56 pm
by Psychophanta
First one has been made. That's great :)
What about second? And/or this one: viewtopic.php?t=15874
:roll: