Skip to content

Instantly share code, notes, and snippets.

@gabrielschulhof
Created February 13, 2019 21:34
Show Gist options
  • Save gabrielschulhof/a81140f7ac6e791f438b2e2e02dbaf16 to your computer and use it in GitHub Desktop.
Save gabrielschulhof/a81140f7ac6e791f438b2e2e02dbaf16 to your computer and use it in GitHub Desktop.
Process 15817 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.4
frame #0: 0x0000000105b66385 binding_noexcept.node`Napi::AsyncWorker::AsyncWorker(this=0x0000000105915dd0, receiver=0x00007ffeefbfca10, callback=0x00007ffeefbfcad0, resource_name="TestResource", resource=0x00007ffeefbfca78) at napi-inl.h:3537
3534 auto runner = AsyncWorker::OnExecute;
3535 auto completer = AsyncWorker::OnWorkComplete;
3536
-> 3537 status = napi_create_async_work(_env, resource, resource_id, runner,
3538 completer, this, &_work);
3539 NAPI_THROW_IF_FAILED_VOID(_env, status);
3540 }
Target 0: (node_g) stopped.
(lldb) print runner
(void (*)(napi_env__ *, void *)) $2 = 0x0000000105b478a0 (binding.node`Napi::AsyncWorker::OnExecute(napi_env__*, void*) at napi-inl.h:3620)
(lldb) print AsyncWorker::OnExecute
(void (*)(napi_env, void *)) $3 = 0x0000000105b66510 (binding_noexcept.node`Napi::AsyncWorker::OnExecute(napi_env__*, void*) at napi-inl.h:3620)
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment