Kodi Community Forum
remote debugging from visual studio 2003 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: remote debugging from visual studio 2003 (/showthread.php?tid=272)



- Niclas - 2003-10-31

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_strlocalipadres,
                           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

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.)