drscheme:debug:show-error-and-highlight in DrScheme Tools Functions
(drscheme:debug:show-error-and-highlight-> anymsgexnhighlight-errors)
msg: string?
exn: (union any/c exn?)
highlight-errors: ((listof srcloc?) (union false/c (listof (list/c (is-a?/c text%) number? number?))) . -> . any)The first two arguments are the same as the arguments to the error-display-handler. This function prints the error message to the current-error-port, like the default error-display-handler and also calls
highlight-errorsto do error highlighting. It is be passed the stack trace for the error message.This function should be called on the same thread/eventspace where the error happened.