How To Debug MP in VS2005? (1 Viewer)

Wladi

Portal Member
February 21, 2007
36
3
Home Country
Bulgaria Bulgaria
Hello community,

I am using MP and I like the ideas which are realized by it a lot.

I am a very good C# programmer (unfortunately without any experiences in DirectX) and I think if I succeeded in debugging MP, I could contribute a lot to the further debugging and developing process.

I have the following problem and would appreciate any help I can get:

In VS 2005:

- I can compile Media Portal fine.
- I can start MP in Debug Mode

I tried to start the project “MediaPortal.Configuration” in Debug Mode to set up my configuration.

Although another version of MP (Rev 0.2.2.0), installed as a reference, detected my TV-Card (WinTV PVR2 USB2) without any problems, the debugged version didn’t. Is there a document which describes precisely what to do, to debug MP properly?

Thanks in advance,

Wladi



PS: I intend to debug the “core” to find out why the recording of tv-series doesn’t work although the once recording is working correctly.
 

Maschine

Retired Team Member
  • Premium Supporter
  • June 15, 2004
    768
    86
    Germany
    Home Country
    Germany Germany
    Hi,

    IIRC the procedure is the following:

    -copy all files from the Release folder to the Debug folder, but make sure NOT to overwrite anything
    -run the debug build from vs.net

    That should do the trick. I think if you don't want to debug the configuration app itself it's enough to build the solution to the Debug dir and start the configuration.exe in here.

    Good luck!
    Maschine
     

    Wladi

    Portal Member
    February 21, 2007
    36
    3
    Home Country
    Bulgaria Bulgaria
    Thank you,

    but what are the directorys - the sudirs from MediaPortal\xbmc\bin\Debug or the related from the project - f.e. MediaPortal\Configuration\bin\Debug

    I setted the configproject to debug from working directory ...MediaPortal\xbmc\bin\Debug - O.K.?

    Wladi
     

    Wladi

    Portal Member
    February 21, 2007
    36
    3
    Home Country
    Bulgaria Bulgaria
    Hi,

    IIRC the procedure is the following:

    -copy all files from the Release folder to the Debug folder, but make sure NOT to overwrite anything
    -run the debug build from vs.net

    That should do the trick. I think if you don't want to debug the configuration app itself it's enough to build the solution to the Debug dir and start the configuration.exe in here.

    Good luck!
    Maschine
    Thank you Maschine,

    now my configuration setup works, my TVcard is here.
    The Dir was ...MediaPortal\xbmc\bin\Debug.

    Wladi
     

    Users who are viewing this thread

    Top Bottom