Bug 118588 Java Debug -> Inspect and Display
steps to reproduce: - start Java Debug - insert some breakpoints in the Java class - switch to the runtime workbench, add a label, and map it to the Java class - preview in html expected behavior - selected variables can be evaluated. actual behavior - an error message is printed saying that the expression cannot be evaluated.
UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java
if ( programArgs == null )
		{
			return null;
		} else
		{
			String envp[] = DebugPlugin.getDefault( ).getLaunchManager( )
					.getEnvironment( configuration );
			VMRunnerConfiguration runnerConfig = new VMRunnerConfiguration(
					"org.eclipse.core.launcher.Main", classpath );
			runnerConfig.setVMArguments( getVMArguments( configuration ) );
			runnerConfig.setProgramArguments( programArgs );
			runnerConfig.setEnvironment( envp );
			return runnerConfig;
		}
	}
	private String[] getProgramArguments( ILaunchConfiguration configuration )
			throws CoreException
	{
		ArrayList programArgs = new ArrayList( );
		
		if ( configuration.getAttribute( USE_PRODUCT, false ) )
		{
			programArgs.add( "-product" ); 
			programArgs.add( configuration.getAttribute( PRODUCT, "" ) ); 
		} else
		{
			
			programArgs.add( "-application" ); 
			programArgs.add( configuration.getAttribute( APPLICATION,
					LauncherUtils.getDefaultApplicationName( ) ) );