Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-11

Problem using "watch"

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Xiangrong Fang

When I do single step, I want to know the value of a variable, so I hover mouse pointer over it. I got strange thing as shown in attached window, how to view the value of Integer "c", in my case?

Thanks!

Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141116/3cc33b0f/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: watch.png
Type: image/png
Size: 17987 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141116/3cc33b0f/attachment-0001.png>

Reply by email

Martin Frb
to Xiangrong Fang

Did you compile with -O- (no optimization) and no smartlinking?

http://wiki.lazarus.freepascal.org/Debugger_Setup

Looks like gdb gets the wrong debug inf.o

You can also try switching between stabs and dwarf.

Xiangrong Fang wrote 14 lines
When I do single step, I want to know the value of a variable, so I hover mouse pointer over it. I got strange thing as shown in attached window, how to view the value of Integer "c", in my case? Thanks! Xiangrong -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141116/77e4e95b/attachment.html>

Reply by email