A way for print something from the source code?

Discussions related to using the OSE version of VirtualBox.
Post Reply
Johannesynt
Posts: 10
Joined: 18. Apr 2014, 22:18

A way for print something from the source code?

Post by Johannesynt »

Hi, i'd like to find a way for print something from source code. I tried with printf, but i t works only when i start Virtualbox; when a start a virtual machine installed on virtulabox, printf doesn't work anymore. I tiried with LogRel, but it seemd not work in all .ccp files. I use that like a tracker, for check if some part of code is execute or not.
Thanks
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: A way for print something from the source code?

Post by noteirak »

There is a log file per machine launched, so maybe you should look into using that log file for that sort of thing - you should easily find an example in the code by looking for one of the string you can find in the log per example.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Johannesynt
Posts: 10
Joined: 18. Apr 2014, 22:18

Re: A way for print something from the source code?

Post by Johannesynt »

Thanks!
Post Reply