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

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 bug 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.

Returns a list of the saved bug reports.

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

procedure

(unsave-bug-report bug-id)  void?

  bug-id : exact-positive-integer?
Deletes the saved bug report identified by bug-id.

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.