Closed Bug 119827 Opened 24 years ago Closed 23 years ago

Need to prevent users from exiting debug target while stopped

Categories

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

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: caillon, Assigned: rginda)

References

Details

Steps to reproduce on Linux 2002011108: 0. Have Venkman ready to pick up new JS files (eg, init at startup turned on) 1. Edit > Preferences > Privacy > Cookies > View Stored Cookies. 2. Set a breakpoint within CookieSelected() in CookieViewer.js 3. Select a cookie. The breakpoint is activated. 4. Cancel or close cookie viewer. Actual results: We are still at the breakpoint in the halted state. Expected results: We should exit out of the breakpoint, as if execution has finished.
I'm not so sure about that. I think maybe the debug target should be disabled while you're stopped. Not only should this prevent you from closing the window, it should also stop you from interacting with the window in any fashion.
That is an alternative which I hadn't thought of too. I actually like that idea better. Please fix not being able to debug modal windows first though (bug 100677). That would lead to some interesting situations :)
re: modal debugging, Good Point. I've got code which turns off js on the window while it is stopped, but that doesn't keep the user from dismissing a window via a windowmanager widget of some sort. I'll need to think of something else there.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Summary: Closing the last window using the current debugged JS file should not leave Venkman stopped at a breakpoint → Need to prevent users from exiting debug target while stopped
Moving Netscape owned 0.9.9 and 1.0 bugs that don't have an nsbeta1, nsbeta1+, topembed, topembed+, Mozilla0.9.9+ or Mozilla1.0+ keyword. Please send any questions or feedback about this to adt@netscape.com. You can search for "Moving bugs not scheduled for a project" to quickly delete this bugmail.
Target Milestone: mozilla1.0 → mozilla1.2
Target Milestone: mozilla1.2 → mozilla1.0
Depends on: 129591
I checked in the venkman changes to make this work in bug 100677. Linux users will have to wait for bug 129591, all other platforms should be fixed.
if bug 129591 get's fixed for 1.0, this will too. It doesn't look like 129591 is going to make it, so speak up now if you care.
Target Milestone: mozilla1.0 → Future
fixed by check-in for bug 129591
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.