[vbox-dev] problem when building debug version

Fengjun Eric Tian Fengjun.Tian at Sun.COM
Tue Nov 4 23:39:30 GMT 2008


Hi Michael,

This really helps a lot! Thank you for your information.

Thanks,
Fengjun

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.
>
> Regards,
>
> Michael
>
> Fengjun Eric Tian wrote:
>   
>> Hi,
>>
>> 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,
>> Fengjun
>>
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>>     
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>   




More information about the vbox-dev mailing list