Procedures (subs / functions) and variables
Displays the running procs and datas of the associated variables (name,address (verbose mode),datatype,value, pointed value if defined as pointer).
- Procs are sorted by thread.
- Shared and
common variables displayed at the top (outside main proc). Globals from dll are in a separate part.
- The update
is is only done when fbdebugger
is waiting, after each step or on stop.
- Dynamic
arrays could be not defined before execution of some lines so some commands are
not usable.
Right click to display the context menu, in most of case firstly select a variable before selecting the option menu
- Set watched : add the variable in the watched list w/wo trace
- Break on var value : select
the function to be used and eventually the enter the
value needed for the comparison.
- Index selection : only for arrays, you can easily watch the
elements one by one. Select the index and change the value then click apply or
use the +/- buttons to incremente/decremente.
The change is done in the window proc/var.
- Variable dump : the address of the variable is used as the beggining of the memory area.
- Edit :
Enter a new value and click apply to modify the variable value. For pointers
the value of data pointed is also displayed and could be
changed.
- Expand : expands or shows variables.
- Show z/w/string : displays every type of string up to 32000
characters, for more use dump. Click on wrapping button to wrap/nowrap.
- Change byte<>zstring type : in case of gcc compil the zstrings are seen as byte. Change the type ONLY in FBdebugger to easy manipulation.
- Locate proc in source : select the beginning of the proc in the sources window.
- Locate calling line : select the line that has called the proc.
- Collapse/expand : collapse or expand the tree.
- List proc/var : list in the log all the proc/var or only those from one proc (where is the cursor)