mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +02:00
Fixed bugzilla report 163862. Globals don't show if there are no locals in the Variables view.
This commit is contained in:
parent
a7ce8026bb
commit
d349bb6921
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ public class CStackFrame extends CDebugElement implements ICStackFrame, IRestart
|
|||
* @see org.eclipse.debug.core.model.IStackFrame#hasVariables()
|
||||
*/
|
||||
public boolean hasVariables() throws DebugException {
|
||||
return ( isDisposed() ) ? false : getVariables0().size() > 0;
|
||||
return ( isDisposed() ) ? false : (getVariables0().size() > 0 || getGlobals().length > 0);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue