Sign in Join
Wiki copytemporary

IDE Window: Local Variables: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: IDE Window: Local Variables

OldNewLine
1+## Contents
2+
3+ * 1 Navigation
4+ * 2 Important
5+ * 3 Local variables
6+ * 4 Data displayed
7+ * 5 Scope (Stackframe, Thread, History)
8+ * 6 See also
9+
10+## Navigation
11+
12+[[Main menu|Main Menu]] > [[Main menu|View]] > Debug Windows > Local Variables
13+
14+## Important
15+
16+You must [[Debugger Setup|setup the debugger]] and start the project to debug it. Only then this window will be useful.
17+
18+## Local variables
19+
20+[![Local Variables 2 0 10.jpg](/wiki-images/4/4f/Local_Variables_2_0_10.jpg)](</File:Local_Variables_2_0_10.jpg>)
21+
22+This is the list of the local variables and their current values of the current function/procedure.
23+
24+## Data displayed
25+
26+Name
27+ The mangled name of the variable. Normally the compiler converts the Pascal identifier to uppercase. You will see local variables only if the procedure was compiled with debugging information.
28+Values
29+ The current value of the local variable.
30+
31+Note: The values are shown in a very basic form. e.g Objects are shown as pointer, instead of structure. You may get more information by adding a variable to the [[IDE Window: Watch list|Watches]] window.
32+
33+## Scope (Stackframe, Thread, History)
34+
35+The values are evaluated according to the scope set in the [[IDE Window: Threads|Thread]] and [[IDE Window: Call Stack|Call Stack]] dialogs. Default is the current Thread and top stack frame. Both (Stack and Frame) dialogs offer to change the "current" Frame/Thread. The Watches window will follow this selection.
36+
37+It is also possible to select previously displayed values, using the [[IDE Window: Debug History|History]] dialog.
38+
39+## See also
40+
41+ * [[IDE Window: Watch list|Watches Window]]
42+ * [[IDE Window: Debug History|Debug History]]
43+
44+---
45+*From the Free Pascal wiki, page "IDE Window: Local Variables", as the Internet Archive kept it on 2025-01-14. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history