# Debugging: Evaluate Code Window

Use to evaluate any code snippets to view the values of local variables for the current method, class variables, and method calls.

Note: The NetBeans IDE enables you to debug both Java and JavaScript code keeping a complete track of the debugging process.

Element | Description
--- | ---
| Shows the result with historical values in the Evaluation Results view. Icon is located in the bottom right corner of the window.
| Shows the result in the Variables view. Icon is located in the left pane of the Variables view.
| Adds the watch to the Watches View to set a watch for the code snippet. Icon is located in the Variables view.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.