Closed Bug 424493 Opened 14 years ago Closed 3 years ago

copy stack frame on a native-code frame fails

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ajschult784, Assigned: rginda)

References

Details

If I have a x-jsd:native-code frame in the call stack pane and I select it and then select Copy Selected Frames from the context menu, I get:

onMenuCommand: Missing required parameter jsdFrame @ <chrome://venkman/content/venkman-menus.js> 56
(Noticed from bug 443484 comment 3.)

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.2pre) Gecko/2008070402 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)

{{
onMenuCommand: Missing required parameter jsdFrame @ <chrome://venkman/content/venkman-menus.js> 56
copy-frames <jsd-frame> [<...>]
}}
OS: Linux → All
Hardware: PC → All
(In reply to comment #1)

And Error Console reports
{{
Error: rec.scriptWrapper is null
Source File: chrome://venkman/content/venkman-views.js
Line: 2172
}}
(In reply to comment #2)

From bug 216452,

new |if (rec.scriptWrapper.jsdScript.isValid)|
doesn't seem to (correctly) match
existing |if (rec.scriptWrapper)|;

also, it seems |var line| can be used uninitialized:
fix (or add a comment).
Blocks: 216452
Could either of you cook up concrete steps to reproduce? Thank you! :-)
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b1pre) Gecko/20080930003201 SeaMonkey/2.0a2pre] (nightly) (W2Ksp4)

May not be minimal, but that's an example (from comment 1):

1. Revert bug 443484 fix.
2. Start a new profile.
3. Start Venkman; set it to stop on exceptions and show browser files.
4. Start ChatZilla.
5. On first exception, unset the stop for exceptions and set a breakpoint on the line from step 1. (which is 829 currently)
6. "Continue"
7. When it (eventually) stops on the breakpoint, you can try and see this bug.
Duplicate of this bug: 520358
Component is obsolete so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.