llvm-project/lldb/source
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
..
API [Formatters][NFCI] Replace 'is_regex' arguments with an enum. 2022-09-13 12:50:55 -07:00
Breakpoint [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
Commands Add the ability to show when variables fails to be available when debug info is valid. 2022-09-12 13:59:05 -07:00
Core Add mach-o corefile support for platform binaries 2022-09-13 15:46:18 -07:00
DataFormatters [lldb] Use std::size instead of llvm::array_lengthof 2022-09-08 14:21:55 -06:00
Expression [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
Host [lldb-server] Report launch error in vRun packets 2022-09-09 15:10:38 +02:00
Initialization [lldb] Remove FileSystem::Initialize from FileCollector 2022-03-03 13:22:38 -08:00
Interpreter Revert "Revert "Be more careful to maintain quoting information when parsing commands."" 2022-09-14 14:49:51 -07:00
Plugins [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
Symbol [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
Target [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
Utility Revert "Revert "Be more careful to maintain quoting information when parsing commands."" 2022-09-14 14:49:51 -07:00
Version [lldb] Fix LLDB_FULL_VERSION_STRING 2022-01-19 14:20:22 -08:00
CMakeLists.txt [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00