Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display variable contents when exploring call stack #244

Open
tehKaiN opened this issue Dec 7, 2023 · 1 comment
Open

Display variable contents when exploring call stack #244

tehKaiN opened this issue Dec 7, 2023 · 1 comment

Comments

@tehKaiN
Copy link
Contributor

tehKaiN commented Dec 7, 2023

Currently, only variables on the top of the callstack are visible. When navigating nested calls, their values are not displayed.

This would be especially helpful for some asserts triggering within nested function calls.

@tehKaiN
Copy link
Contributor Author

tehKaiN commented Jan 31, 2024

I think it might be related to -fomit-frame-pointer option, because according to docs it affects stack frames etc. Skipping it however makes my codebase unstable, especially static inline fns found in header files. Removing those keywords doesn't help, so I guess having .h is more of a culprit. I'll try investigating it a bit more, but here's what I get atm:

[build] during RTL pass: dwarf2
[build] In file included from C:\prg\_git\aminer\deps\ACE\include/ace/utils/custom.h:12,
[build]                  from C:\prg\_git\aminer\deps\ACE\include/ace/managers/timer.h:20,
[build]                  from C:\prg\_git\aminer\deps\ACE\include/ace/managers/log.h:15,
[build]                  from C:\prg\_git\aminer\deps\ACE\include/ace/managers/blit.h:31,
[build]                  from C:\prg\_git\aminer\deps\ACE\src\ace\managers\blit.c:5:
[build] C:\prg\_git\aminer\deps\ACE\include/ace/macros.h: In function 'ror16':
[build] C:\prg\_git\aminer\deps\ACE\include/ace/macros.h:42:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.cc:1339
[build]    42 | }
[build]       | ^
[build] libbacktrace could not find executable to open
[build] Please submit a full bug report, with preprocessed source (by using -freport-bug).
[build] See <https://gcc.gnu.org/bugs/> for instructions.

that only occurs in debug builds and not release/rel-with-debug. Funny thing is, the rel-with-debug freezes uae whenever the breakpoint is meant to be triggered, but the editor doesn't show anything and pause button doesn't help with it either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant