Problems related to the development of an Eclipse debugger [message #296293] |
Tue, 20 December 2005 08:10 |
Eclipse User |
|
|
|
Originally posted by: zdrey.irisa.fr
Hello,
I have implemented an Eclipse debugger using the Eclipse Debug Framework
(I am using eclipse 3.1.1). After having launched and terminated a
first time a program in the Debug mode, I got the following error when I
then try to launch a Runtime Workbench :
java.lang.IllegalStateException
at
org.eclipse.update.configurator.ConfiguratorUtils.getPlatfor mConfiguration(ConfiguratorUtils.java:68)
at
org.eclipse.pde.internal.core.TargetPlatform.createPlatformC onfigurationArea(TargetPlatform.java:134)
at
org.eclipse.pde.internal.ui.launcher.WorkbenchLaunchConfigur ationDelegate.getProgramArguments(WorkbenchLaunchConfigurati onDelegate.java:171)
at
org.eclipse.pde.internal.ui.launcher.WorkbenchLaunchConfigur ationDelegate.createVMRunner(WorkbenchLaunchConfigurationDel egate.java:106)
at
org.eclipse.pde.internal.ui.launcher.WorkbenchLaunchConfigur ationDelegate.launch(WorkbenchLaunchConfigurationDelegate.ja va:79)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:590)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:515)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:733)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:931)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
I cannot figure out where the problem come from, neither do I know what
is a platform configuration... Could someone help me?
Thanks in advance,
--
Zoé
|
|
|
Re: Problems related to the development of an Eclipse debugger [message #296298 is a reply to message #296293] |
Tue, 20 December 2005 09:47 |
Eclipse User |
|
|
|
Originally posted by: zdrey.irisa.fr
[Resolved]
For those who are interested : the problem came from the fact that I had
set a special SecurityManager (using System.setSecurityManager
method) to allow a proper RMI communication between the debugger and
the GUI (Eclipse side) : simply resetting the SecurityManager to "null"
after the debug execution is terminated resolves the mentioned problem.
zdrey wrote:
> Hello,
>
> I have implemented an Eclipse debugger using the Eclipse Debug Framework
> (I am using eclipse 3.1.1). After having launched and terminated a
> first time a program in the Debug mode, I got the following error when I
> then try to launch a Runtime Workbench :
>
> java.lang.IllegalStateException
> at
> org.eclipse.update.configurator.ConfiguratorUtils.getPlatfor mConfiguration(ConfiguratorUtils.java:68)
>
> at
> org.eclipse.pde.internal.core.TargetPlatform.createPlatformC onfigurationArea(TargetPlatform.java:134)
>
> at
> org.eclipse.pde.internal.ui.launcher.WorkbenchLaunchConfigur ationDelegate.getProgramArguments(WorkbenchLaunchConfigurati onDelegate.java:171)
>
> at
> org.eclipse.pde.internal.ui.launcher.WorkbenchLaunchConfigur ationDelegate.createVMRunner(WorkbenchLaunchConfigurationDel egate.java:106)
>
> at
> org.eclipse.pde.internal.ui.launcher.WorkbenchLaunchConfigur ationDelegate.launch(WorkbenchLaunchConfigurationDelegate.ja va:79)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:590)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:515)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:733)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:931)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>
>
> I cannot figure out where the problem come from, neither do I know what
> is a platform configuration... Could someone help me?
>
> Thanks in advance,
|
|
|
Powered by
FUDForum. Page generated in 0.02229 seconds