Debugin' VS2005 (1 Viewer)

Flipit

Portal Pro
February 19, 2005
100
0
Hi.

Can anyone help? I've written a Processes Plugin using the TV notify as a guide. I downloaded the SVN and added a Folder to the process plugin folder to store my plugin, like all the others.

I set Mediaportal as the start project and copied all floders over from release to Debug except Postbat file. However I'm not getting anyhting in the plugins configuation menu for my new plugin and breakpoints on the IPlugin Start() , do not trigger.

Anybody ?

BTW. The Process plugin is supposed to get the Breaking News XML from BBC backstage and sends a Notify Message to the FullScreenTV with the Headline of the news story... thought it might be usefull.
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
That's a bit more tricky. If you set configuration.exe as startup project for debugging, it will run from "MediaPortal\Configuration\bin\Debug" and not from "MediaPortal\xbmc\bin\Debug". As a consequence you have to copy all files to "MediaPortal\xbmc\bin\Debug" to debug configuration.exe and plugin configs.
 

Flipit

Portal Pro
February 19, 2005
100
0
Not sure I follow...

In VS2005 I set the start up project as the Mediaportal folder in the sln. right click set to startup... Is this correct ... mediaportal starts ok.

Sorry, but thaanks for the quick response to previus post.

Flipit
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
You have to set config as startup project when you wanna debug plugin config (and the above copy procedure applies). If you wanna debug the plugin's GUI in MP, you have to set MP as startup project and the copy process you already did applies.

HTH
 

eagle

Portal Pro
September 25, 2004
603
79
Unterfranken
Home Country
Germany Germany
Hi mPod

does a short description exist how to debug the mp-project? I'm not familiar with VC# so I must learn a lot about it. But it would be helpful for a first quick start to have a short todo-list.

eagle
 

Users who are viewing this thread

Top Bottom