Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Break When a Variable Changes Value

You can set a breakpoint on a variable such that when it is modified the debugger halts at the line of code that has just caused the memory to be changed. When such a breakpoint occurs the code editor is displayed and the line highlighted. The log in the Debugger window also prints a statement to the effect.




See also


An invalid or uninitialised variable can cause the program behaviour to differ from expected. This tool enables you to halt execution whenever a certain variable has its value changed.

The example below creates a notification on a variable from the Locals window. The item being watched is the Passengers integer member of the CTrain class.

VEA - Variable Notification



  • This feature is not presently supported by the Microsoft .NET platform.