Link to home
Start Free TrialLog in
Avatar of kenfhenderson
kenfhendersonFlag for United States of America

asked on

Why does Visual Studio 2005 not always show "step into" or "step out-of" buttons for debugging C#?

Sometimes when I debug a C# program in Visual Studio 2005, the debugger displays a "Step Into" and a "Step Out-of" button; sometimes (on different solution), it displays only the "Step Over" button.
I cannot seem to find an option that controls this.
Can you please tell me how to always display all 3 single-step buttons?
Thanks, Ken
Avatar of Arthur_Wood
Arthur_Wood
Flag of United States of America image

You can only 'step into' code if the Source code for the routine to be 'stepped into' is loaded into the IDE.  If it is not loaded, then the code will already have been compiled into a DLL, and you cannot step into code in a DLL.
 
AW
Avatar of kenfhenderson

ASKER

Even if the DLL was created as part of the same solution?  All the source files are right there.
ASKER CERTIFIED SOLUTION
Avatar of Toms Edison
Toms Edison
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
attached is the snap shot of menu
Thanks for the pointer to that drop-down menu.
When I opened it up and selected Debug, it had no entries for step-into or step-out-of to check or uncheck.
However, I was able to use the customize option to drag the two desired buttons onto the debug toolbar. (see attached screenshot file)
Thanks for the clue.
Cheers, Ken

adding-buttons-to-the-debug-tool.doc
Happy that you figured it out. You are welcome