0:025> !pe
Failed to load data access DLL, 0x80004005
Verify that 1) you have a recent build of the debugger (6.2.14 or newer)
2) the file mscordacwks.dll that matches your version of mscorwks.dll is
in the version directory
3) or, if you are debugging a dump file, verify that the file
mscordacwks_<arch>_<arch>_<version>.dll is on your symbol path.
4) you are debugging on the same architecture as the dump file.
For example, an IA64 dump file must be debugged on an …Run Code Online (Sandbox Code Playgroud) 在生产服务器上,当ASP .NET应用程序崩溃时,我可以从系统事件查看器中看到此事件:
EventType clr20r3,P1 w3wp.exe,P2 6.0.3790.3959,P3 45d691cc,
P4 app_web_default.aspx.cdcab7d2,P5 0.0.0.0,P6 4b2e4bf0,P7 4,P8 4,P9
system.dividebyzeroexception,P10 NIL.*
它属于".NET Runtime 2.0错误报告"类别.
但我找不到属于"ASP.NET 2.0.50727.0"类别的事件,它可以给我这个例外这样的详细视图:
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/505951206/Root
Process ID: 1112
Exception: System.DivideByZeroException
Message: Attempted to divide by zero.
StackTrace:
at _Default.Foo(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp …Run Code Online (Sandbox Code Playgroud) 我记得读过一本关于标准C编程语言的书.它在某种情况下说C你可以写i = + 1,等于i + = 1.所以i(运算符)=(表达式)等于i =(运算符)(表达式).我从来没有见过这种C,是否有人可以解释这个?
最好的问候和谢谢,范
由于这个链接提示,我想更换Notepad.exe与Notepad2.exe使用" 图像文件执行选项 "通过运行该命令功能
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe"
/v "Debugger" /t REG_SZ /d "\"c:\windows\Notepad2.exe\" /z" /f
Run Code Online (Sandbox Code Playgroud)
但是当我运行记事本时,它仍会打开文件
C:\ WINDOWS\NOTEPAD.EXE
默认情况下,在notepad2.exe中作为文本文件.
有没有办法避免这种情况?
我知道使用这个技术Notepad.exe将作为传递给Notepad2.exe的第一个参数.但我不知道如何避免这种情况:(
加载转储文件[C:\ Crash_Mode__Date_12-05-2009__Time_15-54-2727\PID-4056__CCNET.EXE__1st_chance_Process_Shut_Down__full_13d0_2009-12-06_00-33-14-734_0fd8.dmp]具有完整内存的用户迷你转储文件:仅提供应用程序数据
注释:'1st_chance_Process_Shut_Down_exception_in_CCNET.EXE_running_on_TEST218'符号搜索路径为:srv E:\ symbols http://msdl.microsoft.com/download/symbols 可执行搜索路径为:
Windows Server 2003版本3790(Service Pack 2)MP(2 procs)免费x64产品:服务器,套件:企业TerminalServer SingleUserTS机器名称:
调试会话时间:Sun Dec 6 00:33:14.000 2009(GMT + 8)
系统正常运行时间:32天12:43:52.414
处理正常运行时间:0天8:44:37.000
..........................警告:mscorjit与mscoree重叠
..............................警告:wldap32与dnsapi重叠
..........警告:rasapi32与dnsapi重叠
...警告:tapi32与rasapi32重叠
.警告:rtutils与rasman重叠
..............警告:setupapi与winsta重叠
.... wow64cpu!CpupSyscallStub + 0x9:
00000000`78b842d9 c3 ret
为什么会这样?