Debugger Fix (big structs problem)(plus bug?)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
mdp
Enthusiast
Enthusiast
Posts: 115
Joined: Mon Apr 18, 2005 8:28 pm

Debugger Fix (big structs problem)(plus bug?)

Post by mdp »

The following hangs the debugger (variable viewer) for a while:

Code: Select all

Structure mystruct
   arr.s[65536] 
EndStructure
ms.mystruct

CallDebugger ; and open variable viewer
This does not involve peeking the structure instance itself: as soon as you open the VariableViewer, the IDE is stuck.
Maybe (kind of) a limiter to too big information could help...

(BTW: could also lead to a proper IDE bug, since the last time I tried, just before posting, I managed to "break" the window - I press the 'Kill Program' button, message 'The Program was killed.' appears, but the "skull and bones" icon is still there undying ( :-) ); I can browse the tabber of the VariableViewer window but I cannot close it)

This is valid for both 3.94 and 4.0beta1

[edit]
@moderator: sorry, maybe that was meant for the 'PB Editor' section...