About: ConSense Project
Browse by category:
Hinnerk Brügmann
Research assistant at the Department for Information Systems II, University of Erlangen-Nuremberg, Germany
Continous Integration
(automated builds from subversion)
Cockpit
|
build #531
25 Aug 10 06:07
|
|
Sensors.FolderTrees
|
build #104
25 Aug 10 06:07
|
|
Service
|
build #125
25 Aug 10 06:07
|
|
ServiceBase
|
build #104
25 Aug 10 06:07
|
|
Legal Disclaimer
Imprint
Open Research Rant
Posts in category debugging
Debugging a Windows Service
This may be blatantly obvious for most developers, but just to save someone the time to figure this out by himself: To attach the debugger to your process put some sleep into the service's Main method so you got enough time to attach before whatever may be causing an exception
System.Threading.Thread.Sleep(10000);
rss

