-
Notifications
You must be signed in to change notification settings - Fork 929
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
Conversation
455f6fc
to
f0794fe
Compare
df9e713
to
eaa4aa0
Compare
constructor (blockchain) { | ||
super(profile) | ||
constructor (blockchain, editor, offsetToLineColumnConverter) { | ||
super(profile) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 */ |
There was a problem hiding this comment.
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
?
No description provided.