如何打破第一次机会异常Microsoft C ++异常:Js :: JavascriptExceptionObject在内存位置0x03CEE0E4 [英] How to break on First-chance exception Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x03CEE0E4

查看:652
本文介绍了如何打破第一次机会异常Microsoft C ++异常:Js :: JavascriptExceptionObject在内存位置0x03CEE0E4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WWAHost.exe的0x74AB56C4看到了一些 


第一次机会异常:Microsoft C ++异常:内存位置为0x03CEE0E4的Js :: JavascriptExceptionObject。

$调试本机代码时,调试输出中的b $ b


。有没有办法在抛出此异常时立即进入调试器?

解决方案

Hi Phil,


是的,将您的调试类型更改为C ++,您可以启用第一次机会例外。


右键单击您的项目并选择属性。


在配置Properties,Debugging部分中将Debugger Type设置为'Native Only'。


然后从Debug菜单中选择Exceptions,你可以添加例外或中断所有异常投掷时。



-Jeff




I see some 

First-chance exception at 0x74AB56C4 in WWAHost.exe: Microsoft C++ exception: Js::JavascriptExceptionObject at memory location 0x03CEE0E4.

in the debug output when debugging native code. Is there a way to break into the debugger right at the moment this exception is thrown?

解决方案

Hi Phil,

Yes, change your debugging type to C++ and you can enable 1st chance exceptions.

Right click on your project and choose properties.

In the configuration Properties, Debugging section set the Debugger Type to 'Native Only'.

Then from the Debug menu choose Exceptions, you can add your exception or break on all exceptions when thrown.

-Jeff


这篇关于如何打破第一次机会异常Microsoft C ++异常:Js :: JavascriptExceptionObject在内存位置0x03CEE0E4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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