Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User zl's Avatar
    Join Date
    Sep 2006
    Posts
    18
    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!

  2. #2
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    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.

  3. #3
    Registered User zl's Avatar
    Join Date
    Sep 2006
    Posts
    18
    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;
    }

Similar Threads

  1. Can't track Debugging !
    By zl in forum Symbian
    Replies: 1
    Last Post: 2006-09-06, 09:54
  2. Replies: 0
    Last Post: 2006-08-11, 13:14
  3. Debugging problem with CW 3.1
    By madsum in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 12
    Last Post: 2006-03-13, 07:58
  4. Why is debugging so hard!?
    By aspaans in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2005-05-23, 18:53
  5. Tip: Enable your local Server Simulator Logs for WML debugging
    By Nokia_Archived in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2002-05-13, 20:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved