Debugger quits if no current list element, PB 6.30 Beta 6 Windows x64 C backend
Posted: Mon Dec 22, 2025 8:39 pm
Debugger pauses, then quits on C backend, but graceful error under ASM — with 'The list doesn't have a current element'. I thought it might have been reported already, being fairly easy to reproduce — delete if so.
Out of interest, under PB 6.00, there was slightly different behaviour, reporting invalid memory access, findings below.
Out of interest, under PB 6.00, there was slightly different behaviour, reporting invalid memory access, findings below.
Code: Select all
; Turn on debugger
Structure MtStr
act.i
stor.i
EndStructure
NewList Mt.MtStr()
If Mt()\act
Mt()\stor = 1
EndIf
; PB 6.30 Beta 6 Windows x64 C backend
; The debugged executable quit unexpectedly
; PB 6.30 Beta 6 Windows x64 ASM
; The list doesn't have a current element
; PB 6.00 Windows x64 C backend
; Invalid memory access. (read error at address 16)