|
-
February 20th, 2009, 06:07 AM
#1
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
-
February 20th, 2009, 06:47 AM
#2
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. 
-
February 22nd, 2009, 07:41 AM
#3
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]
-
February 23rd, 2009, 02:22 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|