mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Merge remote-tracking branch 'origin/GP-5394_Dan_fixWatchDeref' into patch
This commit is contained in:
commit
c2533aaf6e
1 changed files with 8 additions and 1 deletions
|
@ -133,7 +133,14 @@ public class DefaultWatchRow implements WatchRow {
|
|||
}
|
||||
// Do not accidentally hang the Swing thread on evaluation
|
||||
WatchValue fullValue = compiled.evaluate(executor);
|
||||
byte[] prevValue = prevExec == null ? null : compiled.evaluate(prevExec);
|
||||
byte[] prevValue;
|
||||
try {
|
||||
prevValue = prevExec == null ? null : compiled.evaluate(prevExec);
|
||||
}
|
||||
catch (Exception e) {
|
||||
Msg.trace(this, "Error in evaluating previous value. Ignoring.", e);
|
||||
prevValue = null;
|
||||
}
|
||||
synchronized (lock) {
|
||||
if (executor != provider.asyncWatchExecutor) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue