I was already able to trace down the actual issue: Whenever I open a window with a CheckBoxGadget or OptionGadget in it and include the file into another file, the IDE crashes when starting it with the integrated debugger.
Example code:
b.pb
Code: Select all
OpenWindow(0, 0, 0, 396, 100, "PureBasic - 3D Demos", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
CheckBoxGadget(1, 40, 20, 130, 20, "Test")
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
Code: Select all
IncludeFile "b.pb"
The same code with another Gadget like ButtonGadget instead of CheckBoxGadget or OptionGadget works fine.
OS: Ubuntu 20.10 x64
PureBasic: 5.73 x64