CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
Path: blob/master/Windows/Debugger/Debugger_Disasm.h
Views: 1401
#pragma once12#include "Windows/W32Util/DialogManager.h"3#include "Windows/W32Util/TabControl.h"4#include "Windows/Debugger/Debugger_Lists.h"5#include "Core/Core.h"6#include "Core/MIPS/MIPSDebugInterface.h"7#include "Core/Debugger/Breakpoints.h"8#include <vector>910#include "Common/CommonWindows.h"1112class CtrlDisAsmView;1314class CDisasm : public Dialog15{16private:17int minWidth;18int minHeight;19DebugInterface *cpu;20u64 lastTicks;2122HWND statusBarWnd;23CtrlBreakpointList* breakpointList;24CtrlThreadList* threadList;25CtrlStackTraceView* stackTraceView;26CtrlModuleList* moduleList;27CtrlWatchList *watchList_;28TabControl* leftTabs;29TabControl* bottomTabs;30std::vector<BreakPoint> displayedBreakPoints_;31std::vector<MemCheck> displayedMemChecks_;32bool keepStatusBarText = false;33bool hideBottomTabs = false;34bool deferredSymbolFill_ = false;3536BOOL DlgProc(UINT message, WPARAM wParam, LPARAM lParam) override;37void UpdateSize(WORD width, WORD height);38void SavePosition();39void updateThreadLabel(bool clear);40void stepInto();41void stepOver();42void stepOut();43void runToLine();4445public:46int index;4748CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *cpu);49~CDisasm();5051void Show(bool bShow, bool includeToTop = true) override;5253void Update() override {54UpdateDialog();55SetDebugMode(Core_IsStepping(), false);56breakpointList->reloadBreakpoints();57};58void UpdateDialog();59void SetDebugMode(bool _bDebug, bool switchPC);6061void Goto(u32 addr);62void NotifyMapLoaded();6364private:65CtrlDisAsmView *DisAsmView();66void ProcessUpdateDialog();6768bool updateDialogScheduled_ = false;69};707172