Home > Net >  Keep a thread running even when hitting a breakpoint
Keep a thread running even when hitting a breakpoint

Time:01-01

I wish to develop a debugging service that needs to run constantly in the background, even when I hit a breakpoint -- especially during those moments. Is there any way I could do that, other than having to manually unfreeze the specific thread in the thread window ? I'd like it to be something I don't have to take care of manually. I thought about creating a thread that run inside another appDomain, but I bet that thread will also end up frozen when I hit a breakpoint. I have not tested it though.

CodePudding user response:

I found a solution. I will make a visual studio extension. I did some tests and it's possible to have a thread running in the background all the time within an extension

  • Related