Reputation: 1237
I used to be able to see global variables in the Variables view when debugging C/C++ code in Eclipse. Now, I only see local variables, and the "Add Global Variables..." option (the icon was a globe with eyeglasses over it) is gone:
I can manually add an expression, but this is inconvenient. Am I missing something, or was this removed intentionally?
I'm using Eclipse 2019-12 with Eclipse CDT 9.10.0.201912051559 on Windows 10.
Upvotes: 2
Views: 1141
Reputation:
Global variables are not shown in the Variables view.
Instead, you can add the ones you are interested in within the Expressions view. You can follow this link, it can help you : https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040
Upvotes: 1