locked
Exception message format RRS feed

  • Question

  • Hi,
        I'm trying to figure out what is the format of the Exception error msg string that gets displayed in VS when getting ... an exception, i.e. say I have the following error
    Exception 'Data Abort' (4): Thread-Id=03df0002(pth=8757909c), Proc-Id=00400002(pprc=80288308) 'NK.EXE', VM-active=05770002(pprc=87133264) 'xxxxxxx.exe'

    I would like to know what each filed means, some, of course are self explanatory, but it's the collocation that matters here. I've been looking  for that format but I couldn't find anything on the subject that would explain fields plainly.

    Thursday, October 8, 2009 8:15 AM

Answers

  • Hi

    I marked the fields of interest bold.

    Exception 'Data Abort' (4): Thread-Id=03df0002(pth=8757909c), Proc-Id=00400002(pprc=80288308) 'NK.EXE', VM-active=05770002(pprc=87133264) 'xxxxxxx.exe'

    Exception '<name> -> The type of CPU exception occured. 'Data Abort' meas that the CPU tried to read or write data to an invalid memory location.
    Thread-Id --> as the name sais: The ID of the running thread when the exception occured
    Proc-Id -> ID of the currently running process and its name. 'nk.exe' for instance is the OS kernel
    VM-active -> ID of the virtual memory space active at the time of the exception and the name of the owning process.

    All the values in braces are pointers to the OS kernel data structures. The are not relevant on at application level.

    MVP Windows Embedded
    • Marked as answer by pawel k Saturday, October 10, 2009 3:13 PM
    Saturday, October 10, 2009 10:45 AM

All replies

  • Hi,

    Are you able to debug when this exception occurs? If so, you can perform a quick watch on the Exception object for further details about which properties hold which pieces of information.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Thursday, October 8, 2009 4:31 PM
  • Hi

    I marked the fields of interest bold.

    Exception 'Data Abort' (4): Thread-Id=03df0002(pth=8757909c), Proc-Id=00400002(pprc=80288308) 'NK.EXE', VM-active=05770002(pprc=87133264) 'xxxxxxx.exe'

    Exception '<name> -> The type of CPU exception occured. 'Data Abort' meas that the CPU tried to read or write data to an invalid memory location.
    Thread-Id --> as the name sais: The ID of the running thread when the exception occured
    Proc-Id -> ID of the currently running process and its name. 'nk.exe' for instance is the OS kernel
    VM-active -> ID of the virtual memory space active at the time of the exception and the name of the owning process.

    All the values in braces are pointers to the OS kernel data structures. The are not relevant on at application level.

    MVP Windows Embedded
    • Marked as answer by pawel k Saturday, October 10, 2009 3:13 PM
    Saturday, October 10, 2009 10:45 AM
  • Thanks that's what I've been looking for :)

    Regards,
    Pawel
    Saturday, October 10, 2009 3:13 PM