Opened 11 years ago
Last modified 10 years ago
#10443 closed enhancement
Provide stack traces on doh errors — at Version 1
Reported by: | Adam Peller | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | TestFramework | Version: | 1.4.0b |
Keywords: | Cc: | alex, dante, James Burke, [email protected]… | |
Blocked By: | Blocking: |
Description (last modified by )
From Julian Cerruti (IBM):
This patch modifies doh to send Error objects generated inside unit tests to console.error instead of console.debug, if we're running inside Firefox and that method is available.
This adds the stack trace together with the Error object in the Firebug console. Also, the objects in the Firebug console are actionable and can be inspected.
If using dojo, this works specifically well if matched with Firebug 1.5 (b5 or later), which properly jumps to the proper source code file and line when clicking on each method in the stack trace.
Change History (2)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|
Changed 11 years ago by
Attachment: | doh-stack-trace.diff added |
---|
Note: See
TracTickets for help on using
tickets.
Patch from Julian Cerruti (IBM)