Is it possible to programmatically debug one native .NET process

.NET provides an API for debugging programs: http://msdn.microsoft.com/en-us/library/bb397953.aspx Can I debug a thread in the same process? In other words, is it possible to have a debugger and debugee in different threads in the same process?

+3
source share
2 answers

I am pretty sure that when debugging a process, it debugs all threads. That way, when you stop executing a single thread, your debugger will stop.

The reason for this seems clear, because the threads must interact with each other, and if you do not split all the threads, then your debugging becomes very difficult.

+2

, . , userdump.exe, , , API SOS

+1

Source: https://habr.com/ru/post/1715036/


All Articles