-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of numeric script ID when debug breakpoint is hit (#46)
This PR fixes issue introduced in fc3f800 where numeric script IDs were expected to be numbers. This is not inline with CDP spec, as the IDs are always strings. As a result we were attempting to parse those numeric IDs as URLs which resulted in an exception being thrown and debugger getting stuck without visual indicator. In this PR I'm also addressing issue with touch events getting triggered when debug overlay is present. This resulted in touches being sent to device when someone would click the resume button. As a consequence when button was placed over an item with click event and breakpoint set, we'd be stuck in a breakpoint loop.
- Loading branch information
Showing
2 changed files
with
37 additions
and
22 deletions.
There are no files selected for viewing
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
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