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
0d2d4055
Commit
0d2d4055
authored
Oct 09, 2018
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
7fee4f36
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
Ethdebugger.js
remix-debug/src/Ethdebugger.js
+0
-2
debugger.js
remix-debug/src/debugger/debugger.js
+0
-10
No files found.
remix-debug/src/Ethdebugger.js
View file @
0d2d4055
...
@@ -13,7 +13,6 @@ var remixLib = require('remix-lib')
...
@@ -13,7 +13,6 @@ var remixLib = require('remix-lib')
var
TraceManager
=
remixLib
.
trace
.
TraceManager
var
TraceManager
=
remixLib
.
trace
.
TraceManager
var
CodeManager
=
remixLib
.
code
.
CodeManager
var
CodeManager
=
remixLib
.
code
.
CodeManager
var
traceHelper
=
remixLib
.
helpers
.
trace
var
traceHelper
=
remixLib
.
helpers
.
trace
// var executionContext = remixLib.execution.executionContext
var
EventManager
=
remixLib
.
EventManager
var
EventManager
=
remixLib
.
EventManager
/**
/**
...
@@ -33,7 +32,6 @@ function Ethdebugger (opts) {
...
@@ -33,7 +32,6 @@ function Ethdebugger (opts) {
this
.
opts
=
opts
||
{}
this
.
opts
=
opts
||
{}
if
(
!
this
.
opts
.
compilationResult
)
this
.
opts
.
compilationResult
=
()
=>
{
return
null
}
if
(
!
this
.
opts
.
compilationResult
)
this
.
opts
.
compilationResult
=
()
=>
{
return
null
}
// this.executionContext = opts.executionContext || executionContext
this
.
web3
=
opts
.
web3
this
.
web3
=
opts
.
web3
this
.
event
=
new
EventManager
()
this
.
event
=
new
EventManager
()
...
...
remix-debug/src/debugger/debugger.js
View file @
0d2d4055
...
@@ -20,7 +20,6 @@ function Debugger (options) {
...
@@ -20,7 +20,6 @@ function Debugger (options) {
this
.
compiler
=
options
.
compiler
this
.
compiler
=
options
.
compiler
this
.
debugger
=
new
Ethdebugger
({
this
.
debugger
=
new
Ethdebugger
({
// executionContext: this.executionContext,
web3
:
this
.
executionContext
.
web3
,
web3
:
this
.
executionContext
.
web3
,
compilationResult
:
()
=>
{
compilationResult
:
()
=>
{
var
compilationResult
=
this
.
compiler
.
lastCompilationResult
var
compilationResult
=
this
.
compiler
.
lastCompilationResult
...
@@ -43,11 +42,6 @@ function Debugger (options) {
...
@@ -43,11 +42,6 @@ function Debugger (options) {
this
.
debugger
.
setBreakpointManager
(
this
.
breakPointManager
)
this
.
debugger
.
setBreakpointManager
(
this
.
breakPointManager
)
this
.
executionContext
.
event
.
register
(
'contextChanged'
,
this
,
function
(
context
)
{
// TODO: was already broken
// self.switchProvider(context)
})
this
.
debugger
.
event
.
register
(
'newTraceLoaded'
,
this
,
function
()
{
this
.
debugger
.
event
.
register
(
'newTraceLoaded'
,
this
,
function
()
{
self
.
event
.
trigger
(
'debuggerStatus'
,
[
true
])
self
.
event
.
trigger
(
'debuggerStatus'
,
[
true
])
})
})
...
@@ -66,8 +60,6 @@ function Debugger (options) {
...
@@ -66,8 +60,6 @@ function Debugger (options) {
this
.
switchProvider
(
this
.
executionContext
.
getProvider
())
this
.
switchProvider
(
this
.
executionContext
.
getProvider
())
}
}
Debugger
.
prototype
.
addProvider
=
function
(
type
,
obj
)
{
Debugger
.
prototype
.
addProvider
=
function
(
type
,
obj
)
{
this
.
web3Providers
.
addProvider
(
type
,
obj
)
this
.
web3Providers
.
addProvider
(
type
,
obj
)
this
.
event
.
trigger
(
'providerAdded'
,
[
type
])
this
.
event
.
trigger
(
'providerAdded'
,
[
type
])
...
@@ -93,8 +85,6 @@ Debugger.prototype.switchProvider = function (type) {
...
@@ -93,8 +85,6 @@ Debugger.prototype.switchProvider = function (type) {
})
})
}
}
Debugger
.
prototype
.
registerAndHighlightCodeItem
=
function
(
index
)
{
Debugger
.
prototype
.
registerAndHighlightCodeItem
=
function
(
index
)
{
const
self
=
this
const
self
=
this
// register selected code item, highlight the corresponding source location
// register selected code item, highlight the corresponding source location
...
...
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