mozilla-xp.com | Post Question | Search | About | Groups | Contact | Register | Login



mozilla feedback firefox (6269)

mozilla feedback (2091)

mozilla feedback firefox prerelease (1989)

mozilla feedback companion ebay (1647)

mozilla feedback thunderbird (860)

mozilla support thunderbird (809)

mozilla support seamonkey (511)

mozilla dev tech crypto checkins (461)

mozilla support firefox (406)

mozilla support bugzilla (397)

mozilla dev extensions (359)

mozilla feedback thunderbird prerelease (334)

netscape public mozilla reviewers (272)

mozilla dev mdc feedback (270)

netscape public beta feedback (268)

netscape public mozilla crypto checkins (265)

mozilla dev apps thunderbird (252)

netscape public mozilla jobs (224)

mozilla dev tech plugins (194)

mozilla dev apps firefox (190)

mozilla dev tech xul (190)

mozilla dev apps calendar (187)

mozilla dev embedding (181)

netscape public mozilla embedding (177)

netscape public mozilla test (174)

netscape public dev xul (169)

mozilla dev planning (169)

mozilla support calendar (167)

mozilla dev tech js-engine rhino (165)

netscape public mozilla layout xslt (164)

mozilla test (163)

netscape public mozilla jseng (160)

netscape public mozilla crash-data (159)

netscape public mozilla xpcom (159)

mozilla dev platform (158)

mozilla dev platforms mobile (157)

mozilla marketing (156)

netscape public mozilla webtools (155)

mozilla jobs (153)

mozilla dev builds (153)

mozilla dev tech xpcom (150)

mozilla support webtools (148)

mozilla dev accessibility (147)

netscape public mozilla calendar (146)

netscape public mozilla xml (138)

mozilla dev tech java (136)

netscape public mozilla gtk (136)

mozilla community drumbeat (135)

mozilla dev tree-management (131)

mozilla dev apps bugzilla (130)

netscape public mozilla i18n (130)

netscape public mozilla prefs (129)

netscape public mozilla qa general (129)

mozilla dev amo (128)

netscape public mozilla general (127)

netscape public mozilla rdf (126)

netscape public mozilla xpinstall (126)

netscape public mozilla xpfe (123)

netscape public mozilla plugins (122)

netscape public mozilla java (122)

netscape public mozilla ui (119)

netscape public mozilla accessibility (118)

netscape public mozilla wishlist (117)

netscape public mozilla mac (116)

mozilla dev tech js-engine (116)

mozilla dev apps seamonkey (116)

netscape public mozilla crypto (112)

netscape public mozilla mathml (112)

mozilla dev tech crypto (111)

netscape public mozilla beos (111)

netscape public mozilla jsdebugger (110)

netscape public mozilla license (109)

netscape public mozilla qa browser (109)

mozilla wishlist (108)

mozilla dev quality (107)

mozilla dev tech xforms (106)

netscape public mozilla directory (106)

netscape public mozilla editor (106)

netscape public mozilla macosx (106)

mozilla dev apps js-debugger (105)

netscape public mozilla performance (103)

netscape public mozilla builds (100)

mozilla dev ports os2 (100)

netscape public mozilla qt (98)

netscape public mozilla mail-news (97)

mozilla announce (96)

netscape public mozilla documentation (94)

netscape public mozilla os2 (93)

netscape public mozilla nspr (93)

netscape public mozilla netlib (93)

netscape public mozilla style (92)

mozilla support planning (92)

netscape public mozilla patches (91)

mozilla dev l10n web (91)

mozilla dev tech nspr (89)

mozilla dev mdc (87)

mozilla dev tech network (87)

mozilla dev tech css (86)

mozilla dev l10n (86)

mozilla dev l10n cs (85)


mozilla.dev.apps.js-debugger Post New
Items(104) /2 Next >> Last >|
Subject Posted Replies From
code does not work properly when i remove alert

Hi I am facing a strange problem, in the code below when i remove alert statement the client socket does not send data to the server. I have read some forums on this problem and they mentioned about giving some time delay but it does not work. var transportService = Components.classes["@mozilla.org/network/socket-transport-service;1"].getService(Components.interfaces.nsISocketTransportService); var transport = transportService.createTransport(null,0,'127.0.0.1',4444,null); var outstream = transport.openOutputStream(0,0,0); alert('Sending Data'); //when i remove this statement t

2/25/2010 11:57:41 PM 1 sugar_lisp <suganthi....@gmail.com>



socket client reading string

