Lines 2759-2765
Link Here
|
2759 |
send("-gdb-set unwindonsignal off"); //NOI18N |
2759 |
send("-gdb-set unwindonsignal off"); //NOI18N |
2760 |
} |
2760 |
} |
2761 |
}; |
2761 |
}; |
2762 |
dataMIEval(lp, expr, dis, postRunnable); |
2762 |
dataMIEval(lp, expr, dis, postRunnable, postRunnable); |
2763 |
|
2763 |
|
2764 |
|
2764 |
|
2765 |
} |
2765 |
} |
Lines 2958-2965
Link Here
|
2958 |
} |
2958 |
} |
2959 |
return result; |
2959 |
return result; |
2960 |
} |
2960 |
} |
2961 |
|
2961 |
|
2962 |
private void dataMIEval(final Line.Part lp, final String expr, final boolean dis, final Runnable postRunnable) { |
2962 |
private void dataMIEval(final Line.Part lp, final String expr, final boolean dis, final Runnable postRunnable) { |
|
|
2963 |
dataMIEval(lp, expr, dis, postRunnable, null); |
2964 |
} |
2965 |
|
2966 |
private void dataMIEval(final Line.Part lp, final String expr, final boolean dis, final Runnable postRunnable, final Runnable postRunnableOnError) { |
2963 |
String expandedExpr = MacroSupport.expandMacro(this, expr); |
2967 |
String expandedExpr = MacroSupport.expandMacro(this, expr); |
2964 |
String cmdString = "-data-evaluate-expression " + "\"" + expandedExpr + "\""; // NOI18N |
2968 |
String cmdString = "-data-evaluate-expression " + "\"" + expandedExpr + "\""; // NOI18N |
2965 |
MICommand cmd = |
2969 |
MICommand cmd = |
Lines 3061-3066
Link Here
|
3061 |
@Override |
3065 |
@Override |
3062 |
public void run() { |
3066 |
public void run() { |
3063 |
postRunnable.run(); |
3067 |
postRunnable.run(); |
|
|
3068 |
if (postRunnableOnError != null) { |
3069 |
postRunnableOnError.run(); |
3070 |
} |
3064 |
//need to execute following code only after the value is update in onDone in createMIVar |
3071 |
//need to execute following code only after the value is update in onDone in createMIVar |
3065 |
final String toolTip = expr + "=" + data_value_string;//NOI18N |
3072 |
final String toolTip = expr + "=" + data_value_string;//NOI18N |
3066 |
final String expression = expr; |
3073 |
final String expression = expr; |
Lines 3101-3106
Link Here
|
3101 |
protected void onError(MIRecord record) { |
3108 |
protected void onError(MIRecord record) { |
3102 |
// Be silent on balloon eval failures |
3109 |
// Be silent on balloon eval failures |
3103 |
// genericFailure(record); |
3110 |
// genericFailure(record); |
|
|
3111 |
if (postRunnableOnError != null) { |
3112 |
postRunnableOnError.run(); |
3113 |
} |
3104 |
finish(); |
3114 |
finish(); |
3105 |
} |
3115 |
} |
3106 |
}; |
3116 |
}; |