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. How to do not step into system and library source files during debug

How to do not step into system and library source files during debug

Scheduled Pinned Locked Moved Visual Studio
debuggingcsharpc++visual-studioalgorithms
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.
  • J Offline
    J Offline
    juliandiego
    wrote on last edited by
    #1

    Hello people, I've been searching this forum, Google and Visual Studio's help but didn't find anything related. I'm developing in Visual Studio C++ and during debug process when stepping into one function which uses a "wstring" type variable, the VC++ debugger always steps into "xstring" system source file before. This is annoying since I don't need to debug this file. I could find an option in "Debug Source Files" property of the Solution called "Do not look for these source files" and added the string "$(VCInstallDir)crt\src\xstring" but it didn't work at all. Does anyone have a clue? Thanks Julián

    S 1 Reply Last reply
    0
    • J juliandiego

      Hello people, I've been searching this forum, Google and Visual Studio's help but didn't find anything related. I'm developing in Visual Studio C++ and during debug process when stepping into one function which uses a "wstring" type variable, the VC++ debugger always steps into "xstring" system source file before. This is annoying since I don't need to debug this file. I could find an option in "Debug Source Files" property of the Solution called "Do not look for these source files" and added the string "$(VCInstallDir)crt\src\xstring" but it didn't work at all. Does anyone have a clue? Thanks Julián

      S Offline
      S Offline
      sps itsec46
      wrote on last edited by
      #2

      Hi, which version of Visual Studio do you use? MS introduced a feature called "Just My Code" with VS2005 which does exactly what you want. If it is set just your code is debugged and system code is ignored. the catch is that the setting just works for managed code... :( afaik there is no such setting for unmanaged code. How to: Step Into Just My Code[^]

      cheers! mykel OMM: "Let us be thankful we have an occupation to fill. Work hard, increase production, prevent accidents and be happy."

      J 1 Reply Last reply
      0
      • S sps itsec46

        Hi, which version of Visual Studio do you use? MS introduced a feature called "Just My Code" with VS2005 which does exactly what you want. If it is set just your code is debugged and system code is ignored. the catch is that the setting just works for managed code... :( afaik there is no such setting for unmanaged code. How to: Step Into Just My Code[^]

        cheers! mykel OMM: "Let us be thankful we have an occupation to fill. Work hard, increase production, prevent accidents and be happy."

        J Offline
        J Offline
        juliandiego
        wrote on last edited by
        #3

        Ohh, sorry. I forgot to mention the Visual Studio version I am using: VS2008. I've already tried to use the "Just My Code" feature, but as you've said, it just works for managed code and I'm programming in pure C++ unmanaged. Thanks anyways! Julian

        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