Variable (String name) { Assert.assertTrue("Eval works only while suspended", mySession.isSuspended()); XValue var = XDebuggerTestUtil.evaluate(mySession, name).first; Assert.assertNotNull("There is no variable named " + name, var); return new Variable(var); }