Reactos debug (debugging)

Source: Internet
Author: User

After reading more than N reactos code, I always wanted to debug it. So I went to the Wiki and checked the debugging information. There are three main debugging methods: kdbg, GDB, windbg (http://www.reactos.org/wiki/Debugging)

L kdbg Mode

This is the built-in debugging mechanism of reactos. This is the default debugging mechanism. But what is the kdbg debugging client? There was an article on the internet saying that fdebug was too troublesome. It took a few days to know that it was originally a reactos remote debugger (rosdbg ). The source code of this rosdbg is written in SVN: // svn.reactos.org/reactos/trunk/tools/reactosdbg, which is written in csung. I downloaded tortoisesvn and compiled it with vs2008 to generate/reactosdbg/rosdbg/bin/x86/debug/rosdbg.exe! The configuration of VMware is the same as that of windbg kernel debugging. Select "reactos (rosdbg)" in the Startup menu )"

Everything is OK ......

For more information about kdbg commands, see http://www.reactos.org/wiki/kdbg. the central disconnection system is mongotab1_k.pdf ".

 

L windbg Mode

Reactos has limited support for this method. Copy config. template. rbuild to config. rbuild.,Open config. rbuild, changed to <property name = "kdbg" value = "0"/>, <property name = "_ winkd _" value = "1"/>, in addition, kdcom. copy the DLL to reactos. Restart the system and select "reactos (Debug)" from the menu )". The configurations of VMware and windbg are the same as those of Dual-host kernel debugging.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.