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
{
					String source = ( String ) sourcePaths.get( i );
					ISourceContainer temp = new DirectorySourceContainer(
							new Path( source ), true );
					list.add( temp );
				}
			} catch ( CoreException e )
			{
			}
			ISourceContainer[] retValue = new ISourceContainer[list.size( )];
			retValue = ( ISourceContainer[] ) list.toArray( retValue );
			director.setSourceContainers( retValue );
		}
	}
	/**
	 * @param configuration
	 * @return
	 * @throws CoreException
	 */
	private VMRunnerConfiguration createVMRunner(
			ILaunchConfiguration configuration ) throws CoreException
	{
		String classpath[] = LauncherUtils.constructClasspath( configuration );
		if ( classpath == null )
		{
			String message = DebugUtil
					.getResourceString( "WorkbenchLauncherConfigurationDelegate.noStartup" );
			throw new CoreException( LauncherUtils.createErrorStatus( message ) );
		}
		String programArgs[] = getProgramArguments( configuration );