code: public IStackFrame[] getStackFrames() throws DebugException
  	{
  		if (!isSuspended())
  		{
  			try
  			{
  				Thread.sleep(100);
  			} catch (Exception e)
  			{
  			}
  			if (!isSuspended())
  			{
  				return VdmStack.NO_STACK_FRAMES;
  			}
  		}
  
  		return session.getDebugOptions().filterStackLevels(stack.getFrames());
  	}
docs: IThread