Closed Bug 195172 Opened 22 years ago Closed 22 years ago

Add ability to save and restore breakpoints and watches

Categories

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

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rginda, Assigned: rginda)

Details

Attachments

(1 file, 2 obsolete files)

smontagu requested the ability to save and restore breakpoint and watch settings. This patch adds the following functionality... save-settings: saves breakpoint and watch settings to a .js file, which can be executed by the debugger to restore the settings. restore-settings: mostly just an alias for /loadd, which can be used to execute a settings file. In addition to what /loadd normally provides, this command will pop up a file chooser if no filename is given. save-watches: saves only the watche settings to a .js file. save-breakpoints: saves only the breakpoints settings to a .js file. I'll add an option to always remember these settings between debugger invocations, before checking in. The patch is available as venkman 0.9.49, from http://www.hacksrus.com/~ginda/venkman/.
Attached patch oops, forgot MODE_TRUNCATE (obsolete) — Splinter Review
same patch, except with MODE_TRUNCATE to truncate the settings files before writing. I updated 0.9.49 in place (no new version number.)
Attachment #115716 - Attachment is obsolete: true
Here is the latest stuff. Feel free to review and comment. I added a few other features in this patch, see news://news.mozilla.org:119/b3muhc$sp21@ripley.netscape.com for the full details. This is available as 0.9.50 on hacksrus. I'll probably check it in later today.
Attachment #115718 - Attachment is obsolete: true
fixed
Status: NEW → RESOLVED
Closed: 22 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.

Attachment

General

Creator:
Created:
Updated:
Size: