< addr>的第一例异常在< myapp>:0x000006BA:RPC服务器不可用 [英] First-chance exception at <addr> in <myapp>: 0x000006BA: The RPC server is unavailable

查看:306
本文介绍了< addr>的第一例异常在< myapp>:0x000006BA:RPC服务器不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是什么意思:
第一次机会异常在:0x000006BA:RPC服务器不可用



此调试当我使用套接字连接时,消息出现在可视化工作室调试器的Debug输出中,但我不知道什么操作启动此消息...

解决方案

在任何人抓住异常之前抛出异常时,会发生第一次异常。通常,这些是良性的,可以忽略(因为有人会抓住它)。



当抛出异常时,您可以让调试器中断,无论是否没有人以后捕获它。



在Visual Studio中,通过选择调试/异常并在Thrown列中检查您感兴趣的例外情况然后,当抛出异常时,调试器将在相关的位置断开。



请注意,您可能会在无处不在的中间(即拆卸) ,因此请确保您的调试符号配置正确。



另请注意,默认情况下,某些异常不在列表中,因此您必须点击该对话框中的添加...按钮。


What does it mean: "First-chance exception at in : 0x000006BA: The RPC server is unavailable" ?

this debug message appears in Debug output of visual studio debugger when I using socket connection, but I don't know what operation initiates this message...

解决方案

"First-chance exception" occurs when the exception is thrown, before anyone catches it. Usually, these are benign, and can be ignored (because someone is going to catch it).

You can get the debugger to break when the exception is thrown, whether or not someone later catches it.

In Visual Studio, this is done by choosing Debug / Exceptions and putting a check in the "Thrown" column for the exceptions you're interested in. Then, when the exception is thrown, the debugger will break at the relevant place.

Note that you might end up in the middle of nowhere (i.e. in disassembly), so make sure that you've got your debugging symbols configured correctly.

Also note that some exceptions aren't in the list by default, so you'll have to click the "Add..." button in that dialog.

这篇关于< addr>的第一例异常在< myapp>:0x000006BA:RPC服务器不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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