Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Can't use debug

Maybe you should first check what's the invalid index value that caused the exception ?

Try check the "Source" tab settings in your launch configuration and make sure it does not contain "weird" stuff. 

Anyway, just a guess. 

-- Ling

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ext ??
Sent: Monday, April 17, 2006 9:08 PM
To: cdt-dev
Subject: [cdt-dev] Can't use debug

cdt-dev,hello!

	  I use eclipse3.1+cdt-3.0.2+MINGW-5.0+GDB-5.2.1。When i ran my project using eclipse ,it was fine . But it was error when i want to debug my project .I could not launch the debug platform. The error message in the log are followed:

!ENTRY org.eclipse.core.runtime 4 2 2006-04-13 10:20:14.15 !MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.debug.internal.core.sourcelookup.containers.ContainerSourceContainer.equals
	(ContainerSourceContainer.java:175)
	at java.util.ArrayList.indexOf(ArrayList.java:216)
	at java.util.ArrayList.contains(ArrayList.java:197)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.getSourceContainers(CDebugTarget.java:1675)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.getSourceContainers(CDebugTarget.java:1679)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.getSourceContainers(CDebugTarget.java:1679)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.getSourceContainers(CDebugTarget.java:1679)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.getSourceContainers(CDebugTarget.java:1679)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.getSourceLookupPath(CDebugTarget.java:1646)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.setSourceLookupPath(CDebugTarget.java:1635)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.initializeSourceLookupPath(CDebugTarget.java:340)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.initialize(CDebugTarget.java:252)
	at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.<init>(CDebugTarget.java:245)
	at org.eclipse.cdt.debug.core.CDIDebugModel$1.run(CDIDebugModel.java:90)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
	at org.eclipse.cdt.debug.core.CDIDebugModel.newDebugTarget(CDIDebugModel.java:95)
	at org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launch(LocalRunLaunchDelegate.java:107)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:733)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:931)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

Is there anyone can tell me how to solve the problem . Thank you very much!            
 				

        lifeng
        lifeng@xxxxxxxxx
          2006-04-13


Back to the top