Discussion:
Windows CE Error Reporting, Dr Watson
(too old to reply)
Zhongwei Wang
2009-06-11 16:43:27 UTC
Permalink
I have very little time looking into this, I hope I can find answers
here.

Even without Windows CE Error Reporting, I get data abort from debug
port with PC and RA information, which is normally good enought to
find the cause. I added Windows CE Error Reporting catalogs to OS and
setup dwNKDrWatsonSize in OEMinit, I intentionally generate a data
abort with NULL pointer but I don't see any dump files in \windows
\dumpfile and \windows\extradumpfiles.

How do I get the dump files? Does it require the application in
question to do something, e.g. call CaptureDumpFileOnDevice? What
difference does it make if the application in question is not built in
BSP but built with EVC or VS?
Zhongwei Wang
2009-06-11 22:44:43 UTC
Permalink
Running the app from EVC didn't trigger the Dr Watson, I ran the exe
left on device by EVC, that triggered the Dr Watson and created the
dump file.
unknown
2009-06-12 10:21:37 UTC
Permalink
that would be because evc, when started from that, is the debugger. only
one debugger process is allowed. ALso dr. watson is jit debugger and can
only kick in on second chance exception. But with evc already the debugger,
it is already handling second chance exceptions.
--
Michael Salamone
Entrek Software, Inc.
www.entrek.com
Post by Zhongwei Wang
Running the app from EVC didn't trigger the Dr Watson, I ran the exe
left on device by EVC, that triggered the Dr Watson and created the
dump file.
unknown
2009-06-14 12:51:09 UTC
Permalink
I hope you have solved it already but this is what i've noticed

I've only tested this with Platform builder but you can use ReportFault
to force a dump file:

__try{
//crash
}
__except(ReportFault(GetExceptionInformation(),0),EXCEPTION_EXECUTE_HANDLER){
//do someting
}

Also the \windows\dumpfiles is a "hidden" folder.


Good luck,

Erwin Zwart,
Check out my blog: http://GuruCE.com/blog

GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.
Post by Zhongwei Wang
I have very little time looking into this, I hope I can find answers
here.
Even without Windows CE Error Reporting, I get data abort from debug
port with PC and RA information, which is normally good enought to
find the cause. I added Windows CE Error Reporting catalogs to OS and
setup dwNKDrWatsonSize in OEMinit, I intentionally generate a data
abort with NULL pointer but I don't see any dump files in \windows
\dumpfile and \windows\extradumpfiles.
How do I get the dump files? Does it require the application in
question to do something, e.g. call CaptureDumpFileOnDevice? What
difference does it make if the application in question is not built in
BSP but built with EVC or VS?
unknown
2009-06-14 12:51:09 UTC
Permalink
I hope you have solved it already but this is what i've noticed

I've only tested this with Platform builder but you can use ReportFault
to force a dump file:

__try{
//crash
}
__except(ReportFault(GetExceptionInformation(),0),EXCEPTION_EXECUTE_HANDLER){
//do someting
}

Also the \windows\dumpfiles is a "hidden" folder.


Good luck,

Erwin Zwart,
Check out my blog: http://GuruCE.com/blog

GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.
Post by Zhongwei Wang
I have very little time looking into this, I hope I can find answers
here.
Even without Windows CE Error Reporting, I get data abort from debug
port with PC and RA information, which is normally good enought to
find the cause. I added Windows CE Error Reporting catalogs to OS and
setup dwNKDrWatsonSize in OEMinit, I intentionally generate a data
abort with NULL pointer but I don't see any dump files in \windows
\dumpfile and \windows\extradumpfiles.
How do I get the dump files? Does it require the application in
question to do something, e.g. call CaptureDumpFileOnDevice? What
difference does it make if the application in question is not built in
BSP but built with EVC or VS?
Loading...