Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Debugging

Debugging

Scheduled Pinned Locked Moved Visual Studio
visual-studiocsharpc++question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gregs
    wrote on last edited by
    #1

    Is there a way of setting up the VS.Net IDE so that it does not step into certain functions or namespaces whilst debugging, like you could in VS6? Stepping into the STL is driving me mad! Thanks, G

    G 1 Reply Last reply
    0
    • G gregs

      Is there a way of setting up the VS.Net IDE so that it does not step into certain functions or namespaces whilst debugging, like you could in VS6? Stepping into the STL is driving me mad! Thanks, G

      G Offline
      G Offline
      geo_m
      wrote on last edited by
      #2

      It is moved from the .dat file to registry. I found somewhere this mail: We read the inclusion/exclusion list from the registry at PRODUCT_ROOT\NativeDE\StepOver Each string value in that RegKey should have a decimal number for its name and a value in the following format: RegExp=[No]StepInto Where RegExp is a regular expression per the standard Visual Studio regular expression format, with the following additional escapes: \cid: A C/C++ identifier \funct: A C/C++ function name \scope: A set of class/namespace specifiers for a function (i.e., ATL::CFoo::CBar::) \anything: any string \oper: a C/C++ operator Due to an oversight, the items are evaluated in descending numeric order instead of ascending order: the '20' rule will match before '10'. The first matching rule is used. If no matching rule is found, we step into. (i.e., there is an assumed entry of MAX_INT \anything:=StepInto examples: --------- Don't step into members of CString[AWT], etc.: 1 \scope:CString.*\:\:.*=NoStepInto Don't step into overloaded operators: 10 \scope:operator\oper:=NoStepInto Don't step into ATL:: except for CComBSTR's non-operator members: 20 ATL\:\:CComBSTR::\funct:=StepInto 10 ATL\:\:.*=NoStepInfo Don't step into templated things, unless they're merely templated functions in a non-templated class: 20 \scope:\funct:=StepInto 10 .*[\<\>].*=NoStepInto

      G 1 Reply Last reply
      0
      • G geo_m

        It is moved from the .dat file to registry. I found somewhere this mail: We read the inclusion/exclusion list from the registry at PRODUCT_ROOT\NativeDE\StepOver Each string value in that RegKey should have a decimal number for its name and a value in the following format: RegExp=[No]StepInto Where RegExp is a regular expression per the standard Visual Studio regular expression format, with the following additional escapes: \cid: A C/C++ identifier \funct: A C/C++ function name \scope: A set of class/namespace specifiers for a function (i.e., ATL::CFoo::CBar::) \anything: any string \oper: a C/C++ operator Due to an oversight, the items are evaluated in descending numeric order instead of ascending order: the '20' rule will match before '10'. The first matching rule is used. If no matching rule is found, we step into. (i.e., there is an assumed entry of MAX_INT \anything:=StepInto examples: --------- Don't step into members of CString[AWT], etc.: 1 \scope:CString.*\:\:.*=NoStepInto Don't step into overloaded operators: 10 \scope:operator\oper:=NoStepInto Don't step into ATL:: except for CComBSTR's non-operator members: 20 ATL\:\:CComBSTR::\funct:=StepInto 10 ATL\:\:.*=NoStepInfo Don't step into templated things, unless they're merely templated functions in a non-templated class: 20 \scope:\funct:=StepInto 10 .*[\<\>].*=NoStepInto

        G Offline
        G Offline
        gregs
        wrote on last edited by
        #3

        Thanks :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups