This is a migrated thread and some comments may be shown as answers.

Breakpoint in embedded script source

2 Answers 102 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Bob van der Zinch
Top achievements
Rank 2
Bob van der Zinch asked on 12 Oct 2010, 10:49 PM
Hello Telerik Team!

None of support ticket links are currently working giving HTTP 404, so let me ask here.

Before I moved to RadScriptManager, I got a number of embedded scripts loaded by the browser (I use IE 8). I have a number of assemblies that contain ScriptControls and Ajax extenders with embedded javascripts behind. i used to have these scripts listed under "Script Documents" tree node of Solution Explorer while debugging in Visual Studio, like WebResource.axd?....

So I was able to open any of these loaded scripts, set breakpoints, debug the code etc. Now these scripts I guess collected by RadScriptManager and not listed in Solution Explorer. I can use 'debugger' statement, but script source modification leads to recompiling the assembly, all dependent assemblies and the whole website, which is pretty much time consuming. In the other hand the resulting javascript is too large and VS is taking forever to load, intellisense and then debug it. Sometimes it just crashes and it's really painful to debug any scripts.

So the question... Is it possible somehow to turn off this feature of RadScriptManager to combine scripts all together? At least in debug mode it will be very helpful.

Till certain point I could switch back to ASP.NET ScriptManager, but now it's not possible, because I'm using cross-windows event handlers, which forces ScriptManager to throw.

Cheerz,
  Bob

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Oct 2010, 12:09 PM
Hi Bob van der Zinch,

We've already answered to the support ticket regarding this question. Here is the reply:

Have you tried setting EnableScriptCombine="false" for RadScriptManager?

Best regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bob van der Zinch
Top achievements
Rank 2
answered on 18 Oct 2010, 12:18 PM
Hi Yana, and thanks, I have already read and closed the ticket as the solution worked for me...

Cheerz,
  Bob
Tags
ScriptManager and StyleSheetManager
Asked by
Bob van der Zinch
Top achievements
Rank 2
Answers by
Yana
Telerik team
Bob van der Zinch
Top achievements
Rank 2
Share this question
or