fix debugger not stopping at main
This commit is contained in:
@@ -162,7 +162,8 @@ void LLDBBackend::handle_state_change(lldb::StateType state)
|
|||||||
|
|
||||||
if (!_stop_at_entry)
|
if (!_stop_at_entry)
|
||||||
{
|
{
|
||||||
_target.BreakpointDelete(_hidden_main_bp);
|
// TODO: if we delete this, lldb continues the process again (?)
|
||||||
|
//_target.BreakpointDelete(_hidden_main_bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state == StateType::eStateStopped)
|
if (state == StateType::eStateStopped)
|
||||||
|
|||||||
Reference in New Issue
Block a user