Hi I have developed socket server in delphi and socket client in mozilla javascript. The server sends string data to socket client. I am not sure how to read it. I tried the following: var transportService = Components.classes["@mozilla.org/network/socket-transport-service;1"].getService(Components.interfaces.nsISocketTransportService); var transport = transportService.createTransport(null,0,'127.0.0.1',4444,null); var stream = transport.openInputStream(0,0,0); var instream = Components.classes["@mozilla.org/scriptableinputstream;1"] ..createInstance(Components.interfaces

2/25/2010 11:54:26 PM 0 sugar_lisp <suganthi....@gmail.com>
debug XUL in a Thunderbird 3 extension with venkman

Hello, I have now read a lot of pages and searched a long time. I have found "Debugging a XULRunner Application" under "https:// developer.mozilla.org/en/Debugging_a_XULRunner_Application" but was not able to get the venkman window with start_venkman(). I can start the venkman addin over Menu/Extras/JavaScript Debugger but it don't display any thing of my extension. I have inserted &lt;script src="chrome://venkman/content/venkman- overlay.js" /> inside the window tag of the the main xul file of my extension. Additionally I have a new button inserted with: <hbox class="box-padded

2/18/2010 7:53:03 PM 1 mgleich <fwill...@googlemail.com>
change font size for source view

Hello, How to change font size for source view? Thanks.

2/7/2010 9:31:07 PM 0 anatoly techtonik <techto...@gmail.com>
Laniki & Venkman

A short notice: I had to bump the TB version # to get it running with Laniki 3.1a1. After that no problems to work with it.

2/5/2010 11:10:18 AM 0 gNeandr <neandr...@SPAM_gmx_._de>
scopes, execution contexts, and scripts

Does anyone understand what jsdIStackframe.executionContext is? How is it related to jsdIStackframe.scope? At http://mxr.mozilla.org/mozilla/source/js/jsd/idl/jsdIDebuggerService.idl#766 we read about jsdIContext /* Top of the scope chain for this context. */ readonly attribute jsdIValue globalObject; and at http://mxr.mozilla.org/mozilla/source/js/jsd/idl/jsdIDebuggerService.idl#841 we read about jsdIStackframe: /* Top object in the scope chain. */ readonly attribute jsdIValue scope; Despite the word 'top' here, in practice, you get the scope ch

1/22/2010 5:46:48 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Getters and setters shown as anonymous functions

I was just using Venkman 0.9.87.4 inside Thunderbird 3 for the first time in order to debug a certain add-on. I found out that JS getters and setters are displayed as anonymous functions. This seems to be mainly due to the way regex matching is done: Firstly, sub-string "function" is expected to be there. Secondly, the syntax "get myProperty() { ... }" or "set myProperty() { ... }" is unsupported. So I suggest that function name matching be improved so as to be able to display function names like "get myProperty" or "set myProperty" instead of "[anonymous]".

12/18/2009 5:47:32 AM 0 Alexander Kriegisch <alexander.kriegi...@googlemail.com>
What's the point of jsdebug.c?

Does anyone understand why jsdebug.c exists? It has functions like --- JSD_PUBLIC_API(JSBool) JSD_SetScriptHook(JSDContext* jsdc, JSD_ScriptHookProc hook, void* callerdata) { JSD_ASSERT_VALID_CONTEXT(jsdc); return jsd_SetScriptHook(jsdc, hook, callerdata); } ---- Why? jjb

12/8/2009 9:25:50 PM 5 John J Barton <johnjbar...@johnjbarton.com>
JSDSourceText?

Anyone know if JSDSourceText is really used in Firefox? It looks like a container for the JS source code string plus some data about it. But the only user seems to be something called 'shell'. jjb

12/4/2009 1:16:20 AM 0 John J Barton <johnjbar...@johnjbarton.com>
Implement jsdICompilationUnit

For Firefox 3.7 I want to push to get an extension to jsd that would dramatically improve Firebug and improve Firefox's support for dynamic Javascript. I am looking for more feedback on the approach I am taking: Bug 449464 - Implement jsdICompilationUnit to extend jsd to include information on the compilation unit structure. https://bugzilla.mozilla.org/show_bug.cgi?id=449464 The bug has more justification and details. Broadly the API attempts to mimic the current jsdIDebuggerService style by adding a new callback hook, jsdICompilationHook and a new enumerate call, enum

12/1/2009 11:29:58 PM 21 John J Barton <johnjbar...@johnjbarton.com>
Debugger does not stop for breakpoints or exceptions

I am not able to get the debugger to stop for breakpoints and exceptions. I have the 'Stop for Errors' and the 'Stop for Exceptions' triggers set. I have the desired HTML page with JavaScript module loaded because the = contents in the HTML page are loaded through the JavaScript. An oddity however is the manual stopping of the debugger does not work = either. It shows an X with 3 dots to indicate that no scripts are loaded. Could you please assist? Thank you =20

11/25/2009 5:38:29 PM 2 "Abdeladim Gadhi" <aga...@comtechefdata.com>
error message

Hi, i'm new in javascript programming, this is my first working code <HTML> <HEAD> <TITLE>Test Input</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function testResults (form) { var TestVar = form.inputbox.value; alert ("You typed: " + TestVar); var frame = new java.awt.Frame("FrameDemo"); frame.setSize(200,300); frame.setVisible(true); } // --> </SCRIPT> </HEAD> <BODY> <FORM NAME="myform" ACTION="" METHOD="GET">Enter something in the box: <BR> <INPUT TYPE="text" NAME="inputbox" VALUE=""><P> <INPUT TYPE="button" NAME="button" Value="Click" onClick="testResults

11/13/2009 8:42:01 PM 3 ncosco <nicola.co...@gmail.com>
Setting JavaScript context

I am trying to get Venkman debugger working and am using the tutorial by Svendtofte. On the Basics page he explains how to set the ‘evaluation context’. Doing so the title of the Interactive Session panel confirms a changed context but variable 'a' remains stubborn undefined. Also ‘document.title’ reports ‘JavaScript Debugger’ rather than the title of the page being debugged. The bar at the top of the interactive session page reads correctly i.e. Interactive Session [context: venkman_example_1.html, ... ] Using Linux x86_64, Firefox 3.0.14 This problem has been reported before

11/11/2009 3:00:35 PM 1 Enno Fennema <e.fenn...@tiscali.nl>
TB/FX freeze with Venkman and other extension ..

TB/FX freeze with Venkman and other extension .. Extension: Reminderfox 1.9.1 with some modifications. Reminderfox is started with the host app starts. The freeze is with starting Venkman. But when a dialog of Reminderfox is opened before Venkman starts, everything is working correctly. How can I trace this to get an idea about the reason?? Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (it's not a linux problem, WINxp does the same with these TB/FX versi

10/5/2009 10:37:32 PM 2 gNeandr <neandr...@SPAM_gmx_._de>
Please help: Debugging Firefox Add-Ons

Hi! I am totaly new to firefox development. Can someone please suggest how can I debug a FF addon? Can I use Venkman debugger to do this? If so, are there any changes I need to add to the install.rdf of the addon I want to debug etc? I have also come across Foxbeans - can this be used to debug an arbitrary addon or can it only be used to debug a project created within netbeans? Thanks Tom

9/30/2009 1:48:32 PM 0 Tomas <tneme...@googlemail.com>
Spider Monkey and jsdiDebuggerService Crash?

I developed GUI script debugger which runs on eclipse. (with xul runner and debugger service) And my co-worker developed firefox plugin with c++. when that plugin calls a script function through spider monkey on debugging browser(which is based on customized xul runner), whole eclipse crashed(JVM termination) That plugin works okay in firefox. but it seems to crash with firebug too. so I think debugger service and spider monkey compatibility might be one factor of problem. any idea?

9/2/2009 1:38:40 AM 4 Jiyul <jeee...@gmail.com>
Multi-threading debugger support

We have been using jsd.dll to implement JavaScript debugging. When we run in a multi-thread environment in which we switch JS contextes between threads, we have been having lots of aborts in the debugger when destroying JSD contexts. Usually JS_GC fails in a free(). We noticed that JSDContext has a jsdc->dumbContext, but that there is no support for switching threads via JS_SetContextThread() and JS_ClearContextThread(). This causes assertion failures in GC. Is this a bug? Should jsd work in such a mode? Could some calls be added to assign the thread to the context correctly?

8/12/2009 6:37:15 PM 0 "Robin Ehrlich" <rehrl...@ubiqinc.com>
embedding with debugging support

Hello, My name is Chris and I would like to embed Mozilla into a C++ app. I have managed to do this, but I need to have some debugging support (for html, javascript). The only way I know of, is to try to embed some extensions like venkman/dom inspector. The documentation I found for this seems old/confusing. I was not able to embed these after reading this link: https://developer.mozilla.org/en/XULRunner_tips Is there any other information available? Note: I do not use a xul app and I am also not familiar with xul. So far, all I need is a webbrowser window in which I could cli

8/4/2009 12:34:21 PM 4 Cristian Tarsoaga <ch...@softnrg.ro>
FF 3.5 and JS_GC Crashes

Hello: I have written an extension that analyzes the performance of our company's multi-tier Web application. It inspects client-side behavior (it has a builtin JavaScript profiler and analyzes HTTP resource loading) as well as tracks backend delays (that contributes to end-to- end performance). The extension uses nsIWebProgressListener and jsdIDebuggerService APIs extensively. It also features a C++ XPCOM (to monitor browser process CPU usage) and an JavaScript XPCOM component. We are finding many crashes associated with Firefox 3.5 that we are not seeing with FF 3.0.x. The de

7/23/2009 2:27:28 PM 11 Glenn Boysko <gboy...@gmail.com>
Using Venkman to debug javascript generated by JSP

Hi, I'm new to Venkman and fairly new to javascript (though not to developement= in general) and am having some trouble.=A0 I've inherited some code which = runs in a pretty large framework and I'm having trouble debugging it.=A0 I = will admit up front that I don't understand how all of the architecture fit= s together but I think that these two pieces of information are relevent: (= 1) it uses the bindows framework and (2) the javascript I'm trying to debug= does not reside in a .js file but is instead generated by a JSP.=A0=20 So, I go into the jsp and I add a debugger line to

7/22/2009 6:16:23 PM 2 Tech Stuff <techstuff1...@yahoo.com>
JS debugger on conceptual level

I am exploring a possilibity to add Firefox debugging into our Splinetech JavaScript Debugger: www.remotedebugger.com Since it will only enrich mozilla if another debugger supports it, I would like to learn more about how the FF debugger works conceptually. If there is a diagram, that will be great. I obviously checked the firebug docs but I find it not clear. What are the essential classes and components that make the debugging possible, and how do they interact with each other. Thanks, Daniel.. www.remotedebugger.com

7/21/2009 4:02:19 AM 12 "Dan" <aert...@hml.com>
0.4491586 Want It? ... 0.9298185

0.4878388 Want It? ... 7.935715E-02 0.4491586 Now Visit Tobacco Is Drugs 0.9298185

5/9/2009 2:41:17 AM 0 0.4878388realizeitist...@7.935715E-02now.com
Venkman XUL debugging access denied

Hi all, I'm trying to debug chatzilla with venkman. Followed instructions at: https://developer.mozilla.org/en/Debugging_a_XULRunner_Application, works fine. However, when debugging a sample plugin, I get errors: Error loading URL <chrome://chatzilla/content/static.js -> file:///$chatzillaProfile/sampleplugin/init.js>: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "chrome://venkman/content/venkman-url-loader.js Line: 54"]. where: $chatzillaProfile is the profile folder for chatzilla sampleplugin is the na

4/18/2009 8:31:32 AM 2 izi <izi_...@yahoo.com>
How to use Javascript Debugger when javascripts was obfuscated

I found the following Javascript code. (All Javascript code is displayed at one line:) function mj67(sdadad21){sds("%3B%66%6F%72%28%76%61%72%20%6E%4B%39%36%3z %30%3B... I guess the Javascript code is malign,but I don't sure. I want to use Javascript Debugger to debug it,but all code is at the same line,I don't know how set the breakpoint. Could some one give me a hand?

4/8/2009 9:58:30 AM 1 mathewc...@gmail.com
Postbox w. Venkman

Follow-up: mozilla.dev.apps.js-debugger Try to setup Postbox [1] with Venkman extension. PB doesn't come with an add-on manager, but there is a hack [2] how to install Mr.Tech extension. That installed, extension can be loaded. It requires some changes with the XPI RDF file, but no problem. It works with other XPI. Also going thru that procedure for Venkman JS Debugger it is showing up in the Mr.T extension dialog but no where else. I would expect it with the PB "Tool" menu as normally. But no entry. So no start. The extension.ini has an entry for "{f13b157f-b1

3/2/2009 4:07:51 PM 3 gNeandr <neandr...@SPAM_gmx_._de>
Which debugger for use with embedded spidermonkey (non-web)

Hi, I have been working with Spidermonkey, embedding it to make my application scriptable (to replace a legacy proprietary scripting language) and it is working well. However I've reached a point where I want to start debugging scripts and I'm not clear which direction to go. There seem to be various options (ie Firebug & Venkman) if I was debugging in a browser, but I need to debug *embedded* spidermonkey scripts and no browser is involved. Has anyone else solved this problem? What is the 'state of the art' in terms of spidermonkey debugging? Is it possible to use one of

2/25/2009 10:33:41 AM 2 "Colin Fraser" <cfra...@levelfour.com>
jsdIValue.getStringValue() encoding problem

(I can't sure what can I post this question here, sorry) Environment: Windows XP, Eclipse 3.4, xul runnenr 1.9, firefox 3.0.5 I developing remote java script debugger. When debugger suspends, local varialble's value of current stackframe (retrieved as jsdiValue) returns broken string through getStringValue() I tested Korean and Japanese, Only English seems okay. The returned value is not just miss encoded, it lost it's own original UTF data. Can anybody direct me right way? Any information will help much!

1/22/2009 4:27:51 AM 0 Jiyul <softwi...@gmail.com>
Sometimes 'debugger' is ignored?

In some cases the 'debugger' keyword fails to trigger jsd. Any ideas on a workaround? jjb

12/19/2008 7:15:01 AM 2 "John J. Barton" <johnjbar...@johnjbarton.com>
test suite for jsd?

Are there tests for the 'jsd' layer of the debugger api? If so where are they hiding? Thanks, John.

11/2/2008 5:27:34 PM 1 "John J. Barton" <johnjbar...@johnjbarton.com>
Debugging stand-alone JS apps

Hello, There are several Eclipse JS debuggers around (e.g. in the Eclipse ATF project) which use the jsdIDebuggerService interface, but they all require XPCOM and run the debugger inside the Mozilla framework. Since Spidermonkey is able to run without the Mozilla framework too, I was wondering if it would be feasible to debug a JS application that runs from a simple Linux shell? Best regards, Harald

10/29/2008 2:39:06 PM 0 Harald Krapfenbauer <krapfenba...@ict.tuwien.ac.at>
interactive session

I can't type anything into the interactive session, its as though the keyboard is disabled anyone got any ideas or is it a bug, am using running Venkman version 0.9.87.4 with Firefox 3.0.3

10/27/2008 10:51:09 PM 0 rnettle <rober...@blueyonder.co.uk>
jsdIStackFrame scope jsParent

A Firebug user just told me about "jsParent". This is a property of jsdIValue objects and it turns out that if the jsdIValue object is jsdIStackFrame.scope, then the jsParent is a link to the scope chain for the function on the stack. Is there any way to get this scope chain from a jsdIScript object? Its a property of the function not the stack correct? jjb

9/16/2008 5:35:18 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
isLineExecutable() very slow.

Just a little tidbit from Firebug experience: jsdIScript http://www.xulplanet.com/references/xpcomref/ifaces/jsdIScript.html has a method, PRBool isLineExecutable ( PRUint32 line , PRUint32 pcmap ) Based on some very informal measurements I found that it takes about 1ms per line to call this method. When you apply that to 40k lines, not much goes on for while. I don't know if this is intrinsic or just because of crossing in and out of C++ but it would be good to understand so we can create a faster next gen API. For example we could replace this with Array<int> executab

8/20/2008 3:20:26 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Proposed changes to jsdIDebuggerService and friends

Please take a look at Modernize jsdIDebuggerService https://bugzilla.mozilla.org/show_bug.cgi?id=449452 for links to several bug reports outlining improvements in jsd. Of the possible ways to proceed, I am inclined to push for Bug 379410 � debugger script detection using parent JSScript or if this is too hard, then a limited version of Bug 449454 � [jsd] Add frame argument to every jsd callback, eg jsdIScriptHook John.

8/15/2008 4:56:05 PM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Firebug internals discussion?

Would the readers of this newsgroup object if we started discussing Firebug internal code here? John.

8/5/2008 1:27:56 AM 2 "John J. Barton" <johnjbar...@johnjbarton.com>
How to open Venkman with a given file?

Is it possible to programatically open Venkman with specified file (chrome url) opened by default, which is also automatically scrolled to a given line? Honza

6/18/2008 8:05:15 PM 0 Jan Odvarko <odva...@gmail.com>
jsdIFilter?

Does anyone know if jsdIFilter works? I guess I could try it, seems like a good thing if it worked...John.

6/11/2008 5:45:53 AM 2 "John J. Barton" <johnjbar...@johnjbarton.com>
Venkman in FireFox 3 (RC1)

Venkman has been working in FF3b5 (occasional crashes but it did what I needed). It will not install in FF3rc1. I have done some googling but have not seen anything that suggests there is any current work on this. Is there a work-around for this? Is there some source for an updated Venkman that I have not stumbled on? Bryan

5/23/2008 1:41:31 PM 1 Bryan White <br...@arcamax.com>
file from browse seems not excluded

When the option exclude browser file is selected, most of the files of browser are not shown, but It seems still some file in shown. such as file:/opt/mozilla/lib/firefox-2.0.0.11/components/ nsMicrosummaryService.js file:/opt/mozilla/lib/firefox-2.0.0.11/components/ nsBookmarkTransactionManager.js file:/opt/mozilla/lib/firefox-2.0.0.11/components/ nsBrowserContentHandler.js file:/opt/mozilla/lib/firefox-2.0.0.11/components/nsDefaultCLH.js file:/opt/mozilla/lib/firefox-2.0.0.11/components/ nsMicrosummaryService.js ..... Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Geck

5/21/2008 4:04:23 PM 1 luckyrandom <lucky.ran...@gmail.com>
Please help

I have two problems / feature requests. 1. I am trying to use Venkman to debug Selenium IDE which is a Firefox extension for automated testing of web application. Since it is a Firefox extension, I've uncheck the "Exclude Browser Files". Now Venkman debug all the browser files, ones that come from other extensions which I am not interested in. I've selected the ones that I want to ignore, right click, File Options -> "Don't Debug Eval/ Timeouts" and "Don't Debug Contain Functions", but as I switch back to the Selenium IDE window, an xul file (which I've specified Venkman to igno

5/19/2008 11:40:47 PM 1 Khai Doan <khaibri...@gmail.com>
TB-3.0a1pre.en-US.win32.installer.exe + debugger

Just installed TB3.0a1 and javascript_debugger-0.9.87.3-fx+tb+sb+sm.xpi. Opening any source produces the following error: XML Parsing Error: Location: x-jsd:source?location=chrome%3A%2F%2Fcommunicator%2Fcontent%2FcontentAreaClick.js&instance=26 Line Number 2, Column 1:<?xml-stylesheet type='text/css' href='chrome://venkman/skin/venkman-source.css' ?> Any advice how to work with both??

5/5/2008 1:20:50 PM 6 gNeandr <neandrN...@no_SP_AM_gmx.de>
venkman and Kompozer

Windows XP Kompozer v0.7.10 venkman 0.9.84. I am using the above combination. I have sucessfully install venkam 0.9.84 from the xpi file I found online but it does not show up on ANY of the Kompozer menu. I tired using venkman version 0.9.87.3(javascript_debugger-0.9.87.3-fx+tb+sb+sm.xpi) but Kompozer said that version is not compatible. The funny thing is that venkman 0.9.84 runs perfectly on NVU (version 1.0 (20050620) ) but Kompozer is suppoded to be and upgraded version of NVU with all the bugs out of it???

5/3/2008 10:34:06 PM 0 Shaba1 <BlackModer...@gmail.com>
Tracing DOM Access

Hi guys, I'm wondering if I can use jsdIDebuggerService to log access to DOM functions, such as a call inside a webpage to "document.getElementById('foo')". I'd also like to be able to intercept property access, like "document.body". If it's not possible, is there another option? Thanks for any hints, Daniel -- Daniel Gredler http://daniel.gredler.net/

2/21/2008 6:11:54 AM 0 "Daniel Gredler" <daniel.gred...@gmail.com>
Tracing Function Invocations

Hi guys, I'm trying to use the jsdIDebuggerService interface in a Firefox extension to trace function invocations. Specifically, I'm using the debugger service's functionHook. This hook takes two arguments: the current frame and the invocation type. However, I'm having trouble accessing the name of the function being invoked, as well as the names and values of the arguments being passed to the function. The problem is that frame.functionName and frame.script.functionObject refer to the function within which the invocation is made, not the function being invoked. Has anyone used

2/18/2008 8:50:54 PM 2 "Daniel Gredler" <daniel.gred...@gmail.com>
looking for a symbolic debugger for FF extension

Hi I have combed the web looking for a symbolic debugger I can use to debug my Firefox extensions written in JavaScript. I have tried venkman and firebug. I can not figure out how "load" my toolbar code? Any help would be greatly appreciated. Andy

2/1/2008 10:31:52 PM 3 "Andrew E. Davidson" <a...@prowebsurfer.com>
Opening links in Firefox By creating a New Tab

Hi, I am working on a Mail client application based on DirectFb. My Requirement is - I have a mail client application. In one of my mails i have two links. By clicking first link it needs to open Firefox browser with given URL. By Clicking second link it needs open new tab in existing firefox browser window and display second link URL. I build firefox on DirectFb backend. Please suggest me how to achieve this behavior. Thanks & Best Regards, Sreenivas

12/27/2007 11:54:52 AM 0 "Sreenivas Chowdary" <sreenivas.pac...@gmail.com>
Trouble evaluating expression with JSD in SpiderMonkey 1.7

Hello! We develop some industrial system which uses SpiderMonkey as the interpretator for a script language. After we updated it from 1.5 to 1.7 we stuck with a problem in our script debugger. Consider the following example 1: function pow3mine(x) 2: { 3: return x*x*x; 4: } 5: 6: function Btn1_Click() 7: { 8: var x = 1; 9: var y = 5; 10: var z = x + y; 11: Log.WriteLine("z = " + z); 12: for (i=0; i < 10; i++) 13: { 14: z = z + 1; 15: Log.WriteLine('z now is ' + z); 16: if (i % 2 == 0) 17: Log.WriteLine('z^3 is ' + pow3mine(z)

12/23/2007 1:58:32 PM 1 Dassburger <dassbur...@gmail.com>
Trouble Getting Started

Hi; I am having trouble getting started with venkham. I think I am missing something conceptually which is causing me to skip a needed step that other people see by reading between the lines of the tutorials. Firefox: 2.0.0.11 Venkahm: 0.9.87.1 OS: Microsoft Windows XP Professional Service Pack 2 I would like to debug a javascript on a JSP site my company has. Since any given functioning page is put together dynamically, I went to the spot where the JS malfunction is and I saved the JSP as a *.html page. Lets call it "mypage.html". 1. I booted up firefox

12/6/2007 10:57:39 PM 7 Steve <tinker...@gmail.com>
Extending jsdIDebuggerService.

By now I have enough experience with Firebug to start looking at JSD support for Web 2.0 technologies. I need to figure some stuff out: Who: is interested in jsdIDebuggerService (jsd) additions and how can I contact them? How: would new jsd code find its way into Firefox? What: functionality should be in any update? I've got the "Why" bit covered: my eval() support in Firebug is slow, complicated, and useful. With JSD-level changes the first two properties can go away. John.

12/3/2007 5:26:37 AM 3 "John J. Barton" <johnjbar...@johnjbarton.com>
Starting firefox -venkman

From what I understand starting firefox -venkman should only start the debugger and not the browser UI, thus allowing the debugging of extension loading. When I do this both the debugger and the browser UI is started, not what I expected. Is there something I'm doing in correctly or is my expectation incorrect. Cheers, Wink Saville

11/19/2007 5:48:11 AM 10 Wink Saville <w...@saville.com>
How line numbers can be off in js debugger.

A user filed issue 246 with Firebug including an example that explains at least some of the problems I have had with line numbers from JSD. Script tags like: &lt;script language="javascript" type="text/javascript" src="foo.js">&lt;/script> &lt;script language="javascript" type="text/javascript" src="bar.js">&lt;/script> cause the line numbers from JSD to be off by 4 lines. I guess (6 - 2) = 4, 6 original lines and 2 compressed lines. If I use 12 lines in 4 script inclusions I get 8 line offset: (12-4)= 8. But I can't

9/18/2007 6:42:07 AM 2 "John J. Barton" <johnjbar...@johnjbarton.com>
js debugging in Mozilla2?

Has there been any discussion of Javascript debugging in Mozilla2? If so, where? Thanks, John.

9/11/2007 1:36:48 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Re: Venkman planning for Gecko 1.9

> Gijs Kruitbosch wrote: > > On the other hand, Venkman does not support eval() debugging, > Pretty print... Huh? I think John's reference was to the fact that Venkman behaves strangely when debugging code which came from an eval statement. https://bugzilla.mozilla.org/show_bug.cgi?id=332176 Perhaps it seems like an edge case, but it's my little pet peeve, and it makes my life difficult since Dojo does pretty much everything through XHR + eval. That loading paradigm is useful enough that it might help provide interoperability for other toolkits as well -- http://www.openm

9/5/2007 8:45:18 PM 0 "Adam L. Peller" <a...@peller.org>
Venkman planning for Gecko 1.9

Over the last couple years, the Mozilla code base has evolved significantly on the trunk. Unfortunately, development on the JavaScript Debugger has not kept pace - the code has "bitrotted" significantly, and introduced significant bugs. This is a serious problem. It's equally serious that no one is hacking on it. I've found it to be a very useful tool for working on chrome code, and XULRunner apps would benefit from having a debugger handy. So here's what I want to do. I want to schedule a weekend meeting for 2 pm PDT Saturday [1] at #venkman on moznet [2]. The goal, as I see

8/31/2007 10:04:20 PM 5 Alex Vincent <ajvinc...@gmail.com>
How to get JS bytecode from JSD?

Hi, I am trying to track precise execution of script and data flows by using the JSD interface. I use jsdIDebuggerService.interruptHook to register a hook function for execution of every bytecode instruction. However, from what I receive at the hook function, I cannot determine what instructions are being executed. I can get the line number and the PC count, and together from the pretty-print of the jsdIScript object, each line of script being executed can be obtained. However, this is not always helpful. E.g., when a script has a loop of a conditional branch, my callback function

8/16/2007 10:03:22 AM 2 Sachiko Yoshihama <sachiko.yoshih...@gmail.com>
Re: GC and jsdIStackFrame.script.functionObject.getWrappedValue();

> "John J. Barton" <johnjbarton@johnjbarton.com> writes: > In Firebug I had this line: > var fn = frame.script.functionObject.getWrappedValue(); > As far as I can tell this line prevented the script from being > destroyed, even if I issue > fn = null; > directly after it. Is it possible? John, I haven't done much xpcom in a while, but it sort of makes sense. If you're grabbing an xpcom object to pass across a language boundary, the engine, being a good xpcom citizen, probably does an addRef() to grab the object and to keep the object from being GC'd. Since the XPCOM GC doesn

8/8/2007 7:30:56 PM 1 "Adam L. Peller" <a...@peller.org>
GC and jsdIStackFrame.script.functionObject.getWrappedValue();

In Firebug I had this line: var fn = frame.script.functionObject.getWrappedValue(); As far as I can tell this line prevented the script from being destroyed, even if I issue fn = null; directly after it. Is it possible? Admittedly my evidence is indirect. With the line in, I see one script for every page reload. Else not. Ok, its even more indirect: I have a table that has an entry per script, filled when OnScriptCreated is called and removed when OnScriptDestroyed is called. Its very hard to find a bug caused by an object not being collected... John.

8/8/2007 5:33:28 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Important Update

Hello, We have an important update at Todayshotnews ! ( www.TodaysHotNews.com/featured.html ) It is the PC controling video, and there have been a few reported ones with many compatibility issues, but this one is the most up-to-date , fully working according to our tests. Check it out, and problems, Contact Our Administrator at TodaysHotNews.com

7/25/2007 6:28:27 AM 0 Administrator<Ad...@Todayshotnews.com>
Updates for FAQ

I'd like to suggest two updates to the venkman debugger FAQ: 1) Question 4.6 says the newsgroup is netscape.public.mozilla.jsdebugger but apparently it is now this group mozilla.dev.apps.js-debugger. 2) Add a Question regarding debugging overlays in the Browser: X.y) How to debug overlays in the Browser? Disable "Debug->Exclude Browser Files" Regards, Wink Saville

6/2/2007 11:52:58 PM 0 wink <w...@saville.com>
First experiences with Venkman

Yesterday was my first trial of Venkman with Seamonkey; I seem to be bedeviled by cockpit or environment problems. Having loaded an HTML page (from the Venkman demo, no less), and then started Venkman - about 75% of the time nothing was displayed in the "loaded scripts" pane - though the "loaded files pane" did display the name of the loaded page. No scripts means no debugging ... Reloading the HTML page (view.reload, etc), restarting Venkman, closing all browser windows and starting over, etc had no effect. Then out of the blue, "loaded scripts" is now populated and I can actuall

5/2/2007 2:59:19 PM 0 QCR <QC.Ru...@gmail.com>
Debugger not stopping at hard breakpoint in xul javascript.

I'm trying to debug a firefox extension. I deselected the "Exclude Browser Files" from the Debug menu. Walla, I can now see my extension javascript file. Next, I set a breakpoint where I'd like to stop. The breakpoint IS listed in the breakpoints window and it is a hard breakpoint. When I execute the code in the extension however, the debugger does not stop there. I've verified that breakpoints DO stop for normal javascript/web files. Is there something I am missing when debugging JS from an extension? I've tried setting breakpoints at all different places in my exte

4/13/2007 1:41:14 PM 13 Dennis Muhlestein <djmuhlest...@gmail.com>
Object equivalence across jsd

In a call to jsd.enumerateScripts Firebug has a line like this: if (script.functionObject.getWrappedValue() == fn) ... But it is never true. If I use: if (script.functionObject.getWrappedValue().name == fn.name) ... then I get a match and the script.tag is the one that was created with the function name fn.name. Since few function have "name" properties, my test, while more successful than Firebug's is not very useful. The objective is to retrieve the script matching a Function object. Any suggestions? Thanks, John.

3/29/2007 6:09:39 PM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Firefox doesn't handle the x-jsd protocol?

Hi, I've installed Venkman for the first time on: Firefox 2.0.0.2 Mac OS 10.4.8 and Tools->Javascript Debugger->Open Windows tab->Double Click on one of the html filennames gives me the popup error: "Firefox does not know how to open this address, because the protocol (x-jsd) isn't associated with any program" I've tried modifying the about:config keys: network.protocol-handler.app.x-jsd = /Applications/Firefox.app (I know this is wrong, but I don't know what else to put here) network.protocol-handler.external.x-jsd = true ...but still same behavior. Anyone hav

3/7/2007 3:36:54 AM 7 chad.armstr...@gmail.com
Confused a bit...

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>I tried this out, I was hoping I could get another say. I went to this video, and when I clicked at the very end, my cpu started freaking out. It was actually pretty neat, but it didnt work the second time, can anyone else tell me if my cpu is screwing up or what?&nbsp; Link : <A href="http://one.revver.com/watch/194543">http://one.revver.com/watch/194543</A>&nbsp;&nbsp;&nbsp; Just go ahead and email me at <A href="mailto:Admin@cbc.org">Admin@cbc.org</A> or <A hre

3/6/2007 10:24:44 PM 0 Admin<Ad...@cbc.org>
Funny Videos

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>hey i found some pretty funny videos at <A href="http://one.revver.com/find/user/AltimitHacker">http://one.revver.com/find/user/AltimitHacker</A>&nbsp;&nbsp; Some are just simple videos, however other ones are really funny. For example , this one made me crack up for hours. heres the link:&nbsp;&nbsp;&nbsp; <A href="http://one.revver.com/watch/97897">http://one.revver.com/watch/97897</A> <A href="http://one.revver.com/find/user/AltimitHa

3/3/2007 9:10:39 PM 0 Andrew Showers<imsocooln...@gmail.com>
venkman and firebug loading source code for a page without sending the params that were sent when the browser made the call

i'm sorry for the multi-post but i was just advised that netscape.public.mozilla.jsdebugger moved to mozilla.dev.apps.js- debugger. also i have already posted this message as a forward but failed to see it in the group so this is the second post. sorry for the hassle. hi all, i am debugging a site with venkman and firebug. it seems the debuggers try to get their own copy of the source from the web server (instead of taking the browser's copy as i would expect) and call it without the params it needs (which the browser itself did send when it loaded the page). i am interested

2/21/2007 4:59:06 PM 5 eyal.her...@gmail.com
Solution to debugging eval code with JSD interface

Thanks to hints from people here, I found a way to debug eval() code using the current JSD interface. I track all jsdIScript objects created using onScriptCreated. For objects from eval() calls I create a maps indexed by jsdIScript.tag giving the eval() source buffer and new baseLineNumber. Then whenever the debugger needs source (and would use jdsIScript.fileName) I check these maps. Details are here: http://www.almaden.ibm.com/cs/people/bartonjj/fireclipse/test/DynLoadTest/WebContent/DynamicJavascriptErrors.htm I will be working to help Joe Hewitt include this in Firebug and to

2/20/2007 5:50:31 PM 2 "John J. Barton" <johnjbar...@johnjbarton.com>
Partial solution to debugging eval() code

I have worked out a partial solution to the issues discussed in Bug #307984, that eval() code line numbers appear to overlap regular code. For errors in compile, I recompute the line number and extract the source into a data: url. For run time, I breakpoint the eval-creation script in an onScriptCreated hook and re-eval it with a file name using jsdIStackFrame.eval(). Some more details: http://www.almaden.ibm.com/cs/people/bartonjj/fireclipse/test/DynLoadTest/WebContent/DynamicJavascriptErrors.htm I implemented this in Firebug and I'll make that code available soon. Unfortun

2/8/2007 6:13:23 AM 6 "John J. Barton" <johnjbar...@johnjbarton.com>
jsds_NotifyPendingDeadScripts [mozilla/js/jsd/jsd_xpc.cpp, line 501]

In FF 2.0.0.1 I am occasionally crashing with jsds_NotifyPendingDeadScripts [mozilla/js/jsd/jsd_xpc.cpp, line 501] eg talkback Incident ID: 29022911. The code above 501 is 492 /* get next deleted script */ 493 gDeadScripts = NS_REINTERPRET_CAST(DeadScript *, 494 PR_NEXT_LINK(&ds->links)); 495 if (gDeadScripts == ds) { 496 /* last script in the list */ 497 gDeadScripts = nsnull; 498 } 499 500 /* take ourselves out of the circular list */ 501 PR_RE

2/5/2007 4:06:07 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Error: illegal operation on JavaArray prototype object

I get various errors like the subject line when testing objects coming out of jsd with lines like: return "length" in object && typeof(object.length) == "number"; or if ( (typeof(object) != "undefined") && (typeof(object.isValid) != "undefined")) The latter was an attempt to see if the object might be an invalid frame. I'm not doing anything with JavaObject or JavaArray that I know about, but then the page could use them somehow. Any hints? Is there a test for JavaXXX that will not fail with illegalOpertion? Thanks, John.

2/2/2007 5:49:29 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
jsd would not restart

Too often (almost always), the debugger will not restart after I closed it. I need to restart my computer in order for the jsd to work again. - windows XP pro ver5.1 SP2 - firefox 1.5.0.9 - jsd 0.9.87 Maybe I don't close it correctly? Is there another way to close it besides closing the window (which, closes all other firefox windows as well) Thank you Guy

1/19/2007 2:43:05 PM 4 "gp" <guyp...@gmail.com>
(NS_ERROR_NOT_AVAILABLE) [jsdIStackFrame.isNative]

I wrote: --- if (frame.isNative) return "(native)"; -- And I got Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [jsdIStackFrame.isNative]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" How can I know before issuing frame.isNative that it will fail? Thanks, John.

12/21/2006 6:33:23 PM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
jsdIScript.functionName semantics

The API for jsdIScript includes: --- readonly char* functionName Function name for this script. "anonymous" for unnamed functions (or a function actually named anonymous), empty for top level scripts. This data is copied from the underlying structure when the jsdIScript instance is created and is therefore available even after the script is invalidated. (http://www.xulplanet.com/references/xpcomref/ifaces/jsdIScript.htm) --- Experimentally (in Javascript) this value is false (null I guess) for the script objects in stack frames created by eval(). I'm not sure what "emp

12/18/2006 3:51:15 AM 4 "John J. Barton" <johnjbar...@johnjbarton.com>
re: jsdIStackFrame.pc semantics

John, I may not be parsing your question correctly, but when you're inside the eval, the top of the stack will tell you you're at line 5 + whatever line of req.responseText you're at, right? (bug #332176) You'll probably want PCMAP_SOURCETEXT if you're comparing to the actual source code. PCMAP_PRETTYPRINT only makes sense if you compare against the source the way JSD formats it. -Adam > I have code like this: > -------- > var req = new XMLHttpRequest(); > > req.onreadystatechange = function() { // line 3 > if( req.readyState == 4) { > eval( req.respon

12/15/2006 8:35:32 PM 0 "Adam L. Peller" <a...@peller.org>
jsdIStackFrame.pc semantics

The doc for jsdIStackFrame.pc reads: Current program counter in this stack frame. I have code like this: -------- var req = new XMLHttpRequest(); req.onreadystatechange = function() { // line 3 if( req.readyState == 4) { eval( req.responseText); // line 5 } }; --------- When the eval() executes, within which line should I expect the program counter for the caller? I expected line 5, but it comes out on line 6. (Well the numerical value is 4 since it comes out of pcToLine relative to the start of the function). So one model is that the PC is someho

12/15/2006 5:01:00 PM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Profiler in Callgrind format

Hello, I'm a co-developer of (yet another) a web framework...Being mainly a server-side programmer, after profiling the execution using Venkman (and now also the great firebug1.0 feature) I miss the visualization quality of tools like KCacheGrind or WinCacheGrind that uses the Callgrind Format. We have a lot of classes and complex (ajax) things, and the tabular output doesn't fit very well (this kind of framework may be useless, but there's where we and thousands are) you can't follow specific threads of execution, you don't know who the callers and calles are, even the memory consum

12/12/2006 9:19:29 PM 0 "sebastianmarc...@gmail.com" <sebastianmarc...@gmail.com>
Crash when deleting dumb context from JSD_DebuggerOff()

Hello! We develop some program which uses SpiderMonkey as an interpreter for embedded language. The platform also supports debugging embedded scripts. I have a JS runtime which has some script loaded in it. Then by some request from outside I turn on debugging with JSD_DebuggerOnForUser(). After some debugging actions comes another request which results in a call to JSD_DebuggerOff(). Here, the script is still loaded, but waits for some user action, for example, for a button click on a form. While executing the call to JSD_DebuggerOff() occasionaly it results in Access Violation

12/12/2006 2:26:46 PM 0 "Dassburger" <dassbur...@gmail.com>
jsdIDebuggerService crashing FF 2.0

Hi. I have a FF extension that uses jsdIDebuggerService to extract information about errors in eval() code. It's working but it crashes FF sometime after it has done its analysis. The code is all Javascript. I set errorHook, debugHook, topLevelHook, and scriptHook, turn jsds.on(). As the page runs I store jsdIScript objects in an array but they are all deleted again. I do issue dump() and send a nsIScriptError to nsIConsoleService. I also have a nsIWebProgressListener and a consoleListener but these have been working for a while without crashing the browser. Any suggest

12/12/2006 6:16:48 AM 0 "John J. Barton" <johnjbar...@johnjbarton.com>
Funny Videos

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>hey i found some pretty funny videos at <A href="http://one.revver.com/find/user/AltimitHacker">http://one.revver.com/find/user/AltimitHacker</A>&nbsp;&nbsp; Some are just simple videos, however other ones are really funny. For example , this one made me crack up for hours. heres the link:&nbsp;&nbsp;&nbsp; <A href="http://one.revver.com/find/user/AltimitHacker#_show_video_97897">http://one.revver.com/find/user/AltimitHacker#_show_video_97897</A></P> </BODY> </HTML>

12/2/2006 3:28:30 AM 0 Andrew Showers<imsocooln...@gmail.com>
Firefox vs DOM inspector

I really like the DOM inspector that comes with Firefox 1.5.0.4 (had to do custom install and select the developer tools). When I upgraded to 1.5.0.5, that DOM inspector is incompatible. Has the DOM inspector been updated to work with the latest Firefox 1.5.0.7 yet?

10/24/2006 2:12:46 PM 0 "Dhruba Bandopadhyay" <dhruba.bandopadh...@hotmail.com>
AJAX and Memory

Hi-- I've noticed that on some AJAX heavy pages, Firefox can begin to consume huge amounts of memory even after I altered the config to cause it to not cache so much. It appears that something in the JS is causing memory to leak. Is there a way to make the garbage collection more robust or maybe see exactly what is marked for collection so I could communicate it to the web developers? Thank you all. --Sean

9/7/2006 7:34:44 PM 0 "Darkmane" <darkm...@gmail.com>
JSD_EvaluateScriptInStackFrame and "var" variables

Hello! Again me asking dumb questions. I'm stuck in the situation when I try to do JSD_EvaluateScriptInStackFrame() while executing some hook handler (interrupt hook and execution hook). This is the way I try to implement "Evaluate/Modify" and "Watch" features of the debugger. The problem arises if I try to evaluate something which contains "var"-ed variables from the script being debugged. SpiderMonkey seems to report that their values are undefined. I believe that the problem is somehow related with "variables object" and "this object" as stated in the comment to JS_EvaluateScript

8/9/2006 5:43:36 AM 0 "Dassburger" <dassbur...@gmail.com>
Strange behaviour on stepping.

Hello! One more question from me. Suppose we have the following script: =================================================== 1: var x = 5; 2: 3: Log.WriteLine('1'); 4: 5: x = x + 2; 6: 7: var y = x + 3; 8: Log.WriteLine('2'); =================================================== First, I set an execution hook at line 1, start the script. Then I add an interrupt hook and return from execution hook handler. I see a strange behaviour. SpiderMonkey seems to pass the script twice, first, it only stops at lines 1 and 7. Then it starts to execute the script as usual, line

8/2/2006 12:00:04 PM 0 "Dassburger" <dassbur...@gmail.com>
Setting breakpoints

Hello. We're using SpiderMonkey as an interpretator for embedded script language in one of our projects. Right now I'm writing a debugger for it. I have a problem with setting breakpoints while no scripts are at active execution. User wants to open some script in the debugger, set some breakpoints and execute it. How to set execution hooks with JSD in such situations? JSD_SetExecutionHook requires JSDContext, JSDScript and PCs, but they are not available before the script starts to execute. I tried to solve this by storing breakpoint lines and setting a hook at the start of tople

8/2/2006 7:56:28 AM 0 "Dassburger" <dassbur...@gmail.com>
Meaning of Visual Graph with Venkman Profiler HTML output

Hello: I think I've read all of the various links and articles on the Venkman profiler, but can't find a meaningful explanation for the graph that appears in the HTML output. >From what I can infer, it is showing the min, max and average total-time values for a specific method. What doesn't make sense is how those images relate to the larger graph-body. I would expect that it shows those min, max and average times in relation to the total time. However, doing the math (reading the HTML sizes of the various images), it doesn't seem to match. A better graph might be to show the

8/1/2006 11:45:50 PM 0 gboy...@gmail.com
Status of profiler usage?

Perused the old gmane.comp.mozilla.devel.jsdebugger<http://news.gmane.org/gmane.comp.mozilla.devel.jsdebugger>archives, then read through the archives of this list... about what I expected in terms of the overwhelming debugger:profiler ratio of questions... does that imply a similar ratio of use and interest? I'd love to hear from people who use the profiling part: what they're doing with Venkman's profiling, what their experiences are, any interesting revelations uncovered, etc. I'd be happy to receive that info personally; I can summarize back to the list if there is interest. >Fr

7/19/2006 7:52:24 PM 0 "Randy D. Smith" <randydeansm...@gmail.com>
Call count per function

Does profiler in Venkman can point out how many times one function executed another function ?

7/10/2006 9:23:31 AM 0 karpac...@gmail.com
Invisible Breakpoints

Hi, I've used venkman now for several months and since two days there are some kind of "invisible breakpoints" where there used to be a breakpoint some time ago. So the code stops there everytime altough I don't want it to. I think the problem is that I saved some breakpoints settings by accident and now don't know how to get rid of them. Does anybody know how to delete all user-related settings withou uninstalling the whole extension? Thanks for your help Thomas -- DI (FH) Thomas Schenkeli Software Development Hollomey Consultants GmbH Uhlandgasse 1 8010 Graz, Aus

7/4/2006 3:45:37 PM 0 Thomas Schenkeli <schenk...@hollomey.com>
AJAX onreadystatechange

A strange thing happens when I step through the readystatechange method of an XMLHttpRequest object. The readyState property is always '1' but when I don't step through it, it becomes 4 as expected. Can someone explain why this happens and suggest how to work through it while debugging? Thanks, Larry

6/9/2006 5:38:56 PM 0 "...@larrykagan.com" <...@larrykagan.com>
Too many files a problem in Venkman?

have noticed that attempting to debug certain pages with extremely large numbers of associated .js files with venkman crashes the browser. is this venkman or the computer or something else?

6/2/2006 7:15:25 PM 0 the4thmoon...@yahoo.com
Setting breakpoints

If I want to set a breakpoint on a given line of code in a file, I have to find the jsdIScript object which matches that line of code in a file and set the breakpoint there. Problem is, it's not a 1-1 mapping. When you have closures, you'll get overlapping jsdIScript objects. How do you know which one to set the breakpoint on? I guess you just have to determine which one is the inner-most object, or the smallest subset? I found this API interaction confusing (as well as different from setting breakpoints most debugging APIs) but I'm not sure I can make a convincing argument for wh

5/31/2006 4:10:16 PM 0 "Adam Peller" <pel...@gmail.com>
JSD: Multiple users

JSD rocks. That's all well and good. But it can only be intimate with one front end at a time without things going really pear-shaped. My question is two-fold. Should there be some way to say "I'm using JSD, hands off" so that all (sane) debuggers can see that something else is involved and just error instead of messing, or should JSD support multiple clients? (wont that be fun to code?) Could the latter option even be realistically done? -- James Ross <silver@warwickcompsoc.co.uk> Bored ChatZilla Developer

5/27/2006 1:03:00 AM 0 James Ross <sil...@warwickcompsoc.co.uk>
JSD: Stepping by line

Currently, JSD gets called (InterruptHook) from SpiderMonkey for each instruction executed in SpiderMonkey's compiled bytecode. That's not going to change, but what people have shown concern about is that JSD calls into its registered interrupt hook (usually JS) for each of these. People claim that costs time. It is interesting because it isn't just a trivial fix; Venkman, for example, actually has two quite unlinked ways of counting lines (normal, and pretty print [PP]). Of course, since PP is a specific feature of JSD's exposed interfaces, one possibility to help is to give

5/27/2006 12:56:11 AM 0 James Ross <sil...@warwickcompsoc.co.uk>
DevEdge links on hacksrus.com

On the hacksrus.com Venkman pages I noticed several mentions of documentation on the old Netscape DevEdge, which has now gone away. Rather than everyone finding the temporary mozilla mirror of that content, why not point to the parts that have already been added to the Moz Dev Centre wiki ? http://developer.mozilla.org/en/docs/Venkman http://developer.mozilla.org/en/docs/Venkman_Introduction http://developer.mozilla.org/en/docs/Using_Breakpoints_in_Venkman

5/17/2006 1:44:39 PM 0 nrtho...@gmail.com
venkman profiling - code coverage?

I've seen the execution time profiling in Venkman, but is there any way to use Venkman for code coverage statistics? Or will it be implemented in the future? Or is it easy to add using the existing APIs? Cheers // Mike

4/28/2006 1:48:08 PM 0 mike...@hotmail.com
Venkman: Displaying very long variables

Hi, Is there any possibility in Venkman to display variables that are longer than the width of the screen (e.g. very long string values)? best Regards & greetings from Austria Thomas Schenkeli

4/24/2006 10:51:58 AM 0 Thomas Schenkeli <schenk...@hollomey.com>
Possible Venkman Bugs: Floating and Unfloating Views, Closing Venkman

Hi, I'm using the newest Venkman Version 0.9.87 under Firefox 1.5.0.2 and Windows XP Professional (Venkman has been installed as an Extension to Firefox) and when using Venkman two problems occur: 1) When I add a watch expression to the watch-view and then unfloat this view everything works fine, the watch expression is still displayed and evaluated. But when I float the view again the watch-expressions are all gone an no more watch expressions can be added 2) When I close Venkman and all other Firefox-windows the firefox-process is still running and Vankman can not be resta

4/24/2006 9:54:40 AM 0 Thomas Schenkeli <schenk...@hollomey.com>
New Venkman

There is now a venkman 0.9.87 that works with FF 1.5.0.2. Tools->Extensions will find it, or search "debugger" at https://addons.mozilla.org/firefox/ Richard

4/15/2006 11:25:50 PM 0 Richard Kramer <re...@to.group>
problems on firefox 1.5.0.1

hi list, i use Venkman 0.9.86 from http://getahead.ltd.uk/ajax/venkman, which seemed to work first. I get the following message in "Interactive Session": "This version of Venkman is meant to work with a 0.9.86 locale, but you are currently using a locale marked 0.9.85. Chances are, you're going to have problems. Please change to the default locale, or upgrade your language pack." Debugging simple script like this (from http://www.svendtofte.com/code/learning_venkman/basics.php) doesn't work: &lt;script > var a = 1; function test(a) { var t = "passed : "; return t + a; }

3/28/2006 6:15:55 PM 0 Thomas Mammitzsch <dev-apps-js-debug...@lists.mozilla.org>
venkman 0.9.87 (tbird & ff)

I've just fixed few Venkman annoyances: - makes venkman work on firefox & thunderbird - moves venkman to the ff 1.5 chrome.manifest (no mo RDF) - makes -venkman command line option work again - integrates 0.9.86 fixes that were floating on the web - bumps the version number to 0.9.87 The source patch is attached to: https://bugzilla.mozilla.org/show_bug.cgi?id=276075 Someone should check this in. It's been a while since I've checked into the mozilla tree. Aleks

2/14/2006 8:04:36 AM 0 Aleks Totic <...@totic.org>

Pages: 2











Newest Articles

[Hendrix] generic valtrex xjs
15 min. 45 sec. ago

[Hendrix] не открывает страницы
35 min. 1 sec. ago

[Hendrix] Add Ons
41 min. 6 sec. ago

[Hendrix] Feedback on Firefox.Exe
47 min. 45 sec. ago

Empty trash and compact folders in ver 3.6
56 min. 25 sec. ago