We had some issues in our app where after running for a few days one of the threads start to saturate and takes 99% of the CPU resource. I tried Kernel Tracker and Profiler tools but was unable to pinpoint the method/function causing it. The lowest I could get is the address of the method. But this is a C# managed code, the PDB files do not contain any address to method info.
I found a tool made my somebody for PC based desktop application in .Net as follows which I need to work on .NetCF framework. But, it seems .NetCF does not have a StackTrace class.
My requirements are as follows:
We need a debugging system that will be lightweight and will pinpoint me to the method/function that is talking up the 99% CPU resource.
The modified code of the above small debugger code that will work for WEC7 in .NetCF
Any professional service from Toradex to track down the bug or from any other third party who can professionally help debug such problems in Windows CE C# based application. The system needs a large number of attachable hardware setup to test in our lab which will be difficult, but not impossible to ship. But, we would prefer to debug it here in our lab.