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
debugging xcode xnu macos kernel-extension


source to share


No one has answered this question yet

See similar questions:

3
Developing and Debugging KEXT on Mac

or similar:

1517
How do I debug Node.js applications?
1348
How to "add existing frames" in Xcode 4?
981
How to download Xcode DMG or XIP file?
818
Git ignore file for Xcode projects
341
Xcode "Build and Archive" from command line
ten
Remote debugging using lldb / Xcode
five
Configuring kernel debugging with two machines over the network
1
Kext triggers panic on contextual thread switcher on macOS 10.14.
1
Xcode: custom lldb or adding args to existing
1
how to do remote kernel uninstall on Maverics 10.9 OSX using lldb?



All Articles
Loading...
X
Show
Funny
Dev
Pics