SLow Single Stepping with ST-Link

Sysprogs forums Forums VisualGDB SLow Single Stepping with ST-Link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9174
    hf
    Participant

    Hello,

    dsf

    i’m pretty new to visualGBD but till now a great tool. But the debugging is lagging in performance with the ST-Link on the discovery board. With Keil i did not have this lag in singlestepping.

    I also made a picture of the openOCD messages.

    Any ideas how to improve the performances?

     

    https://picload.org/image/rddccaca/slowdebuggerwithdiscovery.png

     

    • This topic was modified 7 years, 7 months ago by hf. Reason: picture is missing
    #9178
    support
    Keymaster

    Hi,

    It looks like the command responsible for the delay is “-stack-list-frames”. This may happen if the algorithm used to discover stack frames does not detect the outermost frame properly and keeps on trying to interpret garbage after the end of stack.

    This could be caused by the layout of your program or a bug in gdb, but you can fairly easily limit it by running the following command:

    set backtrace limit <number>

    where <number> is the maximum number of frames you are interested in. You can start with something like ‘3’ and see if it increases the performance. If this helps, you can add the command to the Additional GDB Commands page in VisualGDB Project Properties.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.