Bug 356346 - You cannot enter an expression in the memory Browser expression area if a continuous breakpoint is runing (backed out change; see bugzilla for explanation)

This commit is contained in:
John Cortell 2011-10-12 11:55:12 -05:00
parent 235d88f017
commit 9445f4c6a4

View file

@ -62,7 +62,6 @@ public class GoToAddressBarWidget {
private Button fOKButton;
private Button fOKNewTabButton;
private Composite fComposite;
private Object fCurrentDebugContext;
protected static int ID_GO_NEW_TAB = 2000;
@ -268,7 +267,6 @@ public class GoToAddressBarWidget {
*/
public void loadSavedExpressions(Object context, String memorySpace)
{
if ( context != null && ! context.equals( fCurrentDebugContext ) ) {
try {
String[] expressions = getSavedExpressions(context, memorySpace);
String currentExpression = fExpression.getText();
@ -279,13 +277,12 @@ public class GoToAddressBarWidget {
if (currentExpression != null) {
fExpression.setText(currentExpression);
}
fCurrentDebugContext = context;
System.out.println("GoToAddressBarWidget: set context field to " + context);
} catch (CoreException e) {
// Unexpected snag dealing with launch configuration
MemoryBrowserPlugin.log(e);
}
}
}
public void addExpressionToHistory(Object context, String expr, String memorySpace) {
/*