<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>you can use the following command line to debug:</DIV>
<DIV> </DIV>
<DIV>devenv.exe /debugexe virtualbox.exe -startvm {vm-guid}</DIV>
<DIV> </DIV>
<DIV>the vm guid can be found from the xml file.</DIV>
<DIV> </DIV>
<DIV>Inside vs.net, you can open any source file, and set a breakpoint.</DIV>
<DIV> </DIV>
<DIV>Another way is to launch a vm first, then attach to the process.</DIV>
<DIV> </DIV>
<DIV>Huihong<BR><BR>--- On <B>Thu, 2/5/09, Stefan Koesling <I><lekanteto@gmail.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Stefan Koesling <lekanteto@gmail.com><BR>Subject: [vbox-dev] How to debug on Windows?<BR>To: vbox-dev@virtualbox.org<BR>Date: Thursday, February 5, 2009, 4:52 PM<BR><BR>
<DIV id=yiv1718042576>Hello,<BR><BR>I have successfully build the debug version of VBox on Windows. <BR>How can I run it the visual c++ 2005 express debugger to set breakpoints, singlestep, etc...?<BR><BR>Thank you for your help,<BR>Stefan </DIV><PRE>_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
</PRE></BLOCKQUOTE></td></tr></table>