A new debugger.
Lots of bugs/rough edges/etc - issues will be filed. Old-style debugging still works (just use --emit_source_annotations to get the helpful movs back and --break_on_instruction will still fire).
This commit is contained in:
@@ -87,6 +87,10 @@ void Win32Loop::ThreadMain() {
|
||||
on_quit(&e);
|
||||
}
|
||||
|
||||
bool Win32Loop::is_on_loop_thread() {
|
||||
return thread_id_ == GetCurrentThreadId();
|
||||
}
|
||||
|
||||
void Win32Loop::Post(std::function<void()> fn) {
|
||||
assert_true(thread_id_ != 0);
|
||||
if (!PostThreadMessage(
|
||||
|
||||
Reference in New Issue
Block a user