mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fixed NPE when there are no memory spaces
This commit is contained in:
parent
78bbafea7e
commit
918fa29658
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
|
|||
{
|
||||
fGotoAddressBarControl.setVisible(true);
|
||||
String addressSpaces[][] = getAddressSpaces(retrieval);
|
||||
if(addressSpaces[0].length > 0)
|
||||
if(addressSpaces.length > 0)
|
||||
{
|
||||
fGotoAddressSpaceControl.setVisible(true);
|
||||
fGotoAddressSpaceControl.setItems(addressSpaces[0]);
|
||||
|
|
Loading…
Add table
Reference in a new issue