This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Add some additional, unconditional, logging to debugserver mostly related to app launching/attaching
ClosedPublic

Authored by jasonmolenda on Jan 9 2021, 2:11 AM.

Details

Summary

It can be tricky to find the important error messages when debugserver tries to launch or attach to a process in the system console log. Add some new logging messages to give us clear before/after logging around the critical areas, so we can search other subsystems that might issue a console message about why the app launch failed. These new logging messages are only intended to go to the system console, not stdout when running debugserver from the command line, unless logging is redirected somewhere else.

rdar://problem/67220442

Diff Detail

Event Timeline

jasonmolenda created this revision.Jan 9 2021, 2:11 AM
jasonmolenda requested review of this revision.Jan 9 2021, 2:11 AM
This revision is now accepted and ready to land.Jan 10 2021, 6:51 PM
This revision was landed with ongoing or failed builds.Jan 11 2021, 10:26 PM
This revision was automatically updated to reflect the committed changes.