1
vote
0answers
17 views

Break on error, but not on these specific lines?

I hope i am not alone in noticing that various versions of jQuery tend to have strange non-showstopper errors that get thrown but which are caught, and yet this tends to set off the debugger on Chrome ...
0
votes
2answers
37 views

How can I catch JS exceptions from async functions I don't control?

I know using try..catch for async functions doesn't work, and most advice I've read suggests using it inside the passed callback. However, without control over the async function which throws the ...
-3
votes
1answer
90 views

Exception of type 'System.OutOfMemoryException' was thrown. after page load in asp.net c# [closed]

I have a web form in asp.net that every time I try to access it, it throws the following exception Exception of type 'System.OutOfMemoryException' was thrown It does enter the page load and finishes ...
1
vote
1answer
156 views

ExtJs exceptions immediately break all ExtJs components on a page

If you've ever worked with ExtJs, you've probably run into the nefarious "Cannot read property 'dom' of null" exception. For me, it usually happens inside doInsert (the last of 14 stacks in the outer ...
2
votes
3answers
51 views

Catch statement does not catch thrown error

For some reason this code gives me an uncaught exception error. It seems the catch block is not catching the error. Are try catch blocks scoped in such a way that I cannot throw an error in a nested ...
0
votes
0answers
102 views

Ultidev web server fails to create ActiveXObject(“Outlook.Application”) object

I am hosting an intranet ASP.net site using Ultidev web server. Test Page contains JavaScript as below. Upon running this hosted page from ultidev web server, it is giving me the exception: ...
3
votes
3answers
65 views

What's the different between Error and Exception in Javascript

It seems that Error and Exception are the same things, both of them can be throwed by 'throw' statement, and catched by 'try-catch' block.
0
votes
1answer
60 views

How to track javascript errors in production?

I minify my all javascript files when deploying to the production server and it became really hard to track javascript errors via window.onerror event. It doesn't provide a stack trace or column ...
0
votes
0answers
43 views

Javascript Dealing With Errors

I wanted to know what javascript is doing when it encounters errors (uncaught with a catch block) . Let's say I have a simple syntax error , I forgot to close a function call with a closing ...
0
votes
2answers
88 views

continue javascript execution after error without a lot of try catch statements

let's say, i have 50 lines of javascript statements in a block. is there a way that the script continues to run if any one of the lines got an error, without using a lot of try catch blocks for each ...
1
vote
1answer
64 views

Is throwing an exception in javascript/nodejs really that bad?

I'm reading about error handling in nodejs, and I came across something unsettling while reading this document: http://nodejs.org/api/domain.html It says "By the very nature of how throw works in ...
1
vote
0answers
31 views

Is it possible to prevent specific exceptions from being thrown?

Is there a way to 'whitelist' - or prevent - specific errors from being thrown in a try catch block? For instance, say I have an exception that I know about and don't want to log. However, I want to ...
0
votes
1answer
263 views

Java Jackson: deserialize complex polymorphic object model: JsonMappingException: Unexpected token (START_OBJECT), expected VALUE_STRING

I have this tree of objects A B extends A C extends B D extends B E extends C F extends A and has one reference to A A has the following annotation ...
7
votes
3answers
168 views

Why would an exception cause resource leaks in Node.js?

UPDATE I've Written a blog explaining the answer to this a bit better now. Check it out Original Question: If you look at the beginning of the Node.js documentation for domains it states: By ...
4
votes
1answer
175 views

How can I get the stack trace for a JavaScript exception in IE 8?

When a JavaScript exception is thrown in IE 8, how can I see its stack trace? For example, the following code from jQuery catches an exception and rethrows it. Debugging in Visual Studio (2012), ...

1 2 3 4 5 12
15 30 50 per page