[ros-dev] About debugging ROS
timo.kreuzer at web.de
Sun Jan 30 20:15:45 UTC 2011
In theory you can also use winDbg for debugging. You need to compile
reactos with KDBG = 0 and _WINKD_ = 1
Then you need a connection between WinDbg and kdcom. You can use com0com
and map the VM serial port to one
end of the pair and connect winDbg to the other. This works quite well
with qemu and VBox.
after WinDbg is connected you should be able to do the basic stuff, like
stepping, viewing and changing registers, dumping memory. What not works
is attaching to processes, as WinDbg needs symbols for that. so you
would need to compile with MSVC, which is work in progress. This
currently limits its usability quite a lot.
I used it only on x64, so I can't say how good it works on x86. But
afaik it works quite well, except that connecting can be a little tricky
in the beginning.
More information about the Ros-dev