views:

32

answers:

2

Hi,

I have been reading a lot of messages here at stack overflow and googling for some time without any luck. My problem is simple, I want to debug my application from visual studio using firefox or chrome, not IE, but I allways get same error at breakpoint when execute "Breakpoint will not currently be hit. No symbols have been loaded for this document". I have unchecked the disable script debugging in options, have added "debugger;" to the start of my javascript, but allways same error, Could anybody please help?

Thanks in advance, Mathew.

+3  A: 

If you only want to debug Javascript, why not use Firebug in Firefox, and Developer tools in Chrome? These are the best JS debugging tools I ever knew.

Alexander
+1 for FireBug.
Darin Dimitrov
A: 

Hi!,

Perhaps I can sound a bit silly, but, I'm really used to debug in the ide, not going to an external debugger to do it, so, I think the other option is better.

By the way, I can be missing something obvious but I see firebug debugging a bit tedious using it in the browser.

Thanks in advance, Mathew.

Mathew man
You should reply in the comments and not creating a new answer. Firebug is, essentially, native to the browser and not the IDE so far more likely to catch problems than some 3rd party software.
Rob
Yes, @Rob. Although Firebug is also 3rd party, but at least Chrome's and Safari's Developer tools ARE in fact native JS debuggers. @Mathew, what if I build my own browser, with its own JS particularities. Why should you trust Visual Studio to debug a code running in an environment I invented? Without doubt, things like JS, and layout should be tested under each browser, using tools available for that particular browser.
Alexander
Understood, Thanks for the anser.
Mathew man