1

My webpage contains : I did a break points on the Tools.JS , but while debugging I didn't found my JS in Script Documents (Run Time mode) , and i remarked the exclamation message on my BP saying that this break point willn't be take in mind cause the JS document isn't charged.

My question is : Is there another way to load a JS to be available in the debugging mode? and how could i debug my JS in this case ?

Thanks in advance Abdelrahman,

3 Answers 3

1

have you tried firebug ? debugging js with firebug is easier than with visual studio

Sign up to request clarification or add additional context in comments.

1 Comment

I have an explorer limitation , I must use the IE Explorer,, and I just want to debug it in Visual studio
0

just writ keyword

debugger;

in your function for example

function avc()
{
 debugger;
 ..
 ..
}

for more detail : http://www.codestore.net/store.nsf/unid/DOMT-5UBUVW

2 Comments

But i want to know why My ScriptManager load the all my JS but didn't load the Tool.Js :
here you are my exemple: <asp:ScriptManager ID="ScriptManager" runat="server" EnablePageMethods="true" EnableScriptGlobalization="true"> <Services> </Services> <Scripts> <asp:ScriptReference Path="~/Scripts/Tools.js" /> <asp:ScriptReference Path="~/Scripts/UserActions.js" /> <asp:ScriptReference Path="~/Scripts/SnapManagement.js" /> </Scripts> </asp:ScriptManager>
0

I'd use Firebug. It's an addon to Fireforx

firebug

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.