You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a file containing this code and run it in debug mode:
SuperStrict
Type TOKEN
Field ch:String
Method New( ch:String )
Self.ch = ch
End Method
End Type
Local tokens:TOKEN[]
tokens :+ [ New TOKEN("A") ]
tokens :+ [ New TOKEN("B") ]
DebugStop
When you getto the debugstop:
Look in MaxIDE Debug Tab
Expand "Local tokens:TOKEN[]=$..."
Look at the two array values
Now change "Type TOKEN" into "Struct TOKEN"
Repeat the procedure
When it is an array of Struct, you get "Segmentation fault (core dumped)"
The text was updated successfully, but these errors were encountered:
As written on Discord already I cannot replicate the issue here. Have run a maxide.debug build from within my maxide and build your sample (adjusted to structs) in that debug version.
Debug pane has shown both struct entries without segfaulting
Create a file containing this code and run it in debug mode:
When you getto the debugstop:
When it is an array of Struct, you get "Segmentation fault (core dumped)"
The text was updated successfully, but these errors were encountered: