Debugging Kext with Xcode

It would be great if my lldb debugger works under xcode - it works great for user-space applications, but what about Kext.

in userspace if you can use the debugger in one of the following scenarios:

  • start a new process from your project.
  • wait for a process with a specific name to appear.
  • connect to an existing process (according to IP).

All of these options do not require lldb command line initialization and therefore can be easily called from xcode config diagrams.

However, when debugging a kernel extension, this is a completely different story, since to connect the machine for debugging, you need to start kdp <remote ip>

. is it possible to do this from xcode?

Alternatively, I would like to hear about other gui wrappers for lldb that are capable of this task.

thank

+3


source to share





All Articles