mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/GP-3718_Dan_fixWatchTypeNPE' into patch
This commit is contained in:
@@ -280,6 +280,9 @@ public class DebuggerWatchesProvider extends ComponentProviderAdapter
|
|||||||
if (dataType == null) {
|
if (dataType == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
if (currentTrace == null) {
|
||||||
|
return dataType;
|
||||||
|
}
|
||||||
try (Transaction tx = currentTrace.openTransaction("Resolve DataType")) {
|
try (Transaction tx = currentTrace.openTransaction("Resolve DataType")) {
|
||||||
return currentTrace.getDataTypeManager().resolve(dataType, null);
|
return currentTrace.getDataTypeManager().resolve(dataType, null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user