
This icon means the debugger doesn't evaluate the expression because of a potential cross-thread dependency. For example, a typo in the preceding expression produces this error in the Watch window:Ī circle with two wavy lines icon may appear in the Watch window.
#Synplify pro error codes code#
If an expression has a syntax error, expect the same compiler error as in the code editor. The rules for evaluating expressions in the Watch window are generally the same as the rules for evaluating expressions in the code language. You can observe any valid expression recognized by the debugger in a Watch window.įor example, for the code in the preceding section, you can get the average of the three values by entering (a + b + c) / 3 in the Watch window: For more information, see Pseudovariables. You can add register names and variable names using $ or to the Name in the Watch window. If you have to qualify the context, use the context operator (C++) syntax in the Name in the Watch window. The context is the function, source file, or module where a variable is located. You may need to qualify the context of a variable name, or an expression that uses a variable name. The variable values in the Watch window change as you iterate through the for loop. Do the same for b and c.Ĭontinue debugging by selecting Debug > Step Into or pressing F11 as needed to advance.

In the Watch window, select an empty row, and type variable a.
#Synplify pro error codes windows#
You can open additional Watch windows by selecting windows 2, 3, or 4. Open a Watch window by selecting Debug > Windows > Watch > Watch 1, or pressing Ctrl+ Alt+ W > 1.

Start debugging by selecting the green Start arrow or Debug > Start Debugging, or press F5. You can open more than one Watch window, and observe more than one variable in a Watch window.įor example, to set a watch on the values of a, b, and c in the following code: int main()įor (int i = 0 i Toggle Breakpoint, or pressing F9. If this is the first time that you've tried to debug code, you may want to read Debugging for absolute beginners and Debugging techniques and tools before going through this article.
