Sign in Join

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

Mailing lists / lazarus / 2015-04

How to get a longer stacktrace

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Torsten Bonde Christiansen

Hi.

I am currently doing some debugging in Windows, my least used OS - so bear with me for dumb questions... :)

Very simply i would like to have a longer stacktrace than what I am currently getting (see picture below). For some
reason i cannot go deeper than displayed and I would really like to in order to find out where some message originate
from.

I have tried to push the more button several times but that does not help. I have looked at the Debugger settings but
could find anything relevant in this case.

All FPC units, and all of Lazarus are compiled with "-gl -gw -godwarfsets -O-", and stepping into methods of fpc/lazarus is no problem either. It just seems to be when windows messages are handled I cannot have a longer backtrace.

All help is much appreciated.

regards,
Torsten.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150428/9b36156f/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: hcihaigh.png
Type: image/png
Size: 59436 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150428/9b36156f/attachment-0001.png>

Reply by email

Sven Barth
to Torsten Bonde Christiansen
"Torsten Bonde Christiansen" wrote
Hi. I am currently doing some debugging in Windows, my least used OS - so

bear with me for dumb questions... :)

Very simply i would like to have a longer stacktrace than what I am

currently getting (see picture below). For some

reason i cannot go deeper than displayed and I would really like to in

order to find out where some message originate

from. I have tried to push the more button several times but that does not

help. I have looked at the Debugger settings but

could find anything relevant in this case. All FPC units, and all of Lazarus are compiled with "-gl -gw -godwarfsets

-O-", and stepping into methods of fpc/lazarus

is no problem either. It just seems to be when windows messages are

handled I cannot have a longer backtrace.

All help is much appreciated.

That function probably came from the kernel mode part of the Windows GUI, so there's nothing that can be done, because you can't have stacktraces cross that boundary (Kernel mode uses a different stack).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150428/06d246e2/attachment.html>

Reply by email