NetBeans debugger problems on macOS Sierra 10.12.3 - c++

I'm programming in C++ and I'm not an expert. I'm trying to run the debugger using gdb throw Netbeans, but it's still showing this message:
"During startup program terminated with signal SIG113, Real-time event 113."
Any advices?

Related

How can I fix 'gdborig.exe has stopped working' error when debugging on code::blocks?

I have recently installed Code::Blocks IDE and tried to debug c++ hello world project by choosing Debug->Step into. It opens up the command prompt but gives an error message:
gdborig.exe has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
How do I fix this error?
I'm using code::blocks 20.03 on windows 8.1 with GCC compiler.

Debugging any C++ with Netbeans/gdb terminates immediately with a SIGSEGV?

My Os is : MacOS High Sierra 10.13.5
NetBeans Version : 8.2
Gdb Version: 8.0.1
I can use NetBeans build and run NetBeans Sample C++ Application successfully
but when I try to Use NetBeans to Debug NetBeans Sample C++ Application Quote with gdb, I always get an Error like below, and it always run into the osstream file, I am confused!
I set BreakPoint at main function like below
I don't change any configuration, It is NetBeans Default Configuration for sample C++ project Quote.
Anyone Can help me, how can I fix this error?

JNI c++ Netbeans Debugging

I have a java application that communicates with JNI C++ application. My java application is in eclipse while I am using netbeans for C++ with mingw64 bit compiler. I can not seem to debug JNI part of the application.
I load dll in java application. From netbeans I go to Debug->Attach Debugger select javaw.exe that makes my eclipse stuck and I get exception in eclipse IDE:
org.eclipse.jdi.TimeoutException. Timeout occurred while waiting for packet. occurred creating step request
Is my debugging procedure correct? How does one configure netbeans to debug a JNI application.
This could be because your debugger is stopping all your threads when attaching, and not letting them resume properly afterwards (Not sure why this happens. It seems to only happen on some computers, and work fine on others).
A way to around this that worked for me is - In your C++ debugger configurations, in the debugger tab, tick the "Non-stop mode" checkbox. This will stop your debugger from stopping your threads, and the timeout should stop happening.

C++ Mac Sierra 10.12.6 How to debug the error "<terminated> (exit value:-1)" in eclipse?

I've spent my whole night trying to figure out why my program would terminate in the middle. I'm using Eclipse Oxygen 4.7.0 in Sierra 10.12.6.
When running the program, it gives me " (exit value:-1)" error. I threw in some cout debug and I saw the program just simply wouldn't go on in the middle of a readFile() function I wrote, right after ifstream infile(filename.c_str(),ios::in); . I tried to use the debug function but it always gives me "During startup program terminated with signal SIGTRAP, Trace/breakpoint trap." error. I googled it and in Stackoverflow people say it is specific to Mac Sierra. I've upgraded and code-signed the gdb.
But now, is there any option I can go on to identify and solve this terminate problem?
Thanks,
Sincerely

Cannot run application in Eclipse CDT on Windows 7

When I'm trying to run "Hello World" in Eclipse CDT Indigo on Windows 7 using MinGW I have the following problems:
While debugging:
I can pass through all lines of the code, but finally I get the message:
warning: FTH: (6052): Fault tolerant heap shim applied to current process. This is usually due to previous crashes.
Quit (expect signal SIGINT when the program is resumed)
While normally running:
Nothing happens, I get only <terminated> in the status bar.
Unfortunately I can't modify register on the computer I am running the program, so I can't globally disable the FTH service.
Has anyone met the same problem?