Watched variables/memory

Watched variables are an easy way to keep an eye on some specific variables or part of memory.
Up to 10 watched values (variables/memory), updated also when auto mode

On the main window only the first 4 are displayed, removed by right clicking on.

All are displayed in the watched tab.


- Alt+left click on (or near) a variable in the source codes window to add it in the watched list. Also option in proc/var context menu.
- For memory use the manage dump dialog.
- Variables or memory could be traced in the log file when their values change. A ‘T’ to the left of name indicates that the var is traced. In the watched context menu and also in the context menu of proc/var.

- Different formats (hex, binary,..) for watched vars, select twice or more to get a new format
- Local var watched are kept between proc calls but are displayed as non-existent and can just be deleted.
- If you rerun immediately the debuggee without closing Fbdebugger, all the watched are kept. In case of dll only standard types and pointers are reused.
- When you close fbdebugger the arrays and memory watched are removed. Then later on run of debuggee proc, var name, pointer, array are used to verify if the watched vars still exist.
- The watched are saved in the ini file for a next session.

- Some issues could be happened with vars in recursives procs.

- Right click to display the context menu


- Show in var window: selects the variable in the proc/var window
- There are the same possibilities that with the variables (dump, edit..)
- Toggle tracing : set/reset the tracing mode in the log file
- Cancel all tracing : the tracing is suppressed for every watched
- Switch watch x : switch the selected watched with the numbered x watched, those showed on main window.

- Delete : delete the selected one.
- Delete all : delete all with confirmation.