Page 1 of 1

Update variable viewer automatically?

Posted: Tue Aug 02, 2005 12:27 pm
by PB
Does the new debugger (in the v3.94 betas) have an option to auto-update
the variable viewer? It seems I have to click the "Update" button manually
now, but in the old debugger it was automatic at regular intervals.

Posted: Tue Aug 02, 2005 1:20 pm
by freak
While the program is running, there is no automatic update, yes.
Each time you stop the program or do a step, there is an automatic update.

The reason there is no automatic update anymore is that there is now the "Watchlist"
feature, which is much more efficient in tracking variable changes in real time,
than a full update of the variable list.

(Debugger and debugged program are now two separate processes, so with
each update, the full variable list must be transmitted, which with many variables
would slow the thing down a lot i think.)

The watchlist can keep track of variables, both global or local. Inside of
structures, linkedlists or arrays. Also the list of watched variables is
saved with the sourcecode so you do not need to fill the list on each run.

Posted: Tue Aug 02, 2005 1:37 pm
by PB
Ah, the Watchlist is exactly what I wanted! Good job! :D

> the list of watched variables is saved with the sourcecode so you do not
> need to fill the list on each run

I thought this wasn't working at first, but I was using jaPBe... it does work
with v3.94 beta 4 though, which is great. I noticed also that a long I was
watching with v3.94 beta 4 had a scope of "L" but in jaPBe it was "S"...
Looks like jaPBe needs an update to handle all of 3.94's new features.

Posted: Tue Aug 02, 2005 1:52 pm
by PB
Holy cow, I just discovered v3.94's "Templates" feature! To be able to insert
my code snippets and procedures without leaving the editor is brilliant! :D

Two more suggestions though:

(1) When you double-click a procedure name, the editor jumps to it -- good.
How about a hotkey to jump back to where you just left, though? I need to
do this all the time.

(2) Markers: Maybe save/load them with each source?

Other than that, I'm loving this new IDE in a big way! :)