如何在 Visual C++ 2005 中创建带有行号的地图文件? [英] How can I create a map file with line numbers in Visual C++ 2005?

查看:28
本文介绍了如何在 Visual C++ 2005 中创建带有行号的地图文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在 codeproject.com,但它建议的选项(例如/mapinfo:lines)在 VC++ 2005 中不受支持.

I can find information to do what I want in VC++ 6.0 at codeproject.com, but the options it suggests (e.g. /mapinfo:lines) are not supported in VC++ 2005.

推荐答案

不幸的是,答案似乎很简单 - 您不能在 2003 年之后的任何 Visual C++ 版本中使用.

Unfortunately the answer seems to be simple - you can't in any Visual C++ release after 2003.

http://msdn.microsoft.com/en-us/library/bha0yc3d(v=VS.71).aspx 显示对该选项的支持.

http://msdn.microsoft.com/en-us/library/bha0yc3d(v=VS.71).aspx shows support for the option.

http://msdn.microsoft.com/en-us/library/bha0yc3d(v=VS.80).aspx 没有.

我搜索了一下,找到了 http://www.codeproject.com/KB/exception/Locate_exception_position.aspx 描述了如何使用 COD 文件进行等效调试(如果您对汇编程序有些熟悉).

I had a bit of a search though and found http://www.codeproject.com/KB/exception/Locate_exception_position.aspx which describes how you can do equivalent debugging using COD files if you're somewhat familiar with assembler.

这篇关于如何在 Visual C++ 2005 中创建带有行号的地图文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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