max.vlasov at gmail.com
Mon Dec 6 15:31:15 CET 2010
On Mon, Dec 6, 2010 at 12:17 PM, Dave Coventry <dgcoventry at gmail.com> wrote:
> Me! Me! I can answer this one! :)
> On 6 December 2010 11:03, Kjow <antispammoni at gmail.com> wrote:
> > Hi all,
> > I need to read a variable value with a breakpoint. I use gdb.
> > I stopped my application with a breakpoint and now I need to read a
> > value of a variable, but I don't know how.
> Place the cursor over the variable's name. If the variable is
> accessible at the time (i.e. if it's a global variable or a variable
> that the compiler's optimising hasn't overwritten, the value of the
> variable will show in a box.
> Alternately, you can use the watches. View->Debug Windows->Watches.
> Right click to add your variable(s).
To the excellent reply of Dave I'd added only Run->Evaluate/Modify window
when you placed the caret at the variable, also accessible by Ctrl-F4 with
classic Delphi keyset (possibly the same in others, anyway you can the the
key assigned in the menu item)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus