1821410 Members
2583 Online
109633 Solutions
New Discussion

GDB 4.16

 
Ryan Young
New Member

GDB 4.16

Hello,
I am using GDB 4.15 & WDB 1.0 to debug code I am testing. The problems is that within a particular function, there are over 99 declared variables. When I run through GDB, I am only allowed to view 99 local variables at a time. If the 99 limit is reach, such as is within the function I am working in, the local variables after the 99 stack limit is viewable.
Is this limit hard-coded, so that I can change this within GDB's source code, or is there a command GDB uses to set this limit higher? Thank you
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: GDB 4.16

This must have been long since fixed. Using "info locals", I see 200.

Any reason you don't just use "print" to print what you want?