Wiki

Changes between Version 5 and Version 6 of DetailedStackTrace

Show
Ignore:
Timestamp:
07/18/11 04:19:16 (6 years ago)
Author:
Charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DetailedStackTrace

    v5 v6  
    22{{{ 
    33cobra -er -dst myprogram.cobra 
     4}}} 
     5 
     6In a nutshell, when the program throws an uncaught exception, an HTML report will be generated which includes the stacktrace, the objects on the stack trace and their properties. This can be really useful for inspecting the state of a program. You can even force it like so: 
     7 
     8{{{ 
     9#!cobra 
     10assert false, {'customer': customer, 'product': product} 
    411}}} 
    512