1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 176077 - Running threads flicker in Launch View when stepping in one thread.

This commit is contained in:
Ken Ryall 2007-05-05 00:19:48 +00:00
parent 87b26cc99e
commit dc298fd126

View file

@ -9,6 +9,7 @@
* QNX Software Systems - Initial API and implementation
* Stefan Bylund (Enea, steby@enea.se) - patch for bug 155464
* Ken Ryall (Nokia) - Support for breakpoint actions (bug 118308)
* Ling Wang (Nokia) - Bug 176077
*******************************************************************************/
package org.eclipse.cdt.debug.internal.core.model;
@ -132,7 +133,11 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
* @see org.eclipse.debug.core.model.IThread#hasStackFrames()
*/
public boolean hasStackFrames() throws DebugException {
// Always return true to postpone the stack frames request
// Always return true to postpone the stack frames request.
// But not if the thread is already resumed. This fixes flickering in the Debug View.
if (getState().equals( CDebugElementState.RESUMED ))
return false;
return true;
}