After executing the code of breakpoint, it couldn't response the key event so that the program is not able to continue executing and I couldn't find the bug of the program.
Anyone can help me? Thank you very much!
After executing the code of breakpoint, it couldn't response the key event so that the program is not able to continue executing and I couldn't find the bug of the program.
Anyone can help me? Thank you very much!
Helllo Zl,
Can't get u by looking at yr thread.
Would u please elaborate more?
Any fragment of code where u get stuck?
So that somebody may help u.
Regards.
Kiran.
Thanks!
The problem is that the key event couldn't be resposed after the process being executed wherever the breakpoint is set.
eg.
The following is a function in AppUi file to response the key event.
The code which is blod can't be executed when I debug the program with breakpoint(wherever the breakpoint is set).
TKeyResponse CMJAppUi::HandleKeyEventL(
const TKeyEvent& aKeyEvent,TEventCode aType)
{
if( aType == EEventKey)
{
switch(aKeyEvent.iCode)
{
case '5':
function;
break;
...
}
}
return EKeyWasNotConsumed;
}