Fossie
Fossie

Reputation: 45

Is there a way to enter debugger when running executable?

We have a rather large program that consumes messages from a remote server. The program is now fairly stable, but every month or so of continuous run time it runs into trouble. Examples is entering an eternal loop, problem with files being locked and such. We've spent a great deal of time trying to figure out what causes the problems, but can't figure it out. Is there any way we can jump into debug mode when the executable is running? We would prefer not having to keep the program running in debug mode in VS as this impacts performance and eats tons of memory after a while.

Upvotes: 0

Views: 43

Answers (1)

Ricardo Peres
Ricardo Peres

Reputation: 14535

Yes, you can use Debugger.Launch()

Upvotes: 1

Related Questions