Bug 121010
| Summary: | "Stop on uncaught exceptions" catches all exceptions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Paul Miller <paul+bugs> |
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | graouts, joepeck, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Paul Miller
Enable “Breakpoints on all uncaught exceptions”.
Works:
try {throw new Error()} catch(e) {}
Does not work:
function f() {throw new Error();};
try {f()} catch(e) {}
Basically there is a simple check for `try` in current context.
This is ultra-annoying bug and happens on all sites all the time (for example, with jQuery).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/14940711>
Joseph Pecoraro
I've been in this area (breakpoints) I'll take a look. Assigning to myself.
Paul Miller
*** This bug has been marked as a duplicate of bug 93607 ***