When I had Catalina I was able to attach Xcode to the debugger of netbeans (gdb) and debug JNI (where in Xcode I have the antic C implementation of Java methods). But when I upgraded to Big Sur, I am getting an error:
` Could not attach to pid :
attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries when the attached failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)` Each time I try to attach Xcode to the process, the Console.App shows in System.log:
`DEPRECATED USE in libdispatch client: Changing the target of a queue already targeted by other dispatch objects; set a breakpoint on _dispatch_bug_deprecated to debug
Any advise how to solve this problem?