Re: Darwin-kernel Digest, Vol 16, Issue 10
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I think the problem could be Enet over VM…, in my case. In local subnet, I will try two real machines over internet to see how it respond. I know GDB and KGDB are not true sense kernel debugger. So I don’t expect LLDB going to be a real kernel debugger either, but system gets locked after two to three hard breaks ( __asm int3;) even though I respond fairly fast is pain… For example, Window kernel debugger I can set a break point, once it breaks into - I can take a vacation and start debugging from there after few days… Since KDP protocol does not send much across the line, even a NULL serial could be fine… /r, prokash
----------------------------------------------------------------------
Message: 1 Date: Thu, 30 May 2019 17:21:32 +0200 From: Phil Dennis-Jordan <lists@philjordan.eu> To: joe.lowe@pismotechnic.com Cc: "darwin-kernel@lists.apple.com Kernel" <darwin-kernel@lists.apple.com> Subject: Re: Been bothering ever since 10.12+ Message-ID: <CAGCz3vt9A58zteGcamV=m_=4L1y=9SA9XmHErVNSqAvWhon6rA@mail.gmail.com> Content-Type: text/plain; CHARSET=US-ASCII
On Fri, May 17, 2019 at 12:29 AM <joe.lowe@pismotechnic.com> wrote:
In my experience: The mac kernel intermittently locks up during single-step kernel debugging. This has been an issue since well before 10.12, at least going back to 10.6 .
Using breakpoints instead of single-step mostly avoids the kernel debugger lock-ups, but still happens occasionally. For issues where breakpoints don't cut it, things can be pretty frustrating.
I can confirm all of the above and will add: it seems to be a little more reliable over Firewire versus Ethernet. Plus, commands with large output (showallthreads and such) tend to run much faster. These days, using Firewire means a multitude of dongles, but what can you do. It'd be nice if you could do it via a direct Thunderbolt connection or if macOS started supporting the special USB 3.0 A-to-A debug cable that can apparently be used for debugging the Linux and Windows kernels.
Phil
------------------------------
Subject: Digest Footer
_______________________________________________ Darwin-kernel mailing list Darwin-kernel@lists.apple.com https://lists.apple.com/mailman/listinfo/darwin-kernel
------------------------------
End of Darwin-kernel Digest, Vol 16, Issue 10 *********************************************
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Prokash Sinha via Darwin-kernel