| 249 | ////////////////////////////////////////////////////////////////////////// |
| 250 | |
| 251 | CeDebugger::CeDebugger(DebugManager* debugManager, BfCompiler* bfCompiler) |
| 252 | { |
| 253 | mDebugManager = debugManager; |
| 254 | mCompiler = bfCompiler; |
| 255 | mCeMachine = bfCompiler->mCeMachine; |
| 256 | mRunState = RunState_Running; |
| 257 | mCeMachine->mDebugger = this; |
| 258 | mCeMachine->mDebugEvent.Reset(); |
| 259 | mDebugPendingExpr = NULL; |
| 260 | mCurDbgState = NULL; |
| 261 | mBreakpointVersion = 0; |
| 262 | mBreakpointCacheDirty = false; |
| 263 | mBreakpointFramesDirty = false; |
| 264 | mCurDisasmFuncId = 0; |
| 265 | mActiveBreakpoint = NULL; |
| 266 | mCurEvaluationContext = NULL; |
| 267 | mPendingActiveFrameOffset = 0; |
| 268 | } |
| 269 | |
| 270 | String CeDebugger::TypeToString(const BfTypedValue& typedValue) |
| 271 | { |