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. C#
  4. Can’t step into method (debug) with F11 in Visual Studio

Can’t step into method (debug) with F11 in Visual Studio

Scheduled Pinned Locked Moved C#
csharpvisual-studiodebuggingquestion
6 Posts 5 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.
  • A Offline
    A Offline
    anderslundsgard
    wrote on last edited by
    #1

    I have a project that have a class that I can’t step into a method call with F11 during debugging. Any tip what could be wrong?

    _____________________________ ...and justice for all

    V R R 3 Replies Last reply
    0
    • A anderslundsgard

      I have a project that have a class that I can’t step into a method call with F11 during debugging. Any tip what could be wrong?

      _____________________________ ...and justice for all

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      Did you Put a Breakpoint ?

      Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za

      1 Reply Last reply
      0
      • A anderslundsgard

        I have a project that have a class that I can’t step into a method call with F11 during debugging. Any tip what could be wrong?

        _____________________________ ...and justice for all

        R Offline
        R Offline
        Rob Philpott
        wrote on last edited by
        #3

        Hmm, have you got the pdb available/debug build etc? Also, its a long shot but there's a custom attribute (can't remember what it is) which instructs the debugger to step over methods and such. There's also an option on the debug context menu which tells the debugger to 'step over properties and operations'. Check you don't have that set.

        Regards, Rob Philpott.

        M 1 Reply Last reply
        0
        • R Rob Philpott

          Hmm, have you got the pdb available/debug build etc? Also, its a long shot but there's a custom attribute (can't remember what it is) which instructs the debugger to step over methods and such. There's also an option on the debug context menu which tells the debugger to 'step over properties and operations'. Check you don't have that set.

          Regards, Rob Philpott.

          M Offline
          M Offline
          Mirko1980
          wrote on last edited by
          #4

          It's DebuggerStepThrough[^]. Generally it's added by tool generated code (such as the one coming from svcutil).

          1 Reply Last reply
          0
          • A anderslundsgard

            I have a project that have a class that I can’t step into a method call with F11 during debugging. Any tip what could be wrong?

            _____________________________ ...and justice for all

            R Offline
            R Offline
            realJSOP
            wrote on last edited by
            #5

            Is it just that class that doesn't work, or is it during any debug session with any project? Are you sure F11 is mapped to that command?

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            A 1 Reply Last reply
            0
            • R realJSOP

              Is it just that class that doesn't work, or is it during any debug session with any project? Are you sure F11 is mapped to that command?

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              A Offline
              A Offline
              anderslundsgard
              wrote on last edited by
              #6

              Yes just one class and one method. No attributes are on the method or it's class.

              _____________________________ ...and justice for all

              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