-
Notifications
You must be signed in to change notification settings - Fork 5
Data inspection
Displays the current variables. By selecting the call stack, you can see the variables at that time.
The <base>
shown in the variables view represents the base object.
This is a special name given by the debugger to distinguish it from the user-defined base
field.
So you don't need to worry about the difference between the two unless you are intentionally trying to override the base
.
This name is also valid for watch expression.
If the value is an object, the class name and a summary of the value will be displayed to the right of the variable name, such as ClassName {field: "value"}
, Object(3) [1, 2, 3]
. Note that this class name is managed by the debugger and does not necessarily correspond to __Class
field.
This name is used in the is
operator for Conditional breakpoint.
The following useful actions are available in the menu that appears when you right-click on a variable.
-
View Value
- Display the variable value displayed for data inspection to new editor -
Copy Value
- Copy the variable value displayed for data inspection -
Copy as Expression
- Copy the variable name path -
Add to Watch
- Add the selected variable to the watch expression
The following will only appear for variables with string.
-
View as Text
- Display the variable value that removed double quotation marks then escaped characters unescaped to a new editor -
Copy as Text
- Copy the variable value that removed double quotation marks then escaped characters unescaped
The following will only appear for variables with number. Note that the conversion of numbers is done in JavaScript and may be different from the AutoHotkey conversion.
-
View as Each Base Numbers
- Display the value in binary, decimal, hex, and scientific notation -
Copy as Binary
- Copy with convert to binary -
Copy as Decimal
- Copy with convert to decimal -
Copy as Hex
- Copy with convert to hex -
Copy as Scientific Notation
- Copy with convert to scientific-notation