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/internal/ui/launcher/util/WorkspaceClassPathFinder.java
/*******************************************************************************
 * Copyright (c) 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.debug.internal.ui.launcher.util;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import org.eclipse.birt.report.viewer.utilities.IWorkspaceClasspathFinder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
/**
 * Class used to find a classpath based on projects or workspace
 * 
 */
public class WorkspaceClassPathFinder implements IWorkspaceClasspathFinder