Windows Mobile service debug RRS feed

  • Question

  • I'm writing a service (very trivial for a start) for Windows Mobile and i don't know how to debug it on a emulator.
    Can anyone help me? Thanks in advance.
    Monday, March 8, 2010 8:49 AM


  • From Visual Studio IDE
    Open your service dll project
    Attach to service process (on Device)
      To do so:-

    Debug->Attach to Process...

    Transport - Device
    Qualifier - <Your emulator>
    From "Available Processes" select "services.exe"
    Now you can debug your service from IDE.

    In case you want to debug XXX_Init
    DeregisterService your service and ActivateService your service from another sample application.
    • Marked as answer by s_m_l Monday, March 8, 2010 1:32 PM
    Monday, March 8, 2010 1:08 PM