ข่าวสารและการฝึกอบรม
เทคนิค ถาม และ ตอบ
PB 4.2 Unable to Debug Application Program
- no.2341
- 2003-10-13
Hello,
I have a problem of having the PB4.2 to debug my application program.
Basically what I did was as follows;
1) Created a new platform with minimum components; i.e. all peripherals/drivers except USB, explorer, command prompt, control panel components, etc.
2) Created a new project (both with and without "HelloWorld" default application program and my own source codes.
3) Set the Platform Settings/Build options to: Enable CE Target Control Support, Enable Eboot Space in Memory, Enable Full Kernel Mode, Enable Kernel Debugger and Enable KITL.
4) Set the Platform Settings/Build type to: Debug, settings for "INTEL DBPXA250 DEV PLATFORM : ARMV4I Win32 (WCE ARM4VI) Debug", and set the release directory to my "C:WINCE420PUBLICXYZPUBLICRelDirINTEL_DBPXA250_DEV_PLATFORMARM4VIDebug".
5) Configured my Remote Connection/Download and Kernel Transport to "Ethernet" and configure the target device.
6) I have also set the "Configurations" and "Set Active Configurations" under "Build" menu all to debug mode.
6) Under Project Setting, I have set all to debug mode too.
7) I have tried 2 methods of setting the breakpoints;
[i] I set the breakpoints before building the whole platform.
[ii] I set the break after I have downloaded the platform by "Debug" -> "Break" -> insert breakpoints -> "Go" -> run application program.
Both methods did not hit the breakpoints.
According to the "HELP", I should be able to debug my application program through the Kernel Debugger. However, I could get the program to hit the breakpoints.
Could you advise me on how should I solve this. Thank you.
Lawrence