Wiki
Version 2 (modified by Chuck, 15 years ago)

--

Example:

cobra -er -dst myprogram.cobra

From cobra -h:

-exception-report[:no|yes]
-exc-rpt, -er

Turn on an informative HTML report that will be generated if the program throws an uncaught exception. Also, see ObjectExplorer-WinForms.cobra and its doc string for an alternative, GUI approach.

-detailed-stack-trace[:no|yes]
-dst

Enable a detailed stack trace which gives great postmortem information for uncaught exceptions, but slows execution. Works in combination with -exception-report, or see ObjectExplorer-WinForms.cobra and its doc string for ideas on how to present this information graphically.

For interactive browsing and inspection of objects, see ObjectExplorer.

See also: DebuggingSansDebugger, DebuggingTopics