What are the most common and why not uncommon methods and tools used to do live debugging on the Linux kernel? I know that Linus for eg. is against this kind of debugging fo
As someone who writes kernel code a lot I have to say I have never used kgdb, and only rarely use kprobes etc.
It is still often the best approach to throw in some strategic printks. In more recent kernels trace_printk is a good way to do that without spamming dmesg.