[CorDebug] Encapsulate these things in try/catch since exceptions kill the debugger.