STM32 strcpy -> Frame not in module

Sysprogs forums Forums VisualGDB STM32 strcpy -> Frame not in module

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  support 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25271

    ExtSol
    Participant

    Dear Support,

     

    When i stepping debugger, in the following line:

    call strcpy from string.h

    i get an message:

    Frame not in module

     

    How can i setup for step into the strcpy source code (the vs asking me for download source code, and was successfull)?

    How can i setup, automatically step over the standart libs functions?

     

    Best Regards:

    ExtSol

    • This topic was modified 2 weeks ago by  ExtSol.
    #25273

    support
    Keymaster

    Most likely, the strcpy() function was built without the debugging symbols (e.g. it was originally written in assembly language) and hence stepping into it won’t work.

    You can double-check this by running the “bt” command in the GDB Session window. If it doesn’t show a valid source location for the top frame, the function does not have debugging symbols.

    You can step over the functions by using the Step Over command instead of Step In (i.e. F10 instead of F11). If the ‘frame not in module’ error happens when pressing F10, this could be caused by an exception inside the function itself (e.g. trying to copy from/to an invalid address).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.