Author Topic: Global variables in the debugger?  (Read 154 times)

rjpontefract

  • Community Member
  • Posts: 85
  • Hero Points: 4
Global variables in the debugger?
« on: February 15, 2021, 02:22:25 am »
Using SE 25.0.1 on Windows and Linux.  When debugging a C/C++ executable I can see auto (with gdb, not with windbg) and local variables.  There is also a view for members, but I cannot find a way to see global variables other than adding a watch for them individually.  Is there a way for SE to show the state of any global variables in the current debug target?

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3221
  • Hero Points: 459
Re: Global variables in the debugger?
« Reply #1 on: February 15, 2021, 02:14:48 pm »
Adding a watch is a way to go.  There are just too many global variables in a typical program to attempt to list them all in any kind of view.