开发者

How to stop visual c++ stepping into certain files

开发者 https://www.devze.com 2022-12-12 16:52 出处:网络
Is there some wa开发者_运维知识库y to filter what files Visual Studio 2005 (C++) steps into? For example, when stepping into

Is there some wa开发者_运维知识库y to filter what files Visual Studio 2005 (C++) steps into?

For example, when stepping into

SomeFn( a.c_str(), b.c_str(), etc );

I hate how it steps into the standard template library files for c_str() - instead I just want to go into SomeFn().

If there was some way to filter out any source files didn't live in the same path as the solution file that would make my life easier.

Does anyone know a way? Thanks


This article describes how to solve it for VC6, VC7 and VC8.


I don't know if it's in VS2005 or not (I no longer have 2005 it installed on my machine), but VS2008 has a context menu item in the debugger when you right click: "Step Into Specific"

That option will let you choose which function to step into.


The approach in VS9 is very similar to the VS8-approach described by Kirill. More details at ffuts.org

0

精彩评论

暂无评论...
验证码 换一张
取 消