[Win32utils-devel] Add backtrace info in win32-service

Berger, Daniel Daniel.Berger at Qwest.com
Mon May 16 13:01:25 EDT 2005


Hi all,

I think it would greatly aid service debugging if we added Ruby's
backtrace information if a Service.start fails.  This would be lines
1251-1255:

if(NULL == hSCService){
   strcpy(error,ErrorDescription(GetLastError()));
   CloseServiceHandle(hSCManager);
   rb_raise(cServiceError,error);
}

I'm not sure exactly how to do it, though.

Or do you think it should just be left up to developers to wrap
Daemon.mainloop on their own?

Regards,

Dan




More information about the win32utils-devel mailing list