From 805f79a22567a8448f3a0c70ec5748e00601a58c Mon Sep 17 00:00:00 2001 From: otya128 Date: Sat, 3 Sep 2016 10:46:47 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=80=E3=82=A4=E3=83=AC=E3=82=AF=E3=83=88?= =?UTF-8?q?=E3=83=A2=E3=83=BC=E3=83=89=E3=81=8C=E6=AD=A3=E5=B8=B8=E3=81=AB?= =?UTF-8?q?=E5=8B=95=E3=81=8B=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SMILEBASIC/VM.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMILEBASIC/VM.d b/SMILEBASIC/VM.d index a2ac9fe..1272e1d 100644 --- a/SMILEBASIC/VM.d +++ b/SMILEBASIC/VM.d @@ -129,7 +129,7 @@ class VM } void processBreakPoint() { - if (currentSlot.debugInfo.location[pc].isBreakPoint) + if (currentSlot.debugInfo.location.length > pc && currentSlot.debugInfo.location[pc].isBreakPoint) { //TODO:まともにする writefln("break point\nslot:%d,pc:%d,line:%d", currentSlotNumber, pc, currentSlot.debugInfo.location[pc].location.line);