此消息是什么意思? [英] What does this message mean?

查看:67
本文介绍了此消息是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代码中断之前看到此消息,并且在C:\ Windows \ System32目录中有user32.dll.

当前位置没有可用的源代码:

调用堆栈位置:
user32.dll!_fnDWORD@4()+ 0x2f字节


如果这完全有帮助,似乎会发生以下一系列事件:

休息前的最后一行:

I see this message just before my code breaks and I have the user32.dll in my C:\Windows\System32 directory.

There is no source code available for the current location:

call stack location:
user32.dll!_fnDWORD@4()+0x2f bytes


It seems to happen with this sequence of events, if this helps at all:

final line before break:

pDocNew->SetPathName(OldPath + " *");


当尝试逐步执行时,会遇到运行时中断,当我继续执行时,转到代码的这一部分(这是在尝试按照解决方案中的建议使用给定值创建变量之后.


When trying to step over it has a runtime break and when I continue it goes to this section of code (this is after attempting to create the variable with the given value as suggested in the solution.

CATCH_ALL(e)
	{
		lResult = AfxProcessWndProcException(e, &pThreadState->m_lastSentMsg);
		TRACE(traceAppMsg, 0, "Warning: Uncaught exception in WindowProc (returning %ld).\n",
			lResult);
		DELETE_EXCEPTION(e);


我知道这听起来像一个明显的错误(没有源代码),但是我不确定如何解决它.

任何帮助都将是很棒的……并受到赞赏.


I know it sounds like an obvious error (there is no source code), but I am not sure how to fix it.

Any help would be fantastic...and much appreciated.

推荐答案

您可以将编译器指向Microsoft符号服务器,以获取有关崩溃的更多信息. > 为此,创建一个名为_NT_SYMBOL_PATH的环境变量并将其值设置为symsrv*symsrv.dll*c:\localsymbols*http://msdl.microsoft.com/download/symbols,在其中您可以用硬盘上的任何路径替换c:\localsymbols. 执行完此操作并重新启动Visual Studio之后,崩溃应该为您提供有关问题的确切原因的更多信息.
You can point the compiler to the Microsoft symbol server to get more information on the crash.
For this create an environment variable called _NT_SYMBOL_PATH and set its value to symsrv*symsrv.dll*c:\localsymbols*http://msdl.microsoft.com/download/symbols where you can replace c:\localsymbols with any path on your hard disk.
After you do this and restart Visual Studio, the crash should give you more information on what exactly the problem is.


这不是错误消息.这是调试器,它告诉您应用程序在系统例程中的某个地方停止了,其中源代码不可用.

IDE必须已向您提供了一些其他消息,以进一步说明原因(可能是访问冲突).

尝试使用_Superman_解决方案.
This is not an error message. This is the debugger telling you that the application stopped somewhere in system routines, where the source code is not available.

The IDE must have given you some other message telling more about the cause (could be Access Violation).

Try the solution by _Superman_.


通常,当您收到该错误时,原因是该错误发生在引用了某种已编译资源的项目的一部分内.解决问题的方法是,查看是否会导致调试器崩溃,并在调用堆栈中进行跟踪,以查看是否将无效值传递给某个方法调用,该方法调用可以由您所使用的任何基础结构来处理正在使用(例如MFC)或dll/lib库.

如果您无法在调试器中复制错误,那么您将不得不求助于创建跟踪文件或某些类似类型的日志记录.
Usually when you get that error its because the error occurred within a portion of your project that references some sort of compiled resource. What you have to do to troubleshoot is see if you can cause the crash within your debugger and trace your way up the call stack to see if you''re passing an invalid value to some method call that is either processed by whatever infrastructure you''re using (such as MFC) or a dll/lib library.

If you''re unable to replicate the error in the debugger, then you''ll have to make resort to creating a trace file or some similar type of logging.


这篇关于此消息是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