c# - How to diagnose InnerException content on deployed (client machine) in unknown thread? -



c# - How to diagnose InnerException content on deployed (client machine) in unknown thread? -

i've got c# application running on microsoft .net (4.x), , on 2 machines application installs , run well.

on other machines (client machines), can't debug : no visual studio, no symbol no debug mode. but, crash. have in windows event log:

例外情報:system.reflection.targetinvocationexception スタック: 場所 system.runtimetypehandle.createinstance(system.runtimetype, boolean, boolean, boolean byref, system.runtimemethodhandleinternal byref, boolean byref) 場所 system.runtimetype.createinstanceslow(boolean, boolean, boolean, system.threading.stackcrawlmark byref) 場所 system.runtimetype.createinstancedefaultctor(boolean, boolean, boolean, system.threading.stackcrawlmark byref) 場所 system.activator.createinstance(system.type, boolean) 場所 system.activator.createinstance(system.type) 場所 devexpress.xtrasplashscreen.threadmanagerbase.createform() 場所 devexpress.xtrasplashscreen.threadmanagerbase.threadentrypoint(system.object) 場所 system.threading.threadhelper.threadstart_context(system.object) 場所 system.threading.executioncontext.runinternal(system.threading.executioncontext, system.threading.contextcallback, system.object, boolean) 場所 system.threading.executioncontext.run(system.threading.executioncontext, system.threading.contextcallback, system.object, boolean) 場所 system.threading.executioncontext.run(system.threading.executioncontext, system.threading.contextcallback, system.object) 場所 system.threading.threadhelper.threadstart(system.object)

normally, have crash interceptor displays phone call stack within software itself, works on main thread.

here problem is, thread looks spawned devexpress (gui framework) , don't command thread, , can't code crash catcher. i want print out "innerexception" content of targetinvocationexception see more details. how ?

as mentioned in comments, debugdiag first-class tool production debugging.

you can set take dump when targetinvocationexception occurs. later, may utilize diagnose stacktrace, or if need more advanced tool, windbg managed sos module.

c# .net

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -