[all-commits] [llvm/llvm-project] 503410: Log the NSError str and object description on app ...

Jason Molenda via All-commits all-commits at lists.llvm.org
Tue May 5 15:52:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5034102b249f850109ccd7b2c8a02a246edcd95a
      https://github.com/llvm/llvm-project/commit/5034102b249f850109ccd7b2c8a02a246edcd95a
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M lldb/tools/debugserver/source/MacOSX/MachProcess.mm

  Log Message:
  -----------
  Log the NSError str and object description on app launch fail

Update CallBoardSystemServiceOpenApplication to unconditionally log
the NSError's localizedDescription to Console on app launch failure
(as it was already doing), and also to log the NSError object's
full description to the console, which may contain additional nested
error messages.  I'm experimenting to find cases where we will get
more detailed information from app launch failures and will start
by logging both to the console.

<rdar://problem/62709160>




More information about the All-commits mailing list