how debug VM by using built-in debuugger through telnet

Discussions related to using the OSE version of VirtualBox.
Post Reply
jianghao
Posts: 8
Joined: 6. May 2012, 17:31

how debug VM by using built-in debuugger through telnet

Post by jianghao »

hi ~! evyerbody!
first this is my lab envirenment;
host os: win7 32bit;
guest os : winxp sp3 32bit;

Code: Select all

vboxmanage list vms
"winxp" {49d64c75-9a9c-467b-a247-c244faae0c73}

Code: Select all

C:\>vboxmanage list hostinfo
Host Information:

Host time: 2012-05-08T01:53:10.205000000Z
Processor online count: 2
Processor count: 2
Processor#0 speed: unknown
Processor#0 description: AMD Athlon(tm) II X2 250 Processor
recently, i need to debug a VM, so I read the The official document,
there are three method to debug a VM
1);A debugger console window displayed alongside the VM (I configured successfully~)

Code: Select all

C:\>set VBOX_GUI_DBG_ENABLED=ture

C:\>set  VBOX_GUI_DBG_AUTO_SHOW=ture

C:\>set v
VBOX_GUI_DBG_AUTO_SHOW=ture
VBOX_GUI_DBG_ENABLED=ture
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
2) using virtualbox manager to create a VM's shortcut; and edit its attribute to add --debug; (I configured successfully~)

3) The official document says [Via the telnet protocol at port 5000], but as i know 5000 usually is the VRDP server port;
so anybody can tell me how to debug a VM using virtualbox built-in debugger through telnet setp by setp?

Code: Select all

C:\>vboxmanage startvm winxp --type headless
Waiting for VM "winxp" to power on...
VM "winxp" has been successfully started.

C:\>telnet localhost 5000 (fail to connect)
thanks , everybody!^_^
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: how debug VM by using built-in debuugger through telnet

Post by mpack »

Moved to "VirtualBox OSE".
jianghao
Posts: 8
Joined: 6. May 2012, 17:31

Re: how debug VM by using built-in debuugger through telnet

Post by jianghao »

thanks! friend let me try
Post Reply