×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    140

    Active Breakpoints?

    I am a little confused with the debugging on carbide.c++ Express. I am experimenting with the helloworld example in the S60Ex folder. I have set breakpoints, but when the emulator runs they seem to have no effect.

    I read in the help that there is something call active breakpoints, which shows a breakpoint icon different to the one I have just set. Is there something I have missed in setting break points?

    Also, on another issue, does anyone know how to change the text that is shown on the helloworld example?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Active Breakpoints?

    Quote Originally Posted by NigelT
    I am a little confused with the debugging on carbide.c++ Express. I am experimenting with the helloworld example in the S60Ex folder. I have set breakpoints, but when the emulator runs they seem to have no effect.
    Have you used the Debug... commands?
    Also, on another issue, does anyone know how to change the text that is shown on the helloworld example?
    Feel free to look up the text you would like to replace in the project files. Also read the documentation. You will see that one of the commands reads a file, thus you will have to delete the file in order to get its content replaced (shown from code). The other command uses a resource, thus you have to modify the corresponding resource.

  3. #3
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    140

    Re: Active Breakpoints?

    I assumed (perhaps wrongly) that it was just a case of setting breakpoints. When the emulator reaches that line of code, it would stop and then go back to the debug view. I followed the help which just says to double click the marker bar, what debug commands do you mean?


    on the subject of the helloworld example, I have just discovered that the strings are defined in .rls file. My question is what do these two lines do in the helloworldbasicappui.cpp file:


    _LIT( KHelloFileName, "\\private\\A000017F\\Hello.txt" );
    _LIT( KHelloText, "HelloWorld!");


    if the strings are defined in another file, what is the purpose of these two files.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Active Breakpoints?

    Check the references to KHelloFileName (it might be the name of a file), and KHelloText (it might not be the name of a file).

Similar Threads

  1. breakpoints disabled when running debugger.
    By nawkboy in forum Symbian
    Replies: 4
    Last Post: 2012-05-31, 10:45
  2. Replies: 2
    Last Post: 2007-10-05, 20:40
  3. Active objects in EXE second thread
    By inguvaseshu in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-08-10, 05:35
  4. Active Object hogs active scheduler.
    By FloydFan in forum Symbian
    Replies: 4
    Last Post: 2005-09-29, 06:32
  5. breakpoints disabled when running debugger
    By nawkboy in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-02-20, 03:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×