C
C#2mo ago
Sneaky Panda

Is it possible to get a stacktrace of another thread?

I want to get the stacktrace for another thread, without having to store said stacktrace periodically from said thread.
2 Replies
reflectronic
reflectronic2mo ago
it is quite difficult you would have to use a library like clrmd to attach to your own process and inspect the stack trace using the debugger API
Sneaky Panda
Sneaky Panda2mo ago
@reflectronic Yeah I saw that solution, unfortunately it's not an option, I need to do it within the scope of the same process