| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Retired Team Member | I have run though the plugin tutorial and have the simply plugin up and running. Next is to have a go at adapting this to my own code (looking at a plugin to download stock prices aka xStocks script in XBMC). How do I go about debugging this easily? Erwin's tutorial just "worked" out of the box.....are there any tips and tricks to put in breakpoints for example mid plugin? Also, how do I add the "OurPlugin" into the main MediaPortal build. Im currently running two different instances of Vis.NET. |
| | |
| | #2 (permalink) | |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Be warned though - when you update via CVS, you will have to re-add your project because the solution file will be overridden by the one on CVS. Sam | |
| | |
| | #4 (permalink) |
| Guest
Posts: n/a
| after doing what samuel337 said you just set breakpoints, make sure you build MP and your plugin in Debug mode or else it wont debug (says how in one of the CVS docs, I think you just set to debug, compile, then copy all files from the xbmc/release directory to the debug directory but DO NOT override any files if I remember correctly) another option is yopu can just run mp from regular build and under the debug menu click processes and attach to mediaportal and your breakpoints will be triggered, kinda annoying though as everytime you make a change you gotta re attach the debugger to mp |
|
| | #7 (permalink) |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| Nothing like googling MSDN. Its at System.Diagnostics.Debugger, and its in the core library so you don't need to add references. For more info, see: http://msdn.microsoft.com/library/de...mberstopic.asp Sam |
| | |
![]() |
| Bookmarks |
| Tags |
| debug, plugin |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IPTV@UT Plugin | moiristo | Plugins | 116 | 2008-10-06 22:32 |
| MP & XBMC intergration scripts v0.6d Update 4-MAR-07 | thechad | Plugins | 179 | 2008-03-18 04:47 |
| watch stream using VLC ? | chenks | Get Support | 12 | 2006-12-31 13:21 |
| Gathering topical infos about plugins (To: authors & use | tomtom21000 | Plugins | 2 | 2006-02-05 00:20 |