dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Canít step into method (debug) with F11 in Visual Studio

  1. #1
    Join Date
    Oct 2003
    Location
    Sweden
    Posts
    381

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

    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

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Canít step into method (debug) with F11 in Visual Studio

    Maybe the method is decorated with [System.Diagnostics.DebuggerNonUserCode], maybe it is a property and you have selected option "Step over properties and operators" in debug mode context menu. Try put a breakpoint into the method, it should work. You also can put following statement into the method: Debugger.Break().
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  3. #3
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: Canít step into method (debug) with F11 in Visual Studio

    Check your setting in:
    Tools > Options > Debugging
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

  4. #4
    Join Date
    Oct 2003
    Location
    Sweden
    Posts
    381

    Re: Canít step into method (debug) with F11 in Visual Studio

    In some way it now work. I restarted VS about 3 times...
    I didn't have any attribute on the method or its class.
    ...and justice for all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)