Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21420

Implement "step into" for a specific function

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Debugger

      It'd be nice to have an ability to step into a specific function during debugging.

      Imagine that we have the following code:

       

      foo(bar(), baz(42));
      

      and we want to step into foo. In this case we have to perform "step into"/"step out" a few times, which is not convenient. 

      It's possible to use Microsoft Visual Studio approach: when debugger is on a certain line there are all functions to step into listed in the right-click menu. For the example above "foo", "bar", and "baz" should be listed.

      Technically, this is possible at least for gdb/lldb. See the documentation for the following commands: advance, until, and skip.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            vitaly.fanaskov Vitaly Fanaskov
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes