home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Using SetupTv while debugging TvService
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1084392" data-attributes="member: 82144"><p>Hello Michael</p><p></p><p>Off the top of my head, I think you'll find that SetupTv is checking whether the TV service is running by checking if the Windows service "TVService" is running. Normally that service looks for the TvService.exe in your TV Server install folder... but if you're debugging, you're probably running a TvService.exe from a build bin\Release or bin\Debug folder, and therefore the Windows service is not actually running. In other words its a case of different TvService exes that I think is causing the problem.</p><p></p><p>For myself I never run the service or configuration out of build folders. I have scripts that clean and then copy the required files to my install directories. In other words, I do a sort of install/upgrade. To debug I insert a call to System.Diagnostics.Debugger.Launch(); which allows me to attach VS to the running process at the point I'm interested in... or I can use the general VS attach to process debug menu option to debug the service in its current state.</p><p></p><p>Hope that helps...</p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1084392, member: 82144"] Hello Michael Off the top of my head, I think you'll find that SetupTv is checking whether the TV service is running by checking if the Windows service "TVService" is running. Normally that service looks for the TvService.exe in your TV Server install folder... but if you're debugging, you're probably running a TvService.exe from a build bin\Release or bin\Debug folder, and therefore the Windows service is not actually running. In other words its a case of different TvService exes that I think is causing the problem. For myself I never run the service or configuration out of build folders. I have scripts that clean and then copy the required files to my install directories. In other words, I do a sort of install/upgrade. To debug I insert a call to System.Diagnostics.Debugger.Launch(); which allows me to attach VS to the running process at the point I'm interested in... or I can use the general VS attach to process debug menu option to debug the service in its current state. Hope that helps... mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Using SetupTv while debugging TvService
Contact us
RSS
Top
Bottom