简体   繁体   中英

Thrown exception is not visible on CATCH statement

I have problem with debuging code. I try to resolve one bug, but when I set breakpoint in catch statement and add watch to see details I get message from Visual Studio like below. Why? Can anyone explain me why is happens?

在此处输入图片说明

尝试在编译器设置中将“生成调试信息”设置为“完整”

如果您在循环或try或if块中声明变量,然后尝试从封闭的代码块或单独的代码块访问它,则经常发生此错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM