Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™ Forum Discussions

User7795
Level 4
Level 4
Hi Infineon,

gdb doesn't display global vars at all stackframes, function always is greyed out.

Best regards
Wolfgang
0 Likes
2 Replies
ningareddy_moda
Employee
Employee
Hi Wolfgang,

This feature is not supported from CDT framework itself.

Please see the defect entry

https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040

“Instead, you can add the ones you are interested in within the Expressions view”

Best Regards
Ningareddy
0 Likes
User7795
Level 4
Level 4
Hi Ningareddy,

thanks for this hint, some more details:

if the expressions tab doesn't exist, go to window -> Show View and click on Expressions, then the expressions view tab appears at variable view (top right). To display a global variable click on then green "+" and enter the name of the variable, then the value appears. To expand arrays, click on the "+" box.

Best regards,
Wolfgang

Here are additional infos:
http://mcuoneclipse.com/2014/03/16/variable-debugging-with-eclipse-kepler/
0 Likes