I'm using the TabContainer AJAX control, and when I'm in debug mode, it takes forever to debug programs becuause the debugger goes through these ajax files (ScriptObjectBuilder.cs, TabPanel.cs, TabContainer.cs, ScriptControlBase.cs). Is there a way to have
the debugger skip all pages except for the ones I'm actually writing myself?
You can, probably the best way to achieve the result you are looking for is to Re-Compile the toolkit in release mode, and make sure you set the "Generate Debug Info" to None under the advance compile options for the project. Once you have a newly compiled
DLL, add the reference to your project.
You may also want to change the Debbugging settings under Tools/Options...
under general, make sure "Enable Just My Code (Manage Only)" is checked.
Agustin M Rodriguez, MCSD
Help me reach the next level, mark my post as the answer if it helped you reach a solution
You can, probably the best way to achieve the result you are looking for is to Re-Compile the toolkit in release mode, and make sure you set the "Generate Debug Info" to None under the advance compile options for the project. Once you have a newly compiled
DLL, add the reference to your project.
You may also want to change the Debbugging settings under Tools/Options...
under general, make sure "Enable Just My Code (Manage Only)" is checked.
Thanks - just downloaded the latest build for .net 3.5, recompiled it, deleted my old reference to the toolkit, added this one and debugged my program. It works much better now. The debugger only goes through code I wrote now. This is much faster.
rkeslar
Member
478 Points
758 Posts
Debugging a .NET application that contains AJAX
Oct 02, 2008 08:34 PM|LINK
I'm using the TabContainer AJAX control, and when I'm in debug mode, it takes forever to debug programs becuause the debugger goes through these ajax files (ScriptObjectBuilder.cs, TabPanel.cs, TabContainer.cs, ScriptControlBase.cs). Is there a way to have the debugger skip all pages except for the ones I'm actually writing myself?
Thanks
AMR_PHASE
Participant
898 Points
167 Posts
Re: Debugging a .NET application that contains AJAX
Oct 02, 2008 09:01 PM|LINK
You can, probably the best way to achieve the result you are looking for is to Re-Compile the toolkit in release mode, and make sure you set the "Generate Debug Info" to None under the advance compile options for the project. Once you have a newly compiled DLL, add the reference to your project.
You may also want to change the Debbugging settings under Tools/Options... under general, make sure "Enable Just My Code (Manage Only)" is checked.
Help me reach the next level, mark my post as the answer if it helped you reach a solution
rkeslar
Member
478 Points
758 Posts
Re: Debugging a .NET application that contains AJAX
Oct 03, 2008 01:43 PM|LINK
Thanks - just downloaded the latest build for .net 3.5, recompiled it, deleted my old reference to the toolkit, added this one and debugged my program. It works much better now. The debugger only goes through code I wrote now. This is much faster.
jaxson
Member
2 Points
7 Posts
Re: Debugging a .NET application that contains AJAX
May 08, 2009 04:00 PM|LINK
Agustin Rodriguez rules.