Page 1 of 1

Faster Variable Viewer

Posted: Sun Aug 17, 2008 5:37 pm
by Deeem2031
When I try to open the Variable Viewer of the debugger in a program with global variables, which have big arrays inside, it takes very long time to open, and every time you hit "Step" it take the same time to update.
For example I have 5 variables with this structure in my project:

Code: Select all

Structure SList
  sub.l[27*256]
  sublen.l[27*256]
EndStructure

Global a.SList,b.SList,c.SList,d.SList,e.SList

CallDebugger
This ends up in 69110 elements which all get updated in the variable viewer. Here i have to wait about 15 seconds til the variable viewer is loaded completely.

Now it would be much more efficient if the elements only get updated if you expand the variable in the treeview - especially for such large structures.

Posted: Mon Aug 18, 2008 2:42 am
by freak
To watch individual values as you step through the code, the Watchlist tool is the better one.

I will see if there room for speedup without messing things up too much in the variable viewer...