如何直接进入功能而不进入参数的中间功能? [英] How can I step directly into a function without stepping into intermediate functions for parameters?

查看:58
本文介绍了如何直接进入功能而不进入参数的中间功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2013(或实际的任何版本)中,并且我正在调试C ++项目,我希望能够绕过逐步进入由于将参数传递给感兴趣的函数而调用的中间函数.

In Visual Studio 2013 (or any version really) and I am debugging a C++ project, I want to be able to bypass stepping into intermediate functions that are called due to parameters being passed into the function of interest.

我如何绕过这些中间功能(不是直接感兴趣的功能),而直接进入我感兴趣的功能?

How can I bypass stepping into these intermediate functions (not of interest directly) and just go straight to my function of interest?

例如,假设我有一个传递对象列表和另一个参数(字符串)的函数.如果我设置了一个断点并单击单步执行"按钮或F8,则实际上它首先是进入准备对象列表以及字符串对象所需的功能.我不在乎设置的这些中间功能,我只想直接使用我感兴趣的功能.有设置可以执行此操作吗?

For example, let's say I have a function that passes in a list of objects and another parameter that is a string. If I set a breakpoint and click the Step Into button or F8 then it is actually first steps into the functions necessary to get the list of objects ready as well as the string object. I don't care about these intermediate functions for the setup and I just want to go directly to my function of interest. Is there a setting to be able to do this?

推荐答案

右键单击->具体步骤->选择要加入的功能.

Right Click -> Step Into Specific -> pick the function you want to step into.

这篇关于如何直接进入功能而不进入参数的中间功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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