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
0f530cf7
Commit
0f530cf7
authored
Aug 22, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debug artefact
parent
96b82178
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
Ethdebugger.js
remix-debug/src/Ethdebugger.js
+2
-7
traceManager.js
remix-lib/src/trace/traceManager.js
+0
-4
No files found.
remix-debug/src/Ethdebugger.js
View file @
0f530cf7
...
...
@@ -36,8 +36,8 @@ function Ethdebugger (opts) {
this
.
opts
=
opts
||
{}
if
(
!
this
.
opts
.
compilationResult
)
this
.
opts
.
compilationResult
=
()
=>
{
return
null
}
this
.
executionContext
=
opts
.
executionContext
||
executionContext
;
this
.
web3
=
opts
.
web3
||
this
.
executionContext
.
web3
;
this
.
executionContext
=
opts
.
executionContext
||
executionContext
this
.
web3
=
opts
.
web3
||
this
.
executionContext
.
web3
this
.
event
=
new
EventManager
()
...
...
@@ -56,7 +56,6 @@ function Ethdebugger (opts) {
}
Ethdebugger
.
prototype
.
setManagers
=
function
()
{
console
.
log
(
"remix-debug: setManagers"
);
this
.
traceManager
=
new
TraceManager
({
web3
:
this
.
web3
})
this
.
codeManager
=
new
CodeManager
(
this
.
traceManager
)
this
.
solidityProxy
=
new
SolidityProxy
(
this
.
traceManager
,
this
.
codeManager
)
...
...
@@ -200,7 +199,6 @@ Ethdebugger.prototype.switchProvider = function (type) {
}
Ethdebugger
.
prototype
.
debug
=
function
(
tx
)
{
debugger
;
this
.
setCompilationResult
(
this
.
opts
.
compilationResult
())
if
(
tx
instanceof
Object
)
{
this
.
txBrowser
.
load
(
tx
.
hash
)
...
...
@@ -226,10 +224,7 @@ Ethdebugger.prototype.debug = function (tx) {
console
.
log
(
'loading trace...'
)
this
.
tx
=
tx
var
self
=
this
debugger
;
this
.
traceManager
.
resolveTrace
(
tx
,
function
(
error
,
result
)
{
console
.
log
(
'trace loaded '
+
result
)
console
.
dir
(
arguments
);
if
(
result
)
{
self
.
event
.
trigger
(
'newTraceLoaded'
,
[
self
.
traceManager
.
trace
])
if
(
self
.
breakpointManager
&&
self
.
breakpointManager
.
hasBreakpoint
())
{
...
...
remix-lib/src/trace/traceManager.js
View file @
0f530cf7
...
...
@@ -20,8 +20,6 @@ function TraceManager (options) {
// init section
TraceManager
.
prototype
.
resolveTrace
=
function
(
tx
,
callback
)
{
console
.
dir
(
"resolveTrace: "
);
console
.
dir
(
arguments
);
this
.
tx
=
tx
this
.
init
()
if
(
!
this
.
web3
)
callback
(
'web3 not loaded'
,
false
)
...
...
@@ -70,8 +68,6 @@ TraceManager.prototype.isLoaded = function () {
}
TraceManager
.
prototype
.
getLength
=
function
(
callback
)
{
console
.
dir
(
this
.
trace
)
console
.
trace
(
'getLength'
)
if
(
!
this
.
trace
)
{
callback
(
'no trace available'
,
null
)
}
else
{
...
...
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