XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2003-10-31, 20:45   #1
Niclas
Junior Member
 
Join Date: Oct 2003
Posts: 10
Niclas is on a distinguished road
Default

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
Niclas is offline   Reply With Quote
Old 2003-10-31, 23:09   #2
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

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.)
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to MS Visual Studio 2005 JustinT9669 XBMC Development 3 2005-11-08 08:15
Will this ver of visual studio compile xbmc Blackwidow XBMC for Xbox Specific Support 2 2004-11-20 02:01
Will this ver of visual studio compile xbmc Blackwidow XBMC General Discussion 1 2004-11-19 00:50
The Selected file is not a valid Visual Studio sol kompressor_uk XBMC for Xbox Specific Support 2 2004-04-09 19:17


All times are GMT +2. The time now is 18:01.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project