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
c0121f7c
Commit
c0121f7c
authored
Dec 08, 2016
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove event traceAnalyser
parent
cb29cec5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
traceAnalyser.js
src/trace/traceAnalyser.js
+0
-5
No files found.
src/trace/traceAnalyser.js
View file @
c0121f7c
'use strict'
'use strict'
var
traceHelper
=
require
(
'../helpers/traceHelper'
)
var
traceHelper
=
require
(
'../helpers/traceHelper'
)
var
EventManager
=
require
(
'../lib/eventManager'
)
function
TraceAnalyser
(
_cache
)
{
function
TraceAnalyser
(
_cache
)
{
this
.
event
=
new
EventManager
()
this
.
traceCache
=
_cache
this
.
traceCache
=
_cache
this
.
trace
=
null
this
.
trace
=
null
}
}
TraceAnalyser
.
prototype
.
analyse
=
function
(
trace
,
tx
,
callback
)
{
TraceAnalyser
.
prototype
.
analyse
=
function
(
trace
,
tx
,
callback
)
{
this
.
event
.
trigger
(
'startAnalysing'
)
this
.
trace
=
trace
this
.
trace
=
trace
this
.
traceCache
.
pushStoreChanges
(
0
,
tx
.
to
)
this
.
traceCache
.
pushStoreChanges
(
0
,
tx
.
to
)
var
context
=
{
var
context
=
{
...
@@ -29,10 +26,8 @@ TraceAnalyser.prototype.analyse = function (trace, tx, callback) {
...
@@ -29,10 +26,8 @@ TraceAnalyser.prototype.analyse = function (trace, tx, callback) {
context
=
this
.
buildDepth
(
k
,
step
,
tx
,
callStack
,
context
)
context
=
this
.
buildDepth
(
k
,
step
,
tx
,
callStack
,
context
)
context
=
this
.
buildStorage
(
k
,
step
,
context
)
context
=
this
.
buildStorage
(
k
,
step
,
context
)
this
.
buildReturnValues
(
k
,
step
)
this
.
buildReturnValues
(
k
,
step
)
this
.
event
.
trigger
(
'onOp'
,
[
k
,
step
,
callStack
,
this
.
traceCache
])
}
}
callback
(
null
,
true
)
callback
(
null
,
true
)
this
.
event
.
trigger
(
'finishAnalysing'
)
}
}
TraceAnalyser
.
prototype
.
buildReturnValues
=
function
(
index
,
step
)
{
TraceAnalyser
.
prototype
.
buildReturnValues
=
function
(
index
,
step
)
{
...
...
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