summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
AgeCommit message (Collapse)Author
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2026-01-17Fix various typos and spelling mistakesSintendo
2025-09-28Merge pull request #13161 from oltolm/fix_qt6_warningsJMC47
dolphinQt: fix Qt6 deprecation warnings
2025-08-01Merge pull request #13797 from TryTwo/PR_Memory_SymbolsAdmiral H. Curtiss
MemoryWidget: Add Symbols and Notes.
2025-07-30MemoryWidget: Add symbols and Notes.TryTwo
Add option to hide them. Add box to search. Add ability to edit data symbols and notes in MemoryViewWidget.
2025-07-25Merge pull request #13446 from JosJuice/breakpoints-delayed-updateJordan Woyak
PowerPC: Add RAII handling for breakpoint updates
2025-07-19fix Qt6 deprecation warningsoltolm
2025-07-17MemoryViewWidget: Fix updates at end of address spaceDentomologist
Fix two bugs that occurred when viewing a memory range starting shortly before 0xffffffff. Bug 1: When there was at least one visible memory address at or after 0x0 none of the values would be displayed even when some of the addresses were valid. This happened because the loop condition in GetValues immediately returned false since m_address_range.first > m_address_range.second, causing m_values to be empty. This in turn led every address to be considered INVALID_MEMORY in UpdateColumns. Bug 2: When m_address_range.second was equal to 0xffffffff GetValues would enter an infinite loop. This happened because address would overflow to 0 after printing the last value in the table, causing the loop condition address <= m_address_range.second to be true forever.
2025-03-29[Debugger] CTRL+G support in code and memory viewNitch2024
2025-03-23PowerPC: Add RAII handling for breakpoint updatesJosJuice
bbf72e7 made a change where you can pass `false` to certain MemChecks functions to get them to skip performing an "update" step. It was then up to the caller to call the Update function later. This commit changes the implementation so that, instead of the caller passing in a boolean that controls whether a function calls Update, the function now returns an object that on destruction will call Update. Callers that are fine with Update being called right away can skip storing the object in a variable and thereby call Update immediately, and callers that want to call Update later can keep the object around. This new design reduces the risk that someone will forget calling Update.
2025-02-05Merge pull request #13302 from TryTwo/Breakpoints_Fix_LagAdmiral H. Curtiss
Breakpoints: Fix lag when loading multiple memory breakpoints
2025-02-04Breakpoints: Fix lag when adding or removing multiple memory breakpoints by ↵TryTwo
only calling DBATUpdated() once.
2025-01-19MemoryViewWidget: Color recently changed memory when auto updating.TryTwo
2025-01-19MemoryViewWidget: Add OnFrameEnd callback to auto-update memory while a game ↵TryTwo
is running.
2025-01-08MemoryViewWidget: Refactor updates using a dispatch function. Isolate memory ↵TryTwo
reads from table updates. Preparations for auto update while a game is running.
2025-01-07MemoryViewWidget: Refactor. Remove OnItemChanged signal and QSignalBlocker - ↵TryTwo
replace with a signal that is only sent at the correct time.
2024-09-20DolphinQt: A Ubiquitous Signal For When Breakpoints Changemitaclaw
There were three distinct mechanisms for signaling breakpoint changes in DolphinQt, and the wiring had room for improvement. The behavior of these signals has been consolidated into the new `Host::PPCBreakpointsChanged` signal, which can be emitted from anywhere in DolphinQt to properly update breakpoints everywhere in DolphinQt. This improves a few things: - For the `CodeViewWidget` and `MemoryViewWidget`, signals no longer need to propagate through the `CodeWidget` and `MemoryWidget` (respectively) to reach their destination (incoming or outgoing). - For the `BreakpointWidget`, by self-triggering from its own signal, it no longer must manually call `Update()` after all of the emission sites. - For the `BranchWatchDialog`, it now has one less thing it must go through the `CodeWidget` for, which is a plus.
2024-05-03Replace Common::BitCast with std::bit_castPokechu22
2024-04-30DolphinQt: Properly Delete (Some) Widgetsmitaclaw
This is not every memory leak, just the ones that were obvious.
2024-04-08Core::GetState: Avoid Global System Accessormitaclaw
2024-03-22DolphinQt Settings: Signal Debug Font By Const Referencemitaclaw
2024-03-01Memory(View)Widget: Avoid Global System Accessormitaclaw
2023-08-21MemoryViewWidget: Fix some characters being truncatedSepalani
2023-06-08MemoryViewWidget: Use QStringView with ConvertTextToBytesLioncash
Allows for avoiding string copies. While we're at it, we can also mark ConvertTextToBytes as const.
2023-05-16StringUtil: Move IsPrintableCharacter() into Common namespaceLioncash
2023-04-25DolphinQt: cache icons instead of single pixmapsShawn Hoffman
Fixes dynamically changing dpi scaling. Load resources from svg if possible. Currently svg support is not in Qt build in Externals, and image files need to be added later.
2023-04-25DolphinQt: assume QT_VERSION_CHECK >= 6.0.0Shawn Hoffman
2023-04-14Merge pull request #11687 from Minty-Meeo/warningsLéo Lam
Resolve GCC/Clang Warnings
2023-04-10Resolve [-Wunused-lambda-capture]Minty-Meeo
2023-04-09PowerPC: Refactor to class, move to System.Admiral H. Curtiss
2023-04-07DolphinQt: Prevent MemoryViewWidget updates when hiddensowens99
2023-03-08Core: Add System parameter to CPUThreadGuard.Admiral H. Curtiss
2023-02-17MemoryViewWidget: Fix memory leaksPokechu22
bp_item/row_item/item were never deleted, and the normal Qt ownership system wasn't applying to them because they were being cloned.
2023-02-14Follow-up fixes for "Properly lock CPU before accessing emulated memory"JosJuice
2023-02-12DolphinQt: Properly lock CPU before accessing emulated memoryJosJuice
This fixes a problem I was having where using frame advance with the debugger open would frequently cause panic alerts about invalid addresses due to the CPU thread changing MSR.DR while the host thread was trying to access memory. To aid in tracking down all the places where we weren't properly locking the CPU, I've created a new type (in Core.h) that you have to pass as a reference or pointer to functions that require running as the CPU thread.
2023-02-09MemoryViewWidget: Fix warning: enumeration value ‘Null’ not handled in ↵Pokechu22
switch [-Wswitch]
2022-12-17Fix MemoryViewWidget background colourSketch
2022-12-04Expand conditional breakpoints to memory breakpointsTryTwo
2022-11-30MemoryViewWidget set target address as selected. Fix focus call. Always ↵TryTwo
color selected item blue.
2022-10-22MemoryViewWidget refactor memory table.TryTwo
Don't re-create the table on every update.
2022-07-01Debugger MemoryViewWidget: Allow direct editing of memory cells.TryTwo
2022-06-20Qt/MemoryViewWidget: Don't elide textPokechu22
Before, the Hex 32 display would get truncated on Linux.
2022-05-10Qt/MemoryViewWidget: Fix resizing.Admiral H. Curtiss
2022-05-08Qt/MemoryViewWidget: Remove the behavior that clicking anywhere in the table ↵Admiral H. Curtiss
centers the table on that row.
2022-05-08Qt/MemoryViewWidget: Add a custom scrollbar.Admiral H. Curtiss
2022-05-08Qt/MemoryViewWidget: Convert into QWidget that has the table as a member.Admiral H. Curtiss
2022-05-08Qt/MemoryViewWidget: Keyboard navigation should observe the number of bytes ↵Admiral H. Curtiss
per row instead of assuming 16.
2022-04-24Qt/MemoryViewWidget: Detect row breakpoint cell by cell data instead of cell ↵Admiral H. Curtiss
position.
2022-04-24Qt/MemoryViewWidget: Add option to copy the actually displayed cell value to ↵Admiral H. Curtiss
clipboard.
2022-04-24Qt/MemoryViewWidget: Don't use a member variable to hold information about ↵Admiral H. Curtiss
the current mouse click.