[vbox-dev] problem when building debug version
Fengjun Eric Tian
Fengjun.Tian at Sun.COM
Tue Nov 4 15:39:30 PST 2008
This really helps a lot! Thank you for your information.
Michael Thayer 写道:
> Hello Fengjun,
> Debug versions of VirtualBox create a debug log in addition to the
> release log. The debug log is usually created in the current directory.
> However, by default nothing goes into it - you need to enable the
> logging you need by setting environment variables. Take a look at the
> documentation in the file src/VBox/Runtime/VBox/log-vbox.cpp for a bit
> more information regarding how to set the variables.
> Fengjun Eric Tian wrote:
>> I'm building 2.0.2-OSE under windows xp sp2 host.
>> I can build a debug version using "kmk BUILD_TYPE=debug" and it is
>> working, the question is, it doesn't print any debug message to the log
>> file, and the first line of log file shows it's still a *release* version:
>> "00:00:01.347 VirtualBox 2.0.2_OSE r12420 win.x86 (Oct 28 2008 14:37:00)
>> release log"
>> I did run virtualbox3.exe from out\win.x86\debug\bin.
>> How do I build one, that can print some debugging messages, like
>> function entries etc? If there's any source file that takes control over
>> this, pls let me know.
>> Thank you in advance,
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
> vbox-dev mailing list
> vbox-dev at virtualbox.org
More information about the vbox-dev