How to debug TV plugin - server. (1 Viewer)

fab70

Portal Member
February 11, 2007
27
0
Home Country
Italy Italy
Hi guys,

I wonder if there is a guide that expalins how to debug the TV plugin, and eventually also the tv server.

The only instructions that I found are here http://wiki.team-mediaportal.com/MediaPortalDevelopment

This link is very usefull and explains how to debug MP, but there is nothing on the TV server/plugin.

:D


PS: I'll be more than happy to help the project writing a wiki page, once somebody expalined me how to do, if necessary.
 

fab70

Portal Member
February 11, 2007
27
0
Home Country
Italy Italy
Ciao petsa,

in that wiki there are no instructions on how to debug the TV server. I'm I wrong?
 

petsa

MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi fab70,

    I was referring to Chapter 6: Troubleshooting. I used this to test the streaming of data to VLC before I started working on the MP TV Client plugin.

    Are there any particular problems you are trying to debug?

    /Peter
     

    fab70

    Portal Member
    February 11, 2007
    27
    0
    Home Country
    Italy Italy
    Hi petsa,

    No, there is no a particular problem.. I just started to use Visual Studio 2005, and I'm able to debug MP using tortoiseSVN to download the source.

    But I'm not able to debug MP + TV engine 3 because there are two separate repository and I don't know how to merge the projects togheter - http://wiki.team-mediaportal.com/MediaPortalDevelopment/MediaPortalSVN

    Regarding the TV server, I'm not able to debug it at all, because Visual Studio 2005 tells me it's not possible to debug a service (or something similar) and I didn't find debug instructions.

    Thanks for your help.
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Build TVServer with the debug configuration. Install it and when it's running, choose Debug->Attach to process. Select the TVService.exe process. You will need to be on the same machine afaik.
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Hi,

    I'm wondering how I can debug the TVPlugin, not the TVServer service

    //johnzered
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Hello again,

    I found the answer to my question myself. If anyone else have problem with this here's how to do it:

    - Build TVPlugin solution in debug mode
    - Copy the TVPlugin.dll and pcb file to plugins/windows of your MediaPortal install dir.
    - Right click on the TVPlugin project in Solution Explorer.
    - Click "Properties"
    - Click "Debug"
    - Click "Start External Program" and then browse to where you installed MediaPortal and select MediaPortal.exe
    - Save settings

    Now when you hit F5 (Start Debugging), Visual Studio will start the application and the dll code will breakpoint.

    //johnzered
     

    Users who are viewing this thread

    Top Bottom