import org.eclipse.core.resources.IStorage;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.PlatformObject;
+import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.model.IBreakpoint;
import org.eclipse.debug.core.model.ILineBreakpoint;
return getBreakpointText((IBreakpoint) element);
} else if (element instanceof XDebugVariable) {
XDebugVariable phpVar = (XDebugVariable) element;
- return phpVar.toString();
+ return phpVar.getName() + "= " + phpVar.getValueString();//toString();
}
} catch (CoreException e) {
//return PHPDebugUiMessages
* @see IDebugModelPresentation#computeDetail(IValue, IValueDetailListener)
*/
public void computeDetail(IValue value, IValueDetailListener listener) {
- return;
+ String detail = "";
+ try {
+ detail = value.getValueString();
+ } catch (DebugException e) {
+ }
+ listener.detailComputed(value, detail);
+ //return;
}
protected IBreakpoint getBreakpoint(IMarker marker) {