• |  | Bug Reporting

Bug Reporting
help-desk: report-bug
saved-bug-report-titles/ ids
discard-all-saved-bug-reports
brinfo

5.92
top ← prev up next →

## Bug Reporting

(require help/bug-report) | package: drracket

> > procedure
> > (help-desk:report-bug | [ | this-bug-id |  |  |  |
> > |  | #:frame-mixin frame-mixin]) |  | → |  | void?
> this-bug-id : #f = (or/c #f exact-positive-integer?)
> frame-mixin : (make-mixin-contract frame%) = values

Opens a bug report window to edit the but report identified by this-bug-id. If this-bug-id is #f, then creates a new bug ID and uses that one.

The frame-mixin argument is passed the frame class before creating the window.

> procedure (saved-bug-report-titles/ids) → (listof brinfo?)

Returns a list of the saved bug reports.

> procedure (discard-all-saved-bug-reports) → void?

Deletes all of the saved bug reports, except those currently open in frames.

> > struct
> > (struct |  | brinfo (title id)
> > |  | #:extra-constructor-name make-brinfo
> > |  | #:transparent)
> title : label-string?
> id : number?

A record representing a saved bug report. The id field is suitable for use with help-desk:report-bug, and the label field is suitable for use in a GUI control.
top ← prev up next →