Skip to content

Commit

Permalink
Use "findDebugIdInCode( )" for finding debug tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Jan 9, 2025
1 parent f622a50 commit 6a6b779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -13448,7 +13448,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
//
if ((dbgCode != null) && (yz.uiDb.tablesCreated)) {
if (startOfSql.startsWith("insert") || startOfSql.startsWith("update") || startOfSql.startsWith("delete")) {
let sourceForCallerOfFunction = yz.debug.internal.findSourceLineInCode(dbgCode)
let sourceForCallerOfFunction = yz.debug.internal.findDebugIdInCode(dbgCode)
let sourceFileName = null
let lineNumber = null
if (sourceForCallerOfFunction.found) {
Expand Down Expand Up @@ -13551,7 +13551,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
//
// find the source code where this was called from
//
let sourceForCallerOfFunction = yz.debug.internal.findSourceLineInCode(callerDebugToken)
let sourceForCallerOfFunction = yz.debug.internal.findDebugIdInCode(callerDebugToken)


//
Expand Down Expand Up @@ -13702,7 +13702,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
// Find out which source code line we are editing
//
//debugger
let sourceForFunction = yz.debug.internal.findSourceLineInCode(debugId)
let sourceForFunction = yz.debug.internal.findDebugIdInCode(debugId)

//
// store the debug code
Expand Down

0 comments on commit 6a6b779

Please sign in to comment.