Hi,
I am trying to write a plugin that will dump the complete linked state (think, everything you could every eventually see from the local pane in visual studio if you kept clicking enough) from a call stack. Specifically, I want to load up a call stack dump and:
for each thread:
for each frame in callstack:
for each variable in locals (including 'this')
for each property/member of variable:
if property/member is primitive - print value
if property/member is struct or class - recur
I have never done anything link this before, but it doesn't seem that hard, at least in theory. I found this example:
https://msdn.microsoft.com/en-us/library/bb146311.aspx
... but I don't know how to plug it into the larger debugger architecture. Are there any samples out there like recursive_call_stack_dumper.sln? :)
Thank you!
Denny