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
2ec51c3b
Commit
2ec51c3b
authored
Feb 13, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove jump next call
parent
6f3dba44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
ButtonNavigator.js
src/ui/ButtonNavigator.js
+0
-7
StepManager.js
src/ui/StepManager.js
+0
-15
No files found.
src/ui/ButtonNavigator.js
View file @
2ec51c3b
...
@@ -10,7 +10,6 @@ function ButtonNavigator (_parent, _traceManager) {
...
@@ -10,7 +10,6 @@ function ButtonNavigator (_parent, _traceManager) {
this
.
overBackDisabled
=
true
this
.
overBackDisabled
=
true
this
.
intoForwardDisabled
=
true
this
.
intoForwardDisabled
=
true
this
.
overForwardDisabled
=
true
this
.
overForwardDisabled
=
true
this
.
nextCallDisabled
=
true
this
.
jumpOutDisabled
=
true
this
.
jumpOutDisabled
=
true
this
.
traceManager
=
_traceManager
this
.
traceManager
=
_traceManager
...
@@ -67,8 +66,6 @@ ButtonNavigator.prototype.render = function () {
...
@@ -67,8 +66,6 @@ ButtonNavigator.prototype.render = function () {
</button>
</button>
<button id='overforward' title='step over forward' class='fa fa-angle-double-right' style=
${
ui
.
formatCss
(
style
.
button
)}
onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepOverForward'
)
}
} disabled=
${
this
.
overForwardDisabled
}
>
<button id='overforward' title='step over forward' class='fa fa-angle-double-right' style=
${
ui
.
formatCss
(
style
.
button
)}
onclick=
${
function
()
{
self
.
event
.
trigger
(
'stepOverForward'
)
}
} disabled=
${
this
.
overForwardDisabled
}
>
</button>
</button>
<button id='nextcall' title='step next call' class='fa fa-chevron-right' style=
${
ui
.
formatCss
(
style
.
button
)}
onclick=
${
function
()
{
self
.
event
.
trigger
(
'jumpNextCall'
)
}
} disabled=
${
this
.
nextCallDisabled
}
>
</button>
<button id='jumpout' title='jump out' class='fa fa-share' style=
${
ui
.
formatCss
(
style
.
button
)}
onclick=
${
function
()
{
self
.
event
.
trigger
(
'jumpOut'
)
}
} disabled=
${
this
.
jumpOutDisabled
}
>
<button id='jumpout' title='jump out' class='fa fa-share' style=
${
ui
.
formatCss
(
style
.
button
)}
onclick=
${
function
()
{
self
.
event
.
trigger
(
'jumpOut'
)
}
} disabled=
${
this
.
jumpOutDisabled
}
>
</button>
</button>
<div id='reverted' style="display:none">
<div id='reverted' style="display:none">
...
@@ -90,7 +87,6 @@ ButtonNavigator.prototype.reset = function () {
...
@@ -90,7 +87,6 @@ ButtonNavigator.prototype.reset = function () {
this
.
overBackDisabled
=
true
this
.
overBackDisabled
=
true
this
.
intoForwardDisabled
=
true
this
.
intoForwardDisabled
=
true
this
.
overForwardDisabled
=
true
this
.
overForwardDisabled
=
true
this
.
nextCallDisabled
=
true
this
.
jumpOutDisabled
=
true
this
.
jumpOutDisabled
=
true
resetWarning
(
this
)
resetWarning
(
this
)
}
}
...
@@ -110,8 +106,6 @@ ButtonNavigator.prototype.stepChanged = function (step) {
...
@@ -110,8 +106,6 @@ ButtonNavigator.prototype.stepChanged = function (step) {
}
else
{
}
else
{
self
.
intoForwardDisabled
=
step
>=
length
-
1
self
.
intoForwardDisabled
=
step
>=
length
-
1
self
.
overForwardDisabled
=
step
>=
length
-
1
self
.
overForwardDisabled
=
step
>=
length
-
1
var
nextCall
=
self
.
traceManager
.
findNextCall
(
step
)
self
.
nextCallDisabled
=
nextCall
===
step
var
stepOut
=
self
.
traceManager
.
findStepOut
(
step
)
var
stepOut
=
self
.
traceManager
.
findStepOut
(
step
)
self
.
jumpOutDisabled
=
stepOut
===
step
self
.
jumpOutDisabled
=
stepOut
===
step
}
}
...
@@ -126,7 +120,6 @@ ButtonNavigator.prototype.updateAll = function () {
...
@@ -126,7 +120,6 @@ ButtonNavigator.prototype.updateAll = function () {
this
.
updateDisabled
(
'overback'
,
this
.
overBackDisabled
)
this
.
updateDisabled
(
'overback'
,
this
.
overBackDisabled
)
this
.
updateDisabled
(
'overforward'
,
this
.
overForwardDisabled
)
this
.
updateDisabled
(
'overforward'
,
this
.
overForwardDisabled
)
this
.
updateDisabled
(
'intoforward'
,
this
.
intoForwardDisabled
)
this
.
updateDisabled
(
'intoforward'
,
this
.
intoForwardDisabled
)
this
.
updateDisabled
(
'nextcall'
,
this
.
nextCallDisabled
)
this
.
updateDisabled
(
'jumpout'
,
this
.
jumpOutDisabled
)
this
.
updateDisabled
(
'jumpout'
,
this
.
jumpOutDisabled
)
this
.
updateDisabled
(
'jumptoexception'
,
this
.
jumpOutDisabled
)
this
.
updateDisabled
(
'jumptoexception'
,
this
.
jumpOutDisabled
)
}
}
...
...
src/ui/StepManager.js
View file @
2ec51c3b
...
@@ -54,9 +54,6 @@ function StepManager (_parent, _traceManager) {
...
@@ -54,9 +54,6 @@ function StepManager (_parent, _traceManager) {
this
.
buttonNavigator
.
event
.
register
(
'stepOverForward'
,
this
,
function
()
{
this
.
buttonNavigator
.
event
.
register
(
'stepOverForward'
,
this
,
function
()
{
self
.
stepOverForward
()
self
.
stepOverForward
()
})
})
this
.
buttonNavigator
.
event
.
register
(
'jumpNextCall'
,
this
,
function
()
{
self
.
jumpNextCall
()
})
this
.
buttonNavigator
.
event
.
register
(
'jumpOut'
,
this
,
function
()
{
this
.
buttonNavigator
.
event
.
register
(
'jumpOut'
,
this
,
function
()
{
self
.
jumpOut
()
self
.
jumpOut
()
})
})
...
@@ -171,18 +168,6 @@ StepManager.prototype.stepOverBack = function () {
...
@@ -171,18 +168,6 @@ StepManager.prototype.stepOverBack = function () {
this
.
changeState
(
step
)
this
.
changeState
(
step
)
}
}
StepManager
.
prototype
.
jumpNextCall
=
function
()
{
if
(
!
this
.
traceManager
.
isLoaded
())
{
return
}
var
step
=
this
.
traceManager
.
findNextCall
(
this
.
currentStepIndex
)
if
(
this
.
solidityMode
)
{
step
=
this
.
resolveToReducedTrace
(
step
,
0
)
}
this
.
slider
.
setValue
(
step
)
this
.
changeState
(
step
)
}
StepManager
.
prototype
.
jumpOut
=
function
()
{
StepManager
.
prototype
.
jumpOut
=
function
()
{
if
(
!
this
.
traceManager
.
isLoaded
())
{
if
(
!
this
.
traceManager
.
isLoaded
())
{
return
return
...
...
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