aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/venkman/index.html
blob: b685a131c4630833ee206e4839f55826da41757e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
title: venkman
slug: venkman
translation_of: Archive/Mozilla/Venkman
---
<p>Venkman is the code name for Mozilla's JavaScript Debugger. It aims to provide a powerful <a href="/zh-CN/docs/JavaScript" title="zh-CN/docs/JavaScript">JavaScript</a> debugging environment for Mozilla based browsers namely Firefox, Netscape 7.x/9.x and SeaMonkey. Note that it is not included in the Gecko-based browsers such as K-Meleon, Galeon and Netscape 8.x. Venkman has been provided as part of the Mozilla install distribution since October 2001, as well as an <a href="/zh-CN/docs/Extensions" title="zh-CN/docs/Extensions">extension</a> package in <a href="/zh-CN/docs/XPI" title="zh-CN/docs/XPI">XPI</a> format.</p>
<table class="topicpage-table">
 <tbody>
  <tr>
   <td>
    <h2 class="Documentation" id="Documentation" name="Documentation">Documentation</h2>
    <dl>
     <dt>
      <a href="/zh-CN/docs/Venkman_Introduction" title="zh-CN/docs/Venkman_Introduction">Venkman Introduction</a></dt>
     <dd>
      An overview and some practical examples of using the JavaScript Debugger in Web development.</dd>
     <dt>
      <a href="/zh-CN/docs/Using_Breakpoints_in_Venkman" title="zh-CN/docs/Using_Breakpoints_in_Venkman">Using Breakpoints in Venkman</a></dt>
     <dd>
      This article describes breakpoints in JavaScript and how to use Venkman to set and examine breakpoints.</dd>
     <dt>
      <a class="external" href="http://www.svendtofte.com/code/learning_venkman/">Learning the JavaScript debugger Venkman</a></dt>
     <dd>
      Written by Svend Tofte to the JavaScript programmers who are not familiar with other debugging tools.</dd>
     <dt>
      <a class="external" href="http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq.html">Venkman FAQ</a></dt>
     <dd>
      Answers to common questions on Venkman.</dd>
     <dt>
      <a href="/zh-CN/docs/Venkman_Internals" title="zh-CN/docs/Venkman_Internals">Venkman Internals</a></dt>
     <dd>
      Notes on Venkman source code.</dd>
     <dt>
      <a class="external" href="http://www.hacksrus.com/~ginda/venkman/">Venkman Development Page</a></dt>
     <dd>
      Older news and releases.</dd>
    </dl>
    <p><span class="alllinks"><a href="/zh-CN/docs/tag/Venkman">View All...</a></span></p>
    <h2 id="Brief_History" name="Brief_History">Brief History</h2>
    <p>In 1998, John Bandhauer was in charge of <a class="external" href="http://www.mozilla.org/js/jsd/jsd_in_js_for_mozilla.html">creating the Netscape 4.x JavaScript debugger</a>. In order to keep things modular, he began by creating a mid-level JavaScript debugging API known as <a class="external" href="http://www.mozilla.org/js/jsd/">js/jsd</a>. This API augments the existing <a href="/zh-CN/docs/SpiderMonkey/JSAPI_Reference" title="zh-CN/docs/SpiderMonkey/JSAPI_Reference">JavaScript API</a>, providing clients with a useful set of debugger functionality implemented in C.  Bandhauer then went on to reflect that API into Java, and create his cross platform front end, eventually producing <a class="external" href="http://web.archive.org/web/20040723082255/http://developer.netscape.com/software/jsdebug.html">Netscape JavaScript Debugger 1.0 and 1.1</a>.</p>
    <p>In April of 2001, Robert Ginda began work on a JavaScript debugger for Mozilla, called Venkman. Venkman builds on the <em>js/jsd</em> portion of John's 1998 work, {{ Source("js/jsd/idl/jsdIDebuggerService.idl", "exposing it") }} as an <a href="/zh-CN/docs/XPCOM" title="zh-CN/docs/XPCOM">XPCOM</a> component. This allows the {{ Source("extensions/venkman/resources/content/", "user interface") }} be written in JavaScript and <a href="/zh-CN/docs/XUL" title="zh-CN/docs/XUL">XUL</a>, which allows Venkman to be <strong>fully cross-platform</strong>.</p>
    <p>Venkman is named after the character Dr. Peter Venkman, played by Bill Murray in the movies <em>Ghostbusters</em> and <em>Ghostbusters II</em>.</p>
   </td>
   <td>
    <h2 class="Tools" id="Getting_Venkman" name="Getting_Venkman">Getting Venkman</h2>
    <dl>
     <dt>
      Firefox and Thunderbird</dt>
     <dd>
      The latest version of JavaScript Debugger is available from <a class="link-https" href="https://addons.mozilla.org/zh-CN/firefox/addon/216">Firefox Add-ons</a>.</dd>
     <dt>
      Mozilla Suite and SeaMonkey</dt>
     <dd>
      These releases come with Venkman pre-installed. On Windows, it is an install option; choose Advanced install. Also available from <a class="link-https" href="https://addons.mozilla.org/zh-CN/firefox/addon/216">Firefox Add-ons</a> as an extension.</dd>
     <dt>
      Nvu and KompoZer</dt>
     <dd>
      JavaScript Debugger extension version <strong>0.9.84</strong> is available from <a class="external" href="http://nvudev.com/download.php">Nvu's downloads page</a>. We encourage you to use the latest available version <strong>0.9.87.1</strong> (or higher) with Firefox instead.</dd>
     <dt>
      Source Code</dt>
     <dd>
      The source code for Venkman may be found in Mercurial at the following URL: <a class="external" href="http://hg.mozilla.org/venkman/summary">http://hg.mozilla.org/venkman/summary</a></dd>
    </dl>
    <h2 class="Community" id="Community" name="Community">Community</h2>
    <ul>
     <li>View Mozilla forums...</li>
    </ul>
    <p>{{ DiscussionList("dev-apps-js-debugger", "mozilla.dev.apps.js-debugger") }}</p>
    <ul>
     <li><a class="external" href="http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq.html#irc">IRC</a>: <a class="link-irc" href="irc://irc.mozilla.org/venkman">#venkman</a> on irc.mozilla.org</li>
    </ul>
    <h2 id="Report_a_bug_in_Venkman" name="Report_a_bug_in_Venkman">Report a bug in Venkman</h2>
    <p>If you find a problem with Venkman, please follow directives mentioned at <a class="external" href="http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq.html#report-bug">Venkman FAQ section 5.4</a> and then you may report a bug on <a class="link-https" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Other%20Applications&amp;component=JavaScript%20Debugger">JavaScript Debugger component</a>.</p>
    <h2 class="Related_Topics" id="Related_Topics" name="Related_Topics">Related Topics</h2>
    <p><a href="/zh-CN/docs/JavaScript" title="zh-CN/docs/JavaScript">JavaScript</a>, <a href="/zh-CN/docs/Web_Development" title="zh-CN/docs/Web_Development">Web Development</a>, <a href="/zh-CN/docs/Developing_Mozilla" title="zh-CN/docs/Developing_Mozilla">Developing Mozilla</a></p>
   </td>
  </tr>
 </tbody>
</table>
<div class="originaldocinfo">
 <h2 id="Original_Document_Information" name="Original_Document_Information">Original Document Information</h2>
 <ul>
  <li>Author(s): Robert Ginda</li>
  <li>Other contributors: Doctor Unclear</li>
  <li>Last Updated Date: July 13, 2007</li>
  <li>Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | <a class="external" href="http://www.mozilla.org/foundation/licensing/website-content.html">Details</a>.</li>
 </ul>
</div>
<p> </p>