none
windows CE debug log, w/o retail port RRS feed

  • Question

  • Hello.

    I'm trying to debug an application that crashed.

    I have a board running WCE6.0, w/o a retail port (I have a COM port, which is setup as a serial port).

    I do not have the ability to change the kernel (image was provided as is, and I'm not working with platform builder).

    What I'm looking for is to know info about the crashed function / thread / dll / application.

    In linux you can run "dmesg" via a terminal, to show the latest kernel messages. In case of a crashed application, will most likely include the info I need to debug the crash.

    Is there a similar log file somewhere in the WCE file system, or are the messages sent and lost?

     

    Sunday, January 9, 2011 9:33 AM

All replies

  • That all depends on whether or not your the OEM implemented something
    for that. Some boards output messages over a serial port, some implement
    Dr. Watson and dump info to a store, etc., etc.
     
    You need to ask the people providing the image.
     

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Monday, January 10, 2011 3:36 AM
    Moderator
  • I suggest you to check where your debug messages are going.

     

    If it it over serial (most probably) then you can log it using a serial emulator then configure it and log the message.

     

    If you are not using platform builder to debug your application than what mechanism are you using to debug it ?

     

    ---Misbah

     

     

     

    Monday, January 10, 2011 5:57 AM
  • CE 6 SO already provides a mechanism to log the debug message into CELOG.
    What you need to do is having proper setting to enable CELOG and use correct tool to read it. You just need to copied some files, alter registry and launch the flush program or maybe a warm boot if you need to capture messge in booting phase.
    For more detail on the concept, please refer to http://geekswithblogs.net/KMOS/archive/2010/04/11/log-debug-messages-without-debug-serial-on-shipped-device.aspx
    Monday, January 10, 2011 6:55 PM