Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
8cd4a356
Commit
8cd4a356
authored
Oct 04, 2018
by
Iuri Matias
Committed by
yann300
Nov 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move breakpoint event from ui to debugger
parent
f69e6b2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
debugger.js
src/app/debugger/debugger/debugger.js
+4
-0
debuggerUI.js
src/app/debugger/debuggerUI.js
+0
-4
No files found.
src/app/debugger/debugger/debugger.js
View file @
8cd4a356
...
@@ -52,6 +52,10 @@ function Debugger (options) {
...
@@ -52,6 +52,10 @@ function Debugger (options) {
self
.
event
.
trigger
(
'debuggerStatus'
,
[
false
])
self
.
event
.
trigger
(
'debuggerStatus'
,
[
false
])
})
})
this
.
event
.
register
(
'breakpointStep'
,
function
(
step
)
{
self
.
step_manager
.
jumpTo
(
step
)
})
this
.
debugger
.
addProvider
(
'vm'
,
this
.
executionContext
.
vm
())
this
.
debugger
.
addProvider
(
'vm'
,
this
.
executionContext
.
vm
())
this
.
debugger
.
addProvider
(
'injected'
,
this
.
executionContext
.
internalWeb3
())
this
.
debugger
.
addProvider
(
'injected'
,
this
.
executionContext
.
internalWeb3
())
this
.
debugger
.
addProvider
(
'web3'
,
this
.
executionContext
.
internalWeb3
())
this
.
debugger
.
addProvider
(
'web3'
,
this
.
executionContext
.
internalWeb3
())
...
...
src/app/debugger/debuggerUI.js
View file @
8cd4a356
...
@@ -80,10 +80,6 @@ class DebuggerUI {
...
@@ -80,10 +80,6 @@ class DebuggerUI {
self
.
isActive
=
isActive
self
.
isActive
=
isActive
})
})
this
.
transactionDebugger
.
event
.
register
(
'breakpointStep'
,
function
(
step
)
{
self
.
stepManager
.
stepManager
.
jumpTo
(
step
)
})
this
.
transactionDebugger
.
event
.
register
(
'newSourceLocation'
,
function
(
lineColumnPos
,
rawLocation
)
{
this
.
transactionDebugger
.
event
.
register
(
'newSourceLocation'
,
function
(
lineColumnPos
,
rawLocation
)
{
self
.
sourceHighlighter
.
currentSourceLocation
(
lineColumnPos
,
rawLocation
)
self
.
sourceHighlighter
.
currentSourceLocation
(
lineColumnPos
,
rawLocation
)
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment