Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Jan 10, 2025
1 parent eb1181c commit ea27ec3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -13668,16 +13668,16 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
// /-------------------------------------/
//
//----------------------------------------------------------------------------/
// This is in the code when we want to start the recording of some code for
// debug purposes.
// use "startDebug("hjdfgjdfshgjk") when we want to trace the execution path
// for debug purposes.
//
// This is executed either from the start of a function, or from an event
// being called in HTML. If this is called from the start of a function
// then do not forget to close off the call with "endOfDebugSection( )"
// just before the function returns to the caller
//
//________
// PARAMS \______________________________________________________________/
// PARAMS \_________________________________________________________/
//
// debugId
// ------- This is the hard coded debug ID used. It is just a unique and
Expand All @@ -13688,15 +13688,13 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
//
// do nothing if not in debug mode
//

if ((typeof $DEBUGUI == 'undefined') || (!$DEBUGUI)) {
return
}

//
// reset all the debug markers as we are starting a new debug trace
//
debugger
yz.debug.currentDebugId = debugId
yz.debug.debugTracerId = yz.uuidv4()
yz.debug.debugTraceSteps = []
Expand All @@ -13706,7 +13704,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
debugger
let sourceForFunction = yz.debug.internal.findDebugIdInCode(debugId)

//
Expand Down

0 comments on commit ea27ec3

Please sign in to comment.