llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel
Felipe de Azevedo Piovezan 9749587498 [lldb] Reset breakpoint hit count before new runs
A common debugging pattern is to set a breakpoint that only stops after
a number of hits is recorded. The current implementation never resets
the hit count of breakpoints; as such, if a user re-`run`s their
program, the debugger will never stop on such a breakpoint again.

This behavior is arguably undesirable, as it renders such breakpoints
ineffective on all but the first run. This commit changes the
implementation of the `Will{Launch, Attach}` methods so that they reset
the _target's_ breakpoint hitcounts.

Differential Revision: https://reviews.llvm.org/D133858
2022-09-19 12:56:12 -04:00
..
CMakeLists.txt
CommunicationKDP.cpp [lldb] [Core] Split read thread support into ThreadedCommunication 2022-09-06 13:09:42 +02:00
CommunicationKDP.h [lldb] Fix CommunicationKDP following D133251 2022-09-06 10:48:12 -07:00
ProcessKDP.cpp [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
ProcessKDP.h [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
ProcessKDPLog.cpp [lldb] Fix ProcessKDPLog for the logging refactor 2022-01-25 20:51:19 +01:00
ProcessKDPLog.h [lldb] Fix windows&mac builds for c34698a811 2022-02-03 18:06:55 +01:00
ProcessKDPProperties.td
RegisterContextKDP_arm.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextKDP_arm.h [lldb] Fix modernize-use-override warnings (NFC) 2022-06-17 15:08:02 -07:00
RegisterContextKDP_arm64.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextKDP_arm64.h [lldb] Fix modernize-use-override warnings (NFC) 2022-06-17 15:08:02 -07:00
RegisterContextKDP_i386.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextKDP_i386.h [lldb] Fix modernize-use-override warnings (NFC) 2022-06-17 15:08:02 -07:00
RegisterContextKDP_x86_64.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextKDP_x86_64.h [lldb] Fix modernize-use-override warnings (NFC) 2022-06-17 15:08:02 -07:00
ThreadKDP.cpp [lldb] Convert Process KDP Log to the new API 2022-01-31 08:59:41 +01:00
ThreadKDP.h [lldb] Fix modernize-use-override warnings (NFC) 2022-06-17 15:08:02 -07:00