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
I've encountered an issue on M1 Macs (MacOS) while trying to debug a project that uses Raylib-Go.
Debugging is done via the "delve" debugger.
Running the Project without debugger works fine. (Windows open, Inputs get registered, no problems at all)
But the Project crashes the "delve" debugger as soon as Raylib-Go gets involved.
All I get is this
failed to find rodata struct
Error.
As long as Go does not require any access to Raylib. the Debugger seems to work fine.
XCode CommandLine Tools are installed.
raylib-go was installed via:
go get -v -u github.com/gen2brain/raylib-go/raylib
See this Video for a demonstration of the Issue.
2024-04-14_14-58-10.mov
The text was updated successfully, but these errors were encountered:
On closer inspection, this does not seem to be related to raylib-go alone.
It seems to have more to do with something CGO related and the delve debugger.
The same issue came up in another project of mine that required CGO.
Sorry for bothering. I was a bit to hasty in opening this issue. I don't think you can do much about this.
I've opened an Issue in go-delve. Maybe they can do someing or say, what the issue is. go-delve/delve#3701
Hi,
I've encountered an issue on M1 Macs (MacOS) while trying to debug a project that uses Raylib-Go.
Debugging is done via the "delve" debugger.
Running the Project without debugger works fine. (Windows open, Inputs get registered, no problems at all)
But the Project crashes the "delve" debugger as soon as Raylib-Go gets involved.
All I get is this
Error.
As long as Go does not require any access to Raylib. the Debugger seems to work fine.
See this Video for a demonstration of the Issue.
2024-04-14_14-58-10.mov
The text was updated successfully, but these errors were encountered: