Closed Bug 551818 Opened 16 years ago Closed 15 years ago

Please add file filters to Venkman JS debugger exception break/trace traps.

Categories

(Other Applications Graveyard :: Venkman JS Debugger, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 260042

People

(Reporter: shadowcreeper, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8 Please add a way to ignore certain files (or conversly, to only include certain files) from the break/trace on error/exception code in the Venkman JavaScript debugger. Valid code such as the following (which is built into RichFaces and I cannot change): var E; try{E=C.selectNodes('.//*[local-name()="'+A+'"]') }catch(B){try{E=C.getElementsByTagName(A) }catch(D){LOG.debug("getElementsByTagName found no elements, "+D.Message) }}return E ...always throws an exception in FireFox, this happens several times for each AJAX call making JavaScript debugging next to impossible... Reproducible: Always Steps to Reproduce: 1.include javascript code in your page which throws, catches and ignores an excpetion 2.load venkman and set to break on exceptions 3.run the above-mentioned javascript code and watch your inability to quit breaking on the above ignored exception Actual Results: This happens several times for each AJAX call in a RichFaces project, causing exception/error breaking to be essentially useless in such projects. Also, they happen so much and so often as to cause trace logs to scroll past the real problem that I am trying to debug. Expected Results: Somehow tell the debugger to ignore exceptions/errors from certain files (or conversly, to only trace/break on exceptions/errors from certain files), thus allowing the developer to ignore the common and expected exceptions which are inevitable due to attempts at cross-browser compatibility.
Component: Developer Tools → Venkman JS Debugger
Product: Firefox → Other Applications
QA Contact: developer.tools → venkman
Oops, I was under the impression that my original bug report did not send due the the message I was prompted with after trying to send it, so I created this one later. Here is the original report I filed (with less details): https://bugzilla.mozilla.org/show_bug.cgi?id=548631 I will now try to mark it as a duplicate of this bug. -Shadow
Another possibility which would work just as good (brought to my attention by a Firebug developer), would be to allow for a tabbed list of consoles (1 tab for each URL). Each tab would then have its own buffer such that trace output would not scroll out of control due to other files with expected errors being thrown. This request was intended to make it easier to find where a problem is, and thus a decent log of the errors (a log that does not scroll out of control from being spammed by other files which create expected-and-ignored exceptions due to cross browser compatibility attempts). Thanks -Shadow
PS -- Firebug does not have this ability either (the firebug developer was mentioning possibilities, not current functionality). -Shadow
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.