how to track if a given process throws exception, using windows service in C# -


Sometimes an exception is triggered after my process is started, such as dllnotfound I have a monitor service that creates a constant state of the process Is responsible for keeping.

How can I keep track of the status of my process by using the window service

There is an open source implementation of windows that maintain the status of the process in windows / Tracks.

It is not possible, exceptions are locally local for a thread, if it is unrestricted The process is local for secondary. An unrestricted exception will end the process. There is a process exhaust code that can lift you with such a dead process. Which should be set to 0xe0434f4e, exception not available for exception exceptions, no other relevant information is available, unless there is an uncontrolled exception handler in the process that logs the state. This state is very unbelievable, this process is facing a major heart attack.

Extraordinary difficulties to put together many procedures at one time and die with exceptions when walking properly. Only death can be traced reliably, avoid doing more.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -