如何调试我的C代码并在代码中找到它抛出异常的位置 [英] How to Debug my C codes and find the place in the Code where it is throwing Exception

查看:92
本文介绍了如何调试我的C代码并在代码中找到它抛出异常的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一些C文件和头文件以及一些库文件,我在发布模式下使用它创建了一个DLL(通过改变一些设置我需要的Visual Studio 2008速成版。



实际上我不知道我正在使用的C文件的完整功能。我编译了代码并创建了一个dll。我有一个来自Vendor的EXE文件,它将引用我创建的dll。



当我运行EXE文件时,它引用异常,同时引用我的dll 。我需要知道我的C代码的哪一部分是此异常的原因,以便我可以对该部分进行更改。



请建议如何解决此问题。



谢谢,

Sn

解决方案

只需在视觉中按F5工作室。

Hi,

I have some C Files and Header Files and some library files using which I have created a DLL in the Release mode(By changing some settings according to my needs) of Visual Studio 2008 Express Edition.

Actually Iam not aware of the complete functionality of the C files that I am using. I compiled the code and it created an dll. I have an EXE file from Vendor which will inturn refernce to the dll which i created.

When I ran the EXE file it was throwing an exception while referencing to my dll. I need to know in which part of my C code is the reason for this Exception so that I can make changes to that part.

Please advice how to resolve this Problem.

Thanks,
Sn

解决方案

Just press F5 in Visual Studio.


这篇关于如何调试我的C代码并在代码中找到它抛出异常的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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