Skip to content

Commit 020aa80

Browse files
committed
removing global "debugTracerId"
1 parent e331bee commit 020aa80

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

public/go.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13465,7 +13465,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1346513465
[
1346613466
nextId,
1346713467
dbgCode,
13468-
yz.debug.debugTracerId,
13468+
dbgThread.uuid_thread_tracer_id,
1346913469
sql,
1347013470
lastTraceid,
1347113471
yz.debug.nextDebugTick++,
@@ -13617,7 +13617,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1361713617
caller_line_number: sourceForCallerOfFunction.lineNumber,
1361813618
fk_caller_debug_trace_log_id: callerLogId
1361913619
}
13620-
yz.debug.debugThreads[yz.debug.debugTracerId].debugTraceStepsV3.push(
13620+
yz.debug.debugThreads[dbgThread.uuid_thread_tracer_id].debugTraceStepsV3.push(
1362113621
debugThreadEntryForFn)
1362213622

1362313623
yz.debug.nextDebugTick++
@@ -13662,7 +13662,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1366213662
// reset all the debug markers as we are starting a new debug trace
1366313663
//
1366413664
yz.debug.startDebugId = debugId
13665-
yz.debug.debugTracerId = yz.uuidv4()
13665+
let debugTracerId = yz.uuidv4()
1366613666
yz.debug.nextDebugTick = 1
1366713667

1366813668

@@ -13710,7 +13710,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1371013710
debugId,
1371113711
debugId,
1371213712
dateNow,
13713-
yz.debug.debugTracerId,
13713+
debugTracerId,
1371413714
sourceForFunction.fileName,
1371513715
//sourceForFunction.lineNumber,
1371613716
startLineIndex,
@@ -13721,7 +13721,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1372113721

1372213722
newDebugThread = {
1372313723
start_debug_id: debugId,
13724-
uuid_thread_tracer_id: yz.debug.debugTracerId,
13724+
uuid_thread_tracer_id: debugTracerId,
1372513725
debugTraceStepsV3: [
1372613726
{
1372713727
id: nextId,
@@ -13734,7 +13734,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1373413734
}
1373513735
]
1373613736
}
13737-
yz.debug.debugThreads[yz.debug.debugTracerId] = newDebugThread
13737+
yz.debug.debugThreads[debugTracerId] = newDebugThread
1373813738

1373913739

1374013740

@@ -13839,7 +13839,6 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1383913839

1384013840
debugThreads: {}, // collection of all live debug threads indexed by the THREAD UUID
1384113841
linesOfSourceFile: {}, // the lines of code in go.html and other source files = [line 1, line 2, etc...]
13842-
debugTracerId: null, // a UUID which shows which debug trace event we are in ("fnDebugId" is not unique)
1384313842
nextDebugTick: 1, // 1..n is used to show which step in a trace we are at
1384413843
currentSqlLogId: null // ID to use for the SQL log 1..n
1384513844
},
@@ -14152,9 +14151,9 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
1415214151
"table_debug_data_log"
1415314152
].indexOf(tableName) == -1)
1415414153
{
14155-
if (yz.debug.debugTracerId != null) {
14154+
//if (yz.debug.debugTracerId != null) {
1415614155

14157-
}
14156+
//}
1415814157
}
1415914158
//
1416014159
// create the table on the server

0 commit comments

Comments
 (0)