Skip to content

Set a high stack trace limit in command-line and server scenarios#17464

Merged
1 commit merged into
masterfrom
stackTraceLimit
Aug 2, 2017
Merged

Set a high stack trace limit in command-line and server scenarios#17464
1 commit merged into
masterfrom
stackTraceLimit

Conversation

@ghost

@ghost ghost commented Jul 27, 2017

Copy link
Copy Markdown

This would make errors easier to debug.
Tested by adding Debug.assert(!ts.endsWith(getSourceFileOfNode(node).fileName, "honeypot.ts")); inside of checkLiteralExpression, and got a full stack trace when running node ../../TypeScript/built/local/tsc.js honeypot.ts. Also tested it in vscode and got a full stack trace in tsserver.log.

@ghost ghost requested review from RyanCavanaugh and rbuckton July 27, 2017 21:17
@ghost ghost merged commit bb34bce into master Aug 2, 2017
@ghost ghost deleted the stackTraceLimit branch August 2, 2017 19:40
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants