GP-3886: Honor "Force Full View" when presenting Go-To actions.

This commit is contained in:
Dan
2023-10-03 10:50:03 -04:00
parent 29dfb904e2
commit 3500800e57

View File

@@ -631,8 +631,8 @@ public class DebuggerRegistersProvider extends ComponentProviderAdapter
catch (AddressOutOfBoundsException e) {
continue;
}
if (currentTrace.getMemoryManager()
.getRegionContaining(current.getSnap(), address) == null) {
// Use program view, not memory manager, so that "Force Full View" is respected.
if (!currentTrace.getProgramView().getMemory().contains(address)) {
continue;
}
String name = "Goto " + address.toString(true);