summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Debug
AgeCommit message (Collapse)Author
2026-03-23Use more std::span argumentsSintendo
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...)
2025-03-09Simplify `std::find_if` with `std::ranges::find` and projectionsmitaclaw
In LabelMap.cpp, the code is currently unused so I was unable to test it. In WiiUtils.cpp, the magic value `1u` was replaced by the constant value `DiscIO::PARTITION_UPDATE`.
2024-12-15Modernize `std::any_of` with rangesmitaclaw
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those. In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
2024-08-20Remove redundant semicolonsDr. Dystopia
2023-12-12Watches: Make use of std::erase_ifLioncash
2023-06-18Replace std::ostringstream usage with fmt::formatget
2023-04-24Common: Move CodeTrace.cpp/.h into CoreLioncash
This interface relies on Core details and shouldn't be in Common to begin with, since it's not a general utility.
2023-04-09PowerPC: Refactor to class, move to System.Admiral H. Curtiss
2023-03-13Core/CPUThreadGuard: Fetch System from Guard.Admiral H. Curtiss
2023-02-15Fix uninitialized variable warnings (C26495)Pokechu22
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-09Resolve various "no previous declaration" warningsPokechu22
2023-01-27CodeTrace: Avoid ppcState global.Admiral H. Curtiss
2023-01-27PowerPC: Remove PC macro.Admiral H. Curtiss
2023-01-24Common: Replace StringBeginsWith/StringEndsWith with std equivalentsLioncash
Obsoletes these functions in favor of the standard member functions added in C++20.
2022-12-23Core: add locked state to watchesiwubcode
2022-12-23Core: add ability to add memory patches to the patch engine that will be ↵iwubcode
executed each frame
2022-12-23Core: add helper function to apply a memory patch and mark the 'PPCPatches' ↵iwubcode
as final
2022-11-04Merge pull request #10771 from TryTwo/PR_AutoStepAdmiral H. Curtiss
Debugger: Implement base code tracing logic. and feature to auto-step through code.
2022-10-26Make SetPatch responsible for overwriting old patchesJoshuaMK
2022-10-23Have UnsetPatch only unset the argument addressJoshuaMK
2022-10-23Fix patch corruption using find_if instead of remove_ifJoshuaMK
2022-10-06MemoryView auto updateDebugger. Implement base codetrace logic. Add register ↵TryTwo
breakpoints. Add CodeViewWidget autostepping to track a value.Debugger
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-03-04Watches: Fix Save and Load from stringsSepalani
2020-10-21Common: Move OSThreads into coreLioncash
Common shouldn't be depending on APIs in Core (in this, case depending on the PowerPC namespace). Because of the poor separation here, this moves OSThread functionality into core, so that it resolves the implicit dependency on core.
2020-05-03Debugger: Add a Thread widgetSepalani
DebugInterface: Add GetThreads WatchWidget: Update widget on AddWatch
2019-12-29Use std::istringstream or std::ostringstream instead of std::stringstream ↵David Korth
where possible. This removes std::iostream from the inheritance chain, which reduces overhead slightly.
2019-07-08Common/Watches: std::move strings where applicableLioncash
Allows calling code to move the std::string into the Watch instances, avoiding copies.
2018-06-19Common/MemoryPatches: Silence variable shadowing warningsLioncash
2018-05-29MemoryPatches: In-class initialize is_enabled state for MemoryPatch instancesLioncash
Given this is what occurs in both constructors (as one just passes through to another), we can just initialize the member directly. While we're at it, amend the struct to follow the general ordering convention of: <new types> <functions> <variables>
2018-05-29MemoryPatches: std::move std::vector in the constructorLioncash
We can avoid copying the vector contents in this instance.
2018-05-22DebugInterface: MemoryPatches methods addedSepalani
CodeView: Restore instruction added
2018-04-28DebugInterface: Watches methods addedSepalani
Move Watches to Common