Is it possible to debug a script in VS 2005 that's in an include file?

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Instead of inlining a script in the .aspx page I add it using the
ClientScript.RegisterClientScriptInclude() function. However, I seem to
have lost the ability to debug the script at runtime since I moved the
script into the .js file instead of inlining it in the .aspx page. Is there
a way around this limitation?

Thanks.
 
just put a stop statement inside the script and set explorer to debug
scripting. That will allow you to attach.

--

________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top