Error in Debugger of Eclipse CDT

Asked By 20 points N/A Posted on -
qa-featured

Hi,

I'm developing an application using Eclipse CDT with Cygwin. 

Sequence of steps that I've followed is as below:

  1. Installed Eclipse CDT
  2. Installed Cygwin with gcc and g++
  3. Generated and added gdb at c:cygwinbin to PATH variable

Using the above steps I've successfully created a sample Hello World Application, which has been compiled satisfactorily. I have to set the execution configuration manually, but when it comes to debugging, application crashes with the following error:

Problem Occurred
 
Launching proba Default' has encountered a problem.
An internal error occurred during: "Launching proba Default.
An internal error occurred during: "Launching proba Default.
 
java.lang.NullPointerException

Has anyone any idea about this?

I'll be really grateful for this help.

Regards,

Tony

SHARE
Best Answer by ytien05
Answered By 590495 points N/A #142827

Error in Debugger of Eclipse CDT

qa-featured

If this is the first time it happened with your application, try restarting your computer then try it again. If it still doesn’t work, try checking your computer for any possible errors. Use a disk utility application to check the system. For a much thorough diagnostics on the system, use a disk utility application like Norton Utilities, Norton SystemWorks, or PC Tools Performance Toolkit. Try doing it again after the disk check and see if this fixes the problem.

If the problem persists, try reinstalling the program you are using.

Best Answer
Best Answer
Answered By 0 points N/A #142828

Error in Debugger of Eclipse CDT

qa-featured

Since compiling your sample program went fine and I think it also launches successfully, the problem is only with your program’s debugger. If this is the first time you’ll be using its debugger, try restarting your computer then try it again.

If still nothing happened and you still get the same error upon launching the debugger program, try doing a clean installation of Eclipse CDT to restore it to its default configuration and remove any corrupted files that may be present in the system.

Uninstall Eclipse CDT then restart your computer when asked. After booting, check your computer for any possible errors. Use a disk utility application to check the system.

For a much thorough diagnostics test on your machine, use a disk utility application like Norton SystemWorks. Install Eclipse CDT again then check if this fixes the problem.

You may also try upgrading your present version of the application if you happen to be using the older version of Eclipse CDT.

Related Questions