From 253c33928763775486227b74d3c4e2f62972a70e Mon Sep 17 00:00:00 2001 From: John Cortell Date: Wed, 2 Apr 2008 23:35:24 +0000 Subject: [PATCH] Allow user to enter range in hex format --- .../cdt/debug/internal/ui/actions/AddWatchpointDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddWatchpointDialog.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddWatchpointDialog.java index f1d5ca96b97..3c42f7ba625 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddWatchpointDialog.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddWatchpointDialog.java @@ -386,7 +386,7 @@ public class AddWatchpointDialog extends Dialog implements ModifyListener, Selec } public BigInteger getRange() { - return new BigInteger( fRange ); + return BigInteger.valueOf( Long.decode(fRange).longValue() ); } public void initializeRange( boolean enable, String range ) {