The Remote Watch window allows you to observe changes in the value of variables in your remote application. Whenever the value of the variable changes during the execution of the program a new value of the variable is displayed.
You can also add or delete remote watches
using Command Input box. For more
information, see Command Input Box (in output pane).
Remote Watches Window
To
open Remote Watches window do the following:
1. From the main menu in NetBeans IDE, select Window > Debugging > Remote Watches window. The Remote Watches window is displayed.
2. Right-click the Remote Watches window, the pop-up menu displays the following choices:
Menu Item |
Description |
Delete |
Removes the selected variable from the Remote Watches window. |
List Options |
Enables you to customize the display of the Remote Watches window, including adding and removing columns of information, reordering the columns, and sorting the columns. See Customizing a Debugger Window for more information (available from Using NetBeans IDE 7.0.1 Debugging Applications at http://netbeans.org/kb/70/java/debug-multithreaded.html ). |
Adding Remote Watches
To
Add Remote Watch do the following:
1. In the NetBeans IDE, click the Files tab.
2. Right-click the EXE file and select Add Remote Watch. The New Watch dialog box is displayed.
3. Enter the variable in the Watch Expression field and click OK.
You can see the variable added to the Remote Watches window.
Note: While executing or before executing the EXE file in NetBeans IDE, you can Add Remote Watch for multiple executable image (EXE) files in Remote Watches window.
Deleting Remote Watches
To
delete a Remote Watch do the following:
1. In the NetBeans IDE, right-click on Remote Watches window.
2. Click the plus sign (+) next to EXE file and right-click the variable name and select Delete. The variable name is deleted in Remote Watches window.