NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 45 46 47 48 49 … 93 Next »
Debugger question

 
  • 0 Vote(s) - 0 Average
Debugger question
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#1
2007-03-21, 09:29 PM
I'm using sharpdevelop and after compiling a new plugin dll, I execute gbpvr, and the debugger can stop and start the process and view all the threads but you can't set any breakpoints. Is there a way to load up GBPVR and still have the ability to set breakpoints in your plugin code?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2007-03-22, 03:08 AM
Not sure how you do it in Sharp Develop, but you can in Visual Studio Express (free from Microsoft).

See this post:
http://forums.nextpvr.com/showthread.php?t=22214

You can download Visual Studio Express (C#) from:
http://msdn.microsoft.com/vstudio/express/default.aspx
(look for Download button in upper right)
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#3
2007-03-22, 04:12 AM
JavaWiz Wrote:Not sure how you do it in Sharp Develop, but you can in Visual Studio Express (free from Microsoft).

See this post:
http://forums.nextpvr.com/showthread.php?t=22214

You can download Visual Studio Express (C#) from:
http://msdn.microsoft.com/vstudio/express/default.aspx
(look for Download button in upper right)

That worked great. I don't get why MS is giving tools away, but I sure like it!
Thanks for the tip.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#4
2007-03-26, 11:18 AM
I'm using VS 2005 full version, tried the above, plus tried Attach Process when debugging my plugin DLL, but never hit my breakpoints. I should know how to solve this, done it before, but shouldn't be trying to do this at 3:45 AM
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#5
2007-03-26, 12:44 PM
I think in VS you need to set the gbpvr exe as the 'start up exe' in project properties.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#6
2007-03-26, 03:39 PM
Stupid question but you are building either in a debug config or with debug turned on and optimization turned off right?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#7
2007-03-26, 07:49 PM
pastro Wrote:Stupid question but you are building either in a debug config or with debug turned on and optimization turned off right?

debug build
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#8
2007-03-26, 08:30 PM
All I ended up doing after switching to vc express was setting it up to copy the plugin to the plugins dir and execute gbpvr. I set a breakpoint in the code and it worked. The weather plugin latest source code had everything setup in it to debug when I downloaded it, all I had to do was hit f5 and it was off and debugging. If you are still stuck you might give that a go to make sure everything is working right.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#9
2007-03-27, 07:11 AM
Thanks for the tip about that plugin. I had the source and looked at the settings, made mine the same, and it works.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Web API only_new Question Gazavant 6 2,740 2021-04-04, 06:54 PM
Last Post: sub
  Another Artwork question scJohn 15 8,297 2019-09-10, 05:33 PM
Last Post: nonob
  WEB API GuidService/Listing question(s) scJohn 6 4,352 2017-08-09, 02:18 PM
Last Post: scJohn
  skin question pBS 2 3,363 2016-06-18, 07:03 PM
Last Post: pBS
  Another SQL question bgowland 15 7,367 2014-05-21, 08:09 AM
Last Post: bgowland
  Timing.Info question mvallevand 2 2,104 2013-04-19, 03:54 AM
Last Post: mvallevand
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,140 2011-03-12, 05:26 AM
Last Post: bgowland
  Ping UncleJohnsBand (question about npvr soap) ioan 2 2,085 2011-02-18, 01:12 AM
Last Post: UncleJohnsBand
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,879 2011-02-17, 08:46 AM
Last Post: McBainUK
  Skin question for "Visible" 7ore 14 5,419 2010-09-22, 09:04 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode