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.
Topics:
Topic |
Detail |
See also |
---|---|---|
Usage |
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. |
|
Notes:
- This feature is not presently supported by the Microsoft .NET platform.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2011 Sparx Systems Pty Ltd.