Debugger quits if no current list element, PB 6.30 Beta 6 Windows x64 C backend

All bugs related to new C backend
Matheos
New User
New User
Posts: 3
Joined: Sat Dec 13, 2025 9:23 pm

Debugger quits if no current list element, PB 6.30 Beta 6 Windows x64 C backend

Post by Matheos »

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.

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)
User avatar
mk-soft
Always Here
Always Here
Posts: 6507
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Debugger quits if no current list element, PB 6.30 Beta 6 Windows x64 C backend

Post by mk-soft »

Same bug here under C-backend. Not fixed ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply