In C ++, you can view the return value of the function through @ eax.
In C #, according to msdn, you can also. The following pseudo variables are supported by vs2012:
Pseudo Variable |
Function |
$ Handles |
Displays the number of handles allocated in the application. |
$ Vframe |
Displays the current stack frame address. |
$ Tid |
Displays the thread ID of the current thread. |
$ ENV |
Display the environment block in the string browser. |
$ Nearline |
Displays the command line string of the Startup Program. |
$ PID |
Displays the process ID. |
$ Register name Or @ Register name |
Display registerRegister name. Generally, you only need to enter the register name to display the register content. This syntax is required only when the register name is overloaded with variable names. If the register name is the same as a variable name in the current range, the debugger interprets the name as a variable name. In this case, you need to use $Register nameOr @Register name. |
$ CLK |
Display the time in the form of a clock. |
$ User |
Displays the account information of the account where the application is running. Password information is not displayed for security reasons. |
In C # and Visual Basic, you can use the following pseudo variables:
Pseudo Variable |
Function |
$ Exception |
Displays information about the latest exception. If no exception occurs, $ exception is calculated and an error message is displayed. In Visual C # only, if "Exception Assistant" is disabled, $ exception is automatically added"Local variable"Window. |
$ User |
Displays the account information of the account where the application is running. Password information is not displayed for security reasons. |
In Visual Basic, you can use the pseudo variables shown in the following table:
Pseudo Variable |
Function |
$ Delete or $ Delete |
Delete"Instant"The implicit variable created in the window. The syntax is $ Delete, VariableOr $ Delete, Variable. |
$ Objectids or $ Listobjectids |
Displays the IDs of all activity objects as sublevels of the specified expression. The syntax is $ objectid, ExpressionOr $ listobjectids, Expression. |
$ N#
|
The Display object ID is equalN. |
$ Dynamic |
Display the special object used to implement idynamicmetaobjectprovider"Dynamic View"Node. Interface. Syntax: $ dynamic, Object. This function is only applicable to code that uses. NET Framework Version 4. See Dynamic View. |
However, in my actual application, I found that only $ user can work normally, and most of others cannot.