[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: RE: [cdt-dev] Can't use debug
|
Ling.5.Wang,您好!
When i debug my project , the consol give me the followed message:
mi_cmd_stack_list_frames: No stack.
No symbol "auto" in current context.
I also can find error information in the project's log :
!ENTRY org.eclipse.core.runtime 4 2 2006-04-18 15:09:47.62
!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.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)
Sorry, i am a newbie and i can't understand the "'weird' stuff" . Can you explain detailedly? Thank you !
======= =======
>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$B!$(Jhello$B!*(J
>
> I use eclipse3.1+cdt-3.0.2+MINGW-5.0+GDB-5.2.1$B!#(JWhen 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! $B!!!!!!!!!!!!!!!!(J
>
>
>$B!!!!!!!!!!!!!!!!(Jlifeng
>$B!!!!!!!!!!!!!!!!(Jlifeng@xxxxxxxxx
>$B!!!!!!!!!!!!!!!!!!!!(J2006-04-13
>
>.
= = = = = = = = = = = = = = = = = = = =
lifeng@xxxxxxxxx
2006-04-18