Conversation
📝 WalkthroughWalkthroughAdds "no board selected" validation to two launch paths: the OpenOCD debug delegate ( ChangesBoard-not-selected guard across debug and flash launch paths
Sequence DiagramsequenceDiagram
participant User
participant LaunchConfigurationDelegate
participant JtagVariableResolver
participant BoardNotSelectedStatusHandler
participant ILaunchTargetUIManager
User->>LaunchConfigurationDelegate: start debug launch
LaunchConfigurationDelegate->>JtagVariableResolver: isBoardConfigResolvable()
JtagVariableResolver-->>LaunchConfigurationDelegate: false
LaunchConfigurationDelegate->>LaunchConfigurationDelegate: fallback - resolve config options, check "board/"
LaunchConfigurationDelegate->>BoardNotSelectedStatusHandler: handleStatus(code=6001)
BoardNotSelectedStatusHandler->>User: show "No board selected" confirmation dialog
User-->>BoardNotSelectedStatusHandler: confirm
BoardNotSelectedStatusHandler->>ILaunchTargetUIManager: editLaunchTarget(activeLaunchTarget)
LaunchConfigurationDelegate->>LaunchConfigurationDelegate: throw DebugException(OK_STATUS) — abort launch
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

Description
Replacedinvalid command name "program_esp_bins"with userfriendly clickable message that allows edit the target and select the board:Note: After further thought, I went with failing early via a pop-up instead. It avoids waiting for and parsing every OpenOCD message, and it's more accurate: invalid command name "program_esp_bins" can stem from a corrupted configuration file too, not just an unselected board.
Also added the same check for jtag flashing
Fixes # (IEP-1772)
Type of change
Please delete options that are not relevant.
How has this been tested?
Connect the esp chip, select a port, but do not select a board and start debug session
Test Configuration:
Dependent components impacted by this PR:
Checklist
Summary by CodeRabbit