VerySleepy / verysleepy

Very Sleepy, a sampling CPU profiler for Windows
http://www.codersnotes.com/sleepy
GNU General Public License v2.0
1.05k stars 103 forks source link

lazarus (free pascal) debug symbols #113

Closed veksha closed 1 year ago

veksha commented 1 year ago

verysleepy can't load symbols for Lazarus app, please help. i choose Dwarf2:

image

CyberShadow commented 1 year ago

Do you know if Dr. MinGW can access the symbols?

veksha commented 1 year ago

how to check it?

Dr. Mingw can read debugging information in DWARF format — generated by the Gnu C/C++ Compiler, and in a PDB file — generated by the Microsoft Visual C++ Compiler. It relies upon the DbgHelp library to resolve symbols in modules compiled by the Microsoft tools.

i guess it doesn't support fpc compiler?

BTW: if I select "Wine" in options. i see that symbols is trying to load, but very very very slow, and it ttakes forever and in the end app freezes.

CyberShadow commented 1 year ago

how to check it?

I don't know. Maybe ask there?

i guess it doesn't support fpc compiler?

I don't know. On one hand, DWARF is used by many languages and debuggers, and is supposed to be inter-compatible. On the other hand, there may be extensions or deviations from the spec that cause incompatibilities.

BTW: if I select "Wine" in options. i see that symbols is trying to load, but very very very slow, and it ttakes forever and in the end app freezes.

That is interesting, but neither the Wine or Dr.MinGW implementations are developed in this repository, so there is probably not much we can do here other than collect information / forward it to the developers of those projects / update our version of these dependencies.

veksha commented 1 year ago

ok. thanks for info. closing for now.