Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of numeric script ID when debug breakpoint is hit #46

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

kmagiera
Copy link
Member

@kmagiera kmagiera commented Mar 28, 2024

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.

Copy link

vercel bot commented Mar 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-native-ide ✅ Ready (Inspect) Visit Preview Mar 28, 2024 11:06am

@kmagiera kmagiera merged commit 420f6f1 into main Mar 28, 2024
3 checks passed
@kmagiera kmagiera deleted the kmagiera/fix-debug-with-ids branch April 23, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant