-
-
Save pmuellr/312a55532fac0296f2ab to your computer and use it in GitHub Desktop.
the anal retentive stack trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------- | |
error: ReferenceError: description is not defined | |
--------------------------------------------------------- | |
stack: | |
WeinreTargetCommands.coffee:21 - WeinreTargetCommands.registerTarget() | |
messageHandler.coffee:29 - MessageHandler._serviceMethodInvoker() | |
messageHandler.coffee:15 - MessageHandler.handleMessage() | |
Channel.coffee:74 - Channel.handleMessages() | |
HttpChannelHandler.coffee:102 - handlePost() | |
HttpChannelHandler.coffee:64 - HttpChannelHandler.baseHandle() | |
HttpChannelHandler.coffee:40 - HttpChannelHandler.handle() | |
weinre.coffee:83 - app.use.express.errorHandler.dumpExceptions() | |
index.js:272 - callbacks() | |
index.js:246 - param() |
Guess I should really line up the file extensions on the left hand side, then right indent the line numbers, separating the file name from the line number with whitespace. THIS WEEKEND!
so, it should look like this:
---------------------------------------------------------
error: ReferenceError: description is not defined
---------------------------------------------------------
stack:
WeinreTargetCommands.coffee 21 - WeinreTargetCommands.registerTarget()
messageHandler.coffee 29 - MessageHandler._serviceMethodInvoker()
messageHandler.coffee 15 - MessageHandler.handleMessage()
Channel.coffee 74 - Channel.handleMessages()
HttpChannelHandler.coffee 102 - handlePost()
HttpChannelHandler.coffee 64 - HttpChannelHandler.baseHandle()
HttpChannelHandler.coffee 40 - HttpChannelHandler.handle()
weinre.coffee 83 - app.use.express.errorHandler.dumpExceptions()
index.js 272 - callbacks()
index.js 246 - param()
BTW, this stack trace was created in node using V8's stack trace API.
heh, "Mueller format"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should note, the line numbers for the .coffee files reflect the generated JS, not the CoffeeScript file (FOR NOW!)