1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 02:30:30 +09:00

HackStudio: Move everything into the HackStudio namespace

This commit is contained in:
Andreas Kling 2020-08-17 15:22:30 +02:00
parent ce48de9845
commit c0462c65cf
Notes: sideshowbarker 2024-07-19 03:29:20 +09:00
40 changed files with 184 additions and 18 deletions

View file

@ -26,6 +26,8 @@
#include "Debugger.h"
namespace HackStudio {
static Debugger* s_the;
Debugger& Debugger::the()
@ -183,8 +185,11 @@ void Debugger::DebuggingState::set_single_stepping(DebugInfo::SourcePosition ori
m_state = State::SingleStepping;
m_original_source_position = original_source_position;
}
bool Debugger::DebuggingState::should_stop_single_stepping(const DebugInfo::SourcePosition& current_source_position) const
{
ASSERT(m_state == State::SingleStepping);
return m_original_source_position.value() != current_source_position;
}
}