469,344 Members | 6,511 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

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

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.
May 17 '06 #1
1 855
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
-------------------------------------------------------

"Eric" <so*****@nospam.com> wrote in message
news:eN**************@TK2MSFTNGP04.phx.gbl...
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.

May 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by EnjoyNews | last post: by
46 posts views Thread by Ian Boyd | last post: by
reply views Thread by bruce | last post: by
2 posts views Thread by Dinh Bao Tuyen | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.