惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
J
Java Code Geeks
S
SegmentFault 最新的问题
L
LangChain Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
H
Help Net Security
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
N
Netflix TechBlog - Medium
A
About on SuperTechFans
博客园 - 叶小钗
美团技术团队
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net

博客园 - 能巴

[SQL Server]Index/deadlock 业务学习 [LoadRunner]负载测试工具 一般函数指针和类的成员函数指针 [P4 password]Avoiding the Perforce Prompt for Password in Windows [收藏转载]2011 APP年终总结——日均160元的收入经历 [收藏转载]我所积累的20条编程经验 [收藏转载]明星软件工程师的十种特质 Importance of Side Projects [转载]最好的HTML 5编码教程和参考手册分享 . [Mobility]移动开发概览 How Browser Works [c++ 11x rvalue reference] [转载]The Biggest Changes in C++11 (and Why You Should Care) Summary of Exception Exception Cost STL算法find_if和find QT信号和槽 Review: Function Pointer
How to set NoStepInto for VS debugging
能巴 · 2011-07-01 · via 博客园 - 能巴

In debugging, it's always annoying to step into CString like classes as in most cases we don't need to get into there. There does exist solution to NoStepInto functions/classes you don't intend to step into:

1. Ahead of VS2010
1) Look into this article to add something into Registry: How to avoid StepInto unnecessary code area?

2) make use of autoexp.dat to add a section called "[executioncontrol]". Look into this article for details (I haven't verified this):Tune the debugger using AutoExp.dat

2. For VS2010

Two things have changed with the NoStepInto feature of the native C++ debugger in VS2010 compared to VS2008 (for a general intro see here):

  • You don't have to put your rules in HKLM anymore: you might as well put them in HKCU (more precise in HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config\NativeDE\StepOver), which is of course much better
  • If you put =NoStepInto things will no longer work: just leave it off.

Some examples (as entered in RegEdit)

  • Name:10, Value: boost\:\:shared_ptr.*
  • Name:20, Value: std\:\:.*

Note: for managed code, VS provides "Just my code" option.