From 755bc2f26061f0030c6cc53764f7c0bc68d86b9e Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Fri, 30 Jul 2021 14:37:56 -0300 Subject: [PATCH] Finishes reverting b8e6d299593eef226aa731109b09edfac1bfb35c --- source/ide/ide_methods.bas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 0189c5041..598c929a0 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -7309,7 +7309,7 @@ SUB DebugMode END IF CASE "global var", "local var" tempIndex& = CVL(LEFT$(value$, 4)) - address%& = VAL(MID$(value$, 5)) + address%& = _CV(_OFFSET, MID$(value$, 5)) varType$ = usedVariableList(tempIndex&).varType IF INSTR(varType$, "STRING *") THEN varType$ = "STRING" SELECT CASE varType$ @@ -7323,7 +7323,7 @@ SUB DebugMode CASE "_OFFSET", "_UNSIGNED _OFFSET": varSize& = LEN(dummy%&) CASE "STRING": varSize& = LEN(dummy%&) + LEN(dummy&) END SELECT - cmd$ = "get address:" + MKL$(tempIndex&) + MKI$(1) + MKL$(varSize&) + STR$(address%&) + cmd$ = "get address:" + MKL$(tempIndex&) + MKI$(1) + MKL$(varSize&) + _MK$(_OFFSET, address%&) GOSUB SendCommand CASE "address read" tempIndex& = CVL(LEFT$(value$, 4)) @@ -7355,7 +7355,7 @@ SUB DebugMode strLength& = CVL(MID$(recvData$, 5)) END IF address$ = LEFT$(recvData$, LEN(dummy%&)) 'Pointer to data - cmd$ = "get address:" + MKL$(tempIndex&) + MKI$(2) + MKL$(strLength&) + STR$(address%&) + cmd$ = "get address:" + MKL$(tempIndex&) + MKI$(2) + MKL$(strLength&) + _MK$(_OFFSET, address%&) GOSUB SendCommand GOTO vwatch_string_seq1_done END IF