Lots of "main(__TEXT/__text): free_remuxing_config: not defined" when trying to debug Golang
I have a big Go project which integrates some C codes. After I click on the Goland "debug" button, it shows bunch of "not defined" errors and I couldn't debug.
I'm using Mac OS High Sierra. and attached is my Debug configuration
plus, if i don't add -ldflags="-linkmode internal", then the debug process will just hang forever after compilation, without running a single step in my program.
Can someone please help?
I use those C libs like this:
Please sign in to leave a comment.
However, I can successfully compile my project using command line and debug it using lldb (not GDB, because I'm using Mac OS.....)
The build command is: go build -gcflags "-N -l" -o my_proj