{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/96","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/96/comments","events_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/96/events","html_url":"https://github.com/Microsoft/nodejstools/issues/96","id":73114522,"number":96,"title":"Please print the stack trace when an error is encountered when parsing tests","user":{"login":"NoelAbrahams","id":1106823,"avatar_url":"https://avatars.githubusercontent.com/u/1106823?v=3","gravatar_id":"","url":"https://api.github.com/users/NoelAbrahams","html_url":"https://github.com/NoelAbrahams","followers_url":"https://api.github.com/users/NoelAbrahams/followers","following_url":"https://api.github.com/users/NoelAbrahams/following{/other_user}","gists_url":"https://api.github.com/users/NoelAbrahams/gists{/gist_id}","starred_url":"https://api.github.com/users/NoelAbrahams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoelAbrahams/subscriptions","organizations_url":"https://api.github.com/users/NoelAbrahams/orgs","repos_url":"https://api.github.com/users/NoelAbrahams/repos","events_url":"https://api.github.com/users/NoelAbrahams/events{/privacy}","received_events_url":"https://api.github.com/users/NoelAbrahams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/nodejstools/labels/fun-size","name":"fun-size","color":"c7def8"},{"url":"https://api.github.com/repos/Microsoft/nodejstools/labels/up-for-grabs","name":"up-for-grabs","color":"00DC00"}],"state":"closed","locked":false,"assignee":{"login":"mousetraps","id":762848,"avatar_url":"https://avatars.githubusercontent.com/u/762848?v=3","gravatar_id":"","url":"https://api.github.com/users/mousetraps","html_url":"https://github.com/mousetraps","followers_url":"https://api.github.com/users/mousetraps/followers","following_url":"https://api.github.com/users/mousetraps/following{/other_user}","gists_url":"https://api.github.com/users/mousetraps/gists{/gist_id}","starred_url":"https://api.github.com/users/mousetraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mousetraps/subscriptions","organizations_url":"https://api.github.com/users/mousetraps/orgs","repos_url":"https://api.github.com/users/mousetraps/repos","events_url":"https://api.github.com/users/mousetraps/events{/privacy}","received_events_url":"https://api.github.com/users/mousetraps/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/nodejstools/milestones/3","html_url":"https://github.com/Microsoft/nodejstools/milestones/June","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/milestones/3/labels","id":1060982,"number":3,"title":"June","description":"","creator":{"login":"AndreSayreMSFT","id":10080679,"avatar_url":"https://avatars.githubusercontent.com/u/10080679?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreSayreMSFT","html_url":"https://github.com/AndreSayreMSFT","followers_url":"https://api.github.com/users/AndreSayreMSFT/followers","following_url":"https://api.github.com/users/AndreSayreMSFT/following{/other_user}","gists_url":"https://api.github.com/users/AndreSayreMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreSayreMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreSayreMSFT/subscriptions","organizations_url":"https://api.github.com/users/AndreSayreMSFT/orgs","repos_url":"https://api.github.com/users/AndreSayreMSFT/repos","events_url":"https://api.github.com/users/AndreSayreMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/AndreSayreMSFT/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":14,"state":"open","created_at":"2015-04-09T21:08:23Z","updated_at":"2015-06-16T00:23:25Z","due_on":"2015-06-27T07:00:00Z","closed_at":null},"comments":9,"created_at":"2015-05-04T20:05:57Z","updated_at":"2015-06-16T09:10:49Z","closed_at":"2015-06-09T18:58:53Z","body":"Hi,\r\n\r\nWhen there is an error in a test file NTVS current prints out the following on the \"Tests\" output window:\r\n\r\n```\r\n------ Discover test started ------\r\nProcessing: D:\\foo\\bar\\bar.test.js;<plus some 100 file names>;D:\\foo\\bar\\baz.test.js\r\nTypeError: Cannot read property 'foo' of undefined\r\nProcessing finished for framework of ExportRunner\r\nDiscovered 0 testcases.\r\n========== Discover test finished: 0 found (0:00:02.0461167) ==========\r\n```\r\n\r\nFrom the above, it's impossible to tell which file has the actual error.\r\n\r\nPlease make this more user-friendly.\r\n\r\n* The long list of files is not very useful.\r\n* Print a stack trace with the error.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/comments/112351819","html_url":"https://github.com/Microsoft/nodejstools/issues/96#issuecomment-112351819","issue_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/96","id":112351819,"user":{"login":"NoelAbrahams","id":1106823,"avatar_url":"https://avatars.githubusercontent.com/u/1106823?v=3","gravatar_id":"","url":"https://api.github.com/users/NoelAbrahams","html_url":"https://github.com/NoelAbrahams","followers_url":"https://api.github.com/users/NoelAbrahams/followers","following_url":"https://api.github.com/users/NoelAbrahams/following{/other_user}","gists_url":"https://api.github.com/users/NoelAbrahams/gists{/gist_id}","starred_url":"https://api.github.com/users/NoelAbrahams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoelAbrahams/subscriptions","organizations_url":"https://api.github.com/users/NoelAbrahams/orgs","repos_url":"https://api.github.com/users/NoelAbrahams/repos","events_url":"https://api.github.com/users/NoelAbrahams/events{/privacy}","received_events_url":"https://api.github.com/users/NoelAbrahams/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T09:10:49Z","updated_at":"2015-06-16T09:10:49Z","body":"@mousetraps, the debugger is working on the latest dev build - so thanks for that.\r\n\r\nThis issue has not been fixed. To reproduces try out some code like the following:\r\n\r\n```javascript\r\n\r\nthrow 'foo'; // Error in the top level\r\n\r\nfunction mytest() {\r\n}\r\n```"}}