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 Debugger plugin API #573

Merged
merged 12 commits into from
Nov 12, 2020
Merged

Fix Debugger plugin API #573

merged 12 commits into from
Nov 12, 2020

Conversation

yann300
Copy link
Contributor

@yann300 yann300 commented Nov 11, 2020

No description provided.

@yann300 yann300 force-pushed the fixGetTrace branch 4 times, most recently from df9e713 to eaa4aa0 Compare November 11, 2020 16:59
constructor (blockchain) {
super(profile)
constructor (blockchain, editor, offsetToLineColumnConverter) {
super(profile)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space

@@ -81,12 +84,57 @@ class DebuggerTab extends ViewPlugin {

debug (hash) {
this.debugHash = hash
this.debugHashRequest++// so we can trigger a debug using the same hash 2 times in a row. that's needs to be improved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be one space is required between ++ and //

this.getTraceHash = hash
this.renderComponent()
if (!hash) return
return new Promise(async (resolve, reject) => { /* eslint-disable-line */
Copy link
Collaborator

@Aniket-Engg Aniket-Engg Nov 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not directly make method async?

@yann300 yann300 merged commit 828ee0b into master Nov 12, 2020
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.

3 participants