Skip to content

Commit

Permalink
enable debug print storing in tables logs
Browse files Browse the repository at this point in the history
  • Loading branch information
salhk committed Feb 16, 2024
1 parent 722cff9 commit 39de618
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tables/tables.tbs
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,13 @@ end sub
'------------------------------------------------------------------------------
#if TBL_DEBUG_PRINT
sub tbl_debugprint(byref print_data as string)
if tbl_do_not_debug_print=NO then sys.debugprint(TBL_STAMP+print_data+TBL_CR_LF)
if tbl_do_not_debug_print=NO then
#IFDEF RETARGET_DEBUG_PRINT
sys.trace(TBL_STAMP+print_data+TBL_CR_LF)
#ELSE
sys.debugprint(TBL_STAMP+print_data+TBL_CR_LF)
#ENDIF
end if
end sub
#endif

Expand Down

0 comments on commit 39de618

Please sign in to comment.