Page 1 of 1

Jump to line number on error

Posted: Sun Nov 26, 2006 12:34 pm
by PB
When the Debugger highlights an error line in red, and I click "Quit" to get rid
of the Debugger, it would be nice if the IDE could jump to that line number, to
make getting to the problem easier. At the moment I have to take note of the
line number and then do CTRL+G and enter the line number manually. :(

Posted: Sun Nov 26, 2006 5:09 pm
by freak
You are using the external debugger ?
Because the internal one shows the error directly hilights the line in the IDE, so there is no need to search.

I will check if i can add it to the external one as well.

Posted: Mon Nov 27, 2006 1:24 am
by PB
Hi Freak, yes, I prefer using the Standalone GUI Debugger.

As a side-note, why are there 2 debuggers anyway? How different are they,
and are there any advantages in using one versus the other at any time?

Posted: Mon Nov 27, 2006 2:32 am
by freak
When i rewrote the debugger, the one included in the IDE was supposed to be the
new way of debugging in PB.

The standalone one was only created to not kill off jaPBe or the possibility to
use any other 3rd party editor, because they would have been limited
to the console only debugging then.

The two debuggers share most of their codebase. The difference is only in the
way the sourcecode, errors, breakpoints and such are presented. The
debugging tools are the same.
(except the CPU monitor which is only present in the IDE)

The integrated debugger has the advantage of not adding another window (which again displays the same sourcecode).
Also stuff like breakpoints is more comfortable there, as they stay between debugging sessions for example.

The standalone one has the advantage that the sourcecode is not locked while you
run a debug-session, so you can continue editing in the IDE if you want.

Both have their uses, although the differences are not that big.
Thats why there is a choise... ;)