Skip to content

fix(debugger): Enable iOS inspector modules on creation #6904

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

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

mbektchiev
Copy link
Contributor

When the application is being debugged with --debug-brk --bundle
options, the JS implementation objects handling the debugging protocol
are created after their corresponding domains' enable methods have
been called by the debugger frontend. As a workaround we now manually
call enable in their constructors.

related to NativeScript/ios-jsc#1055 and NativeScript/ios-jsc#1057

PR Checklist

What is the current behavior?

The Elements, DOM, CSS, and Networking inspector modules are enabled when the enable event is received from the debugger.

What is the new behavior?

The Elements, DOM, CSS, and Networking inspector modules are enabled explicitly in their constructors.

@mbektchiev mbektchiev added the bug label Feb 14, 2019
@mbektchiev mbektchiev self-assigned this Feb 14, 2019
@ghost ghost added the in progress label Feb 14, 2019
When the application is being debugged with `--debug-brk --bundle`
options, the JS implementation objects handling the debugging protocol
are created after their corresponding domains' `enable` methods have
been called by the debugger frontend. As a workaround we now manually
call `enable` in their constructors.

related to NativeScript/ios-jsc#1055 and
NativeScript/ios-jsc#1057
@mbektchiev mbektchiev force-pushed the bektchiev/enable-ios-inspector-modules branch from 502e471 to 1b5d307 Compare February 15, 2019 16:16
@Natalia-Hristova Natalia-Hristova merged commit 2b58cae into master Feb 15, 2019
@ghost ghost removed bug in progress labels Feb 15, 2019
@Natalia-Hristova Natalia-Hristova deleted the bektchiev/enable-ios-inspector-modules branch February 15, 2019 17:00
@lock
Copy link

lock bot commented Feb 15, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants