c# - Program hanging point identification -


there c#-program hangs pretty rare. execution of program takes place on remote machines , start debugger not option. run external profiler more realistic, conjugate huge difficulties. how can determine point of program hang without profiler or debugger?

option "detailed logging on fs" poorly suited. program consists of 20 thousand lines of code , hangs not often.

i have tried process explorer works strange (or have not understood it). if have managed "catch" moment when thread entered infinite loop, possible see stack in moment. thread disappears quite (whether in pe or killed environment).

the option create application, application-monitor, acceptable. if can how create dump of main process or obtain information threads of main process, great. if have ready tools, better.

when application crashes, should logged window's application event log. it's not extremely detailed, should give pretty solid clues anyway without external tools needed.

to there, can either search "event log" in start menu or find in control panel. located in administrative tools section.

once you're in event viewer, open windows logs item on left select application. should able find application in list using source column.

at bottom you'll find error detail, timestamp , couple more infos can debug application.

windows event log picture taken cyberlink.com


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -