Skip to content

'Jump to Cursor' feature not working #1226

@basit-s

Description

@basit-s

Describe the bug
Current release 1.12.1 advertises support for Jump to Cursor, but it appears to not be working.

To Reproduce
Steps to reproduce the behavior:

  1. Start debug session
  2. Right click line of code
  3. Select "Jump to Cursor"
  4. Error pop-up indicates "Set next statement is not supported by the current debugger"

Expected behavior

The request sets the location where the debuggee will continue to run. This makes it possible to skip the execution of code or to execute code again. The code between the current location and the goto target is not executed but skipped.

Screenshots

Image

Environment (please complete the following information):

  • Cortex-Debug Version 1.12.1
  • OS: Linux Ubuntu 24.04.4 LTS
  • GDB Version: 13.3.1
  • Compiler Toolchain Version: arm-none-eab V 13.3.Rel1

Additional context
I found the original feature implementation for 'Jump to Cursor' in PR #417 and Issue #418, but it seems to have been broken during a refactor in commit 1ff878c.

  • 6ac5c31, “Jump to cursor, PR 417”, added Jump to Cursor support
  • 1ff878c, “hardwareBreakpoints to force HW only bpts”, removed the low-level MI goto helper and changed gotoTargetsRequest to create a temporary breakpoint instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions