IDE for PB 5.70...
Is there a way of finding where breakpoints have been set - or going to them one at a time?
I might have several set and want to clear some of them but leave others in place and my memory can be unreliable!
Goto or Find Breakpoints
Goto or Find Breakpoints
Ubuntu 22.04 64-bit
Purebasic 6.00 (as of 5 Sep 2022)
(native tongue: English)
Purebasic 6.00 (as of 5 Sep 2022)
(native tongue: English)
Re: Goto or Find Breakpoints
Check each location where you may have set breakpoints (eg. usually the very first instruction of a procedure) for the Int3 breakpoint instruction - the byte 0xCC. You can use PeekA() for this, and "@Procedure()" to find the address of the first instruction in a procedure. This is a general anti-debugging technique.
Re: Goto or Find Breakpoints
@Keya
That isn't in the Manual, but worth knowing!
Unfortunately, I'm not so tidy where I put breakpoints, either - they can be anywhere which might be helpful in finding the bug of the moment. Sometimes I put a comment nearby which includes my initials (not a sequence of characters which occur naturally in code) but regrettably for this purpose I'm not consistent with that, either.
I can't see anything in the IDE menus which could help.
That isn't in the Manual, but worth knowing!
Unfortunately, I'm not so tidy where I put breakpoints, either - they can be anywhere which might be helpful in finding the bug of the moment. Sometimes I put a comment nearby which includes my initials (not a sequence of characters which occur naturally in code) but regrettably for this purpose I'm not consistent with that, either.
I can't see anything in the IDE menus which could help.
Ubuntu 22.04 64-bit
Purebasic 6.00 (as of 5 Sep 2022)
(native tongue: English)
Purebasic 6.00 (as of 5 Sep 2022)
(native tongue: English)
Re: Goto or Find Breakpoints
Yes, a long time request I have is a menu pick -> Goto Next Statement, while debugging.
Of course, if you click the [Step] button, it will execute the next line, but sometimes I want to decide whether to Step or Step over.
Of course, if you click the [Step] button, it will execute the next line, but sometimes I want to decide whether to Step or Step over.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Goto or Find Breakpoints
Yes, I mentioned that since those actions will move the IDE cursor to the next line.
But also perform the next line, which I don't always want.
But also perform the next line, which I don't always want.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Goto or Find Breakpoints
I think that's a feature request for the IDE.
Also for marks:
A list over all breakpoints/marks, with the posibility to jump to them
and enable delte them.
Also for marks:
A list over all breakpoints/marks, with the posibility to jump to them
and enable delte them.