Kernel Debugging: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
Line 141:
== Using an IDE ==
You can debug Linux kernel modules with Visual Studio if you use the VisualKernel plugin. Here's a tutorial showing a normal debugging session: http://visualkernel.com/tutorials/kgdb/
 
== VirtualBox ==
Start your virtual machine with the command "VirtualBox --dbg --startvm <Name>" and then a "Debug" menu will appear on the window. You can choose "Command Line" to open a debugging prompt.
Useful commands:
"r" - views registers (only on first CPU?)
"dq <Address>" - dump 48 bytes of memory at the address as quadwords
 
== Related Threads ==