Dreamweaver JavaScript debugger

Dreamweaver JavaScript debugger

奈何桥上唱咆哮 发布于 2021-11-27 字数 1429 浏览 745 回复 6 原文

Does Dreamweaver CS 3 have a JavaScript debugger?

The only information on anything close is that it says I need to click on the
'preview/debug in browser' button which does open the page, but no debugging ever happens when the page has an error. I also see no way to set breakpoints or walk through the code.

MS Visual Web Developer (Visual Studio Express - which is free) has a debugger that you can attach to a process. So even if you are not developing in it, you can debug the JavaScript in any browser. It also has a very rich variable watch that allows you to drill down through all the decendants of an object for its respective values. I was hoping that Dreamweaver could at least match Visual Web Developer...

What is the experience using the Visual Studio debugger tools with non-Internet Explorer browsers?

  • Dreamweaver has no effective built-in debugger.
  • Firebug works great with non-Internet Explorer browsers
  • Visual Studio tools work great with ID browsers

What is the one that works well across the board?

如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。



需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。


暖心男生 2022-06-07 6 楼

I assume you're looking for something where you can attach breakpoints and such... Well, without echoing the others (this can be done in Firebug), do try Aptana Studio. It can be run like a plugin on Eclipse and can be used to debug JavaScript.

晨敛清荷 2022-06-07 5 楼

You can also use Firebug, which is in my opinion the best JavaScript debugger for Firefox even if there are still some issues sometimes (refer to my post a few days ago, Stack Overflow question Firebug debugger not working in Firefox 3.x?).

遇到 2022-06-07 4 楼

I agree with CheGueVerra, defenitively the best debugger is the "error console" in Firefox. If you want to make it even better, just download the Firefox Add-on Console². All you need to debug JavaScript code is there.

萌辣 2022-06-07 3 楼

I solved most JavaScript problems using the Error Console in FireFox. I never got Dreamweaver's to work.

ι不睡觉的鱼゛ 2022-06-07 2 楼

There is nothing native to Dreamweaver that handles debugging JavaScript, but there are several other options out there for free.

The Firebug add-on for Firefox allows you to set breakpoints and step through JavaScript. Download and play with that, and you should find what you need. Here is a brief tutorial hitting on your points: Debug Javascript with Firebug

老旧海报 2022-06-07 1 楼

Debuggers are specific to a particular interpreter/compiler, not to a language. The same language - in this case, JavaScript - can have more than one interpreter/compiler. In particular, each browser has their own.

So to debug JavaScript in Internet Explorer, you need an Internet Explorer debugger - either the one built into Internet Explorer, or one of the Visual Studio flavours. To debug JavaScript in Chrome, use Chrome's debugger. To debug JavaScript in Firefox, use Firebug. (And so on.)