Windows Develop Bookmark and Share   
 index > Windows Forms General > DebuggerStepThrough related question.
 

DebuggerStepThrough related question.

Hi all,

I use the <DebuggerStepThrough()> attributed to stop the debugger from stepping through certain procedures in my widows forms application. But I have several projects in my solution and some of them are debugged already.

How can I still keep a project in my solution butprevent the debugger from stepping throughone or moreentire projects?

In other words: step through project A, but skip project B.

Thanks in advance,

Andy Moyer

Andeezle  Friday, May 19, 2006 12:03 AM

You could use a reference tothe compiled release version of the class library instead of the project. Since the debugger does not know the sourcecode of those libraries it will not step into them.

Andreas Johansson  Friday, May 19, 2006 12:33 PM

I was hoping to avoid doing that. I may still need to debug if something comes up in those libraries. I was hoping there's an assembly attribute or something like that. Thanks anyway for your input.

-Andy

Andeezle  Saturday, May 20, 2006 7:22 PM
You could just have two different solutions, one for debugging and another with links to the release builds. This will allow you to debug at will, just switch project.
Andreas Johansson  Saturday, May 20, 2006 7:26 PM

hi,

Is your problem solved?

Thank you,
Bhanu.

Bhanu Prakash Nunna - MSFT  Tuesday, May 23, 2006 10:23 PM

You can use google to search for other answers

Custom Search

More Threads

• Problem with Debug Output
• How to find a Text in Excel Document using C#.Net 2005
• ScrollBar in UserControl on TabControl
• Accessing localized resource files for My Form
• Print the content of a ListBox
• How can i add timer control at runtime in 2005?
• Populating DropDownList in C#
• controlling the focus
• Menu links to utility programs howto?
• Best way to do HTML reporting?