Closed alexezeder closed 3 years ago
This is the list of features those DWARF reader libraries support. backward-cpp doesn't print then. In theory it is possible to though.
On Wed, 2 Jun 2021, 09:52 Alexey Ochapov, @.***> wrote:
I have a question, maybe someone can clarify one point to me, I will start with these lines from backward.hpp:
-
from #define BACKWARD_HAS_DW 1:
https://github.com/bombela/backward-cpp/blob/77946058afe52a1d43f5b6243384fe45e7c2aa64/backward.hpp#L146
from #define BACKWARD_HAS_DWARF 1:
Currently, I don't have any values in stacktraces, only names, so the question is - how can I enable output of values? Is it implemented for the specified implementations, if not then maybe it shouldn't be stated?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bombela/backward-cpp/issues/224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUZDHBFRE6MTVA5XCDT5TTQZOVPANCNFSM457DYS2Q .
Ok, thanks for the quick response.
I can say that it confused me, I thought it's already supported.
But if it's not a problem in your opinion, then this issue can be closed, I guess...
Feel free to submit a PR that adds something like "(not supported bat backward-cpp)" in the code.
I think I recall trying to get the variables. And I am afraid you have to basically implement a C++ expression parser to resolve theirs value. That's what GDB does it I remember correctly.
On Wed, 2 Jun 2021, 10:20 Alexey Ochapov, @.***> wrote:
Ok, thanks for the quick response.
I can say that it confused me, I thought it's already supported.
But if it's not a problem in your opinion, then this issue can be closed, I guess...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bombela/backward-cpp/issues/224#issuecomment-853235853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUZDD5WSCFFRFIKYQTOXDTQZR4LANCNFSM457DYS2Q .
I have a question, maybe someone can clarify one point to me, I will start with these lines from
backward.hpp
:from
#define BACKWARD_HAS_DW 1
: https://github.com/bombela/backward-cpp/blob/77946058afe52a1d43f5b6243384fe45e7c2aa64/backward.hpp#L146from
#define BACKWARD_HAS_DWARF 1
: https://github.com/bombela/backward-cpp/blob/77946058afe52a1d43f5b6243384fe45e7c2aa64/backward.hpp#L169Currently, I don't have any values in stacktraces for executables with debug info, only names. So the question is - how can I enable output of values? Is it implemented for the specified implementations, if not then maybe it shouldn't be stated?