tags:

views:

71

answers:

4

I was debugging my project, at some point I also need to debug dll file. What I did, I locate source code file and open it and all thing went well.

But now, when I reach at the same point dll file automatically open. How could I avoid this situation? it annoy me.

+2  A: 

The easiest way around it is to press F10 when you want to step over a method call.

ChaosPandion
i know F10. how can i avoid it.
Syed Tayyab Ali
I am using dll. But to debug that dll i opened the source file. but now every time it automatically open.
Syed Tayyab Ali
If the file opens, then there must be some function of that DLL you are stepping in. Yes, you should use F10. Otherwise, I think ppl don't understand what you mean by "how can i avoid `it`"!!
Nayan
+1  A: 

You can also use DebuggerStepThroughAttribute

JCasso
A: 

From the menu, try Tools -> Options and then open the Symbols page under the Debugging folder.

There might be some symbol file added there you can remove.

TOS
A: 

Under Tools->Options->Debugging, you should be able to select "Enable Just My Code", which should do what you want

Yuliy
I did it, but still have problem.
Syed Tayyab Ali