mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
[307614] Use handleError() instead of handleFailure() to handle MI errors.
This commit is contained in:
parent
f8d0290efa
commit
6cf5b7c02e
1 changed files with 4 additions and 4 deletions
|
@ -502,7 +502,7 @@ public class MIStack extends AbstractDsfService
|
||||||
rm.done();
|
rm.done();
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
protected void handleFailure() {
|
protected void handleError() {
|
||||||
// If the command fails it can be because we asked for values.
|
// If the command fails it can be because we asked for values.
|
||||||
// This can happen with uninitialized values and pretty printers (bug 307614)
|
// This can happen with uninitialized values and pretty printers (bug 307614)
|
||||||
// or when visualizing tracepoints. Since asking for values was simply an optimization
|
// or when visualizing tracepoints. Since asking for values was simply an optimization
|
||||||
|
@ -608,7 +608,7 @@ public class MIStack extends AbstractDsfService
|
||||||
rm.done();
|
rm.done();
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
protected void handleFailure() {
|
protected void handleError() {
|
||||||
// Unable to get the values. This can happen with uninitialized values and pretty printers (bug 307614)
|
// Unable to get the values. This can happen with uninitialized values and pretty printers (bug 307614)
|
||||||
// or when visualizing tracepoints. Either way, we try to ask for the arguments without their values,
|
// or when visualizing tracepoints. Either way, we try to ask for the arguments without their values,
|
||||||
// which is better than nothing
|
// which is better than nothing
|
||||||
|
@ -651,7 +651,7 @@ public class MIStack extends AbstractDsfService
|
||||||
rm.done();
|
rm.done();
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
protected void handleFailure() {
|
protected void handleError() {
|
||||||
// Unable to get the value. This can happen with uninitialized values and pretty printers (bug 307614)
|
// Unable to get the value. This can happen with uninitialized values and pretty printers (bug 307614)
|
||||||
// or when visualizing tracepoints. Either way, we try to ask for the variables without their values,
|
// or when visualizing tracepoints. Either way, we try to ask for the variables without their values,
|
||||||
// which is better than nothing
|
// which is better than nothing
|
||||||
|
@ -732,7 +732,7 @@ public class MIStack extends AbstractDsfService
|
||||||
countingRm.done();
|
countingRm.done();
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
protected void handleFailure() {
|
protected void handleError() {
|
||||||
// If the command fails it can be because we asked for values.
|
// If the command fails it can be because we asked for values.
|
||||||
// This can happen with uninitialized values and pretty printers (bug 307614)
|
// This can happen with uninitialized values and pretty printers (bug 307614)
|
||||||
// or when visualizing tracepoints. Since asking for values was simply an optimization
|
// or when visualizing tracepoints. Since asking for values was simply an optimization
|
||||||
|
|
Loading…
Add table
Reference in a new issue