6 Programmatically Extracting Stack-trace Information

▼ |  | Errortrace: Debugging and Profiling

1 | Quick Instructions
2 | Installing Errortrace
3 | Using Errortrace
4 | Errortrace Library
5 | Re-using Errortrace Stack Tracing
6 | Programmatically Extracting Stack-trace Information
7 | Errortrace Key

On this page:

errortrace-continuation-mark-set->context

Racket
top contents ← prev up next →

## 6 Programmatically Extracting Stack-trace Information🔗ℹ

(require errotrace/marks-to-context)

> parameter (errortrace-continuation-mark-set->context)
> → (or/c #f (-> continuation-mark-set? (listof srcloc?)))
> (errortrace-continuation-mark-set->context proc) → void?
> proc : (or/c #f (-> continuation-mark-set? (listof srcloc?)))
> = | (λ (x) #f)

Extracts the list of source locations recorded by with-mark from the given continuation marks, if it is a procedure. This parameter is expected to be set by an instantiation of the units documented above, e.g., by requiring the errortrace library or by enabling Debugging in DrRacket’s language configuration dialog.

Added in version 1.6.

top contents ← prev up next →