PDA

View Full Version : remote debugging from visual studio 2003


Niclas
2003-10-31, 20:45
hello, i have modified the capplication::initialize() function in order to enable remote debugging from visual studio 2003.

i have added the #ifndef _debug and #endif around the init network function.

*// initialize network
#ifndef _debug
*if ( cutil::initializenetwork(g_stsettings.m_strlocalip adres,
* * * * * * * * * * * * * *g_stsettings.m_strlocalnetmask,
* * * * * * * * * * * * * *g_stsettings.m_strgateway ) )
*{
m_sntpclient.create(); * * * * * * * * * * *
* *
*}
#endif

is this the prefered way to debug xbox media center?

regards

jmarshall
2003-10-31, 23:09
if you are talking about remote debugging in the form of breakpoints etc., you shouldn't have to do this. this sets the ip address for the xbmc application - the remote debugging should still work with the ip address it got via dhcp from the development pc. (works for me, at least for break points/stepping through code etc.)