eclipse-cdt-cloud / eclipse-cdt-cloud/cdt-gdb-adapter

break at main option when launching

Open
#250 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
39
Forks
56
Avg merge
3d 9h
Merged PRs (30d)
2

Description

CDT (Eclipse IDE version) has a "break at main" (with a configurable symbol) option. GDB itself has a `start` method that will do that functionality automatically and can be accessed via MI with `-exec-run --start`.

This is a feature request to add that.

In the meantime the workaround is `"initCommands": ["tbreak main"]` for launch scenario.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the launch scenario handles GDB/MI execution and compare it with the issue's suggested `-exec-run --start` command. Done means the launch option supports breaking at the configurable main symbol without requiring the `initCommands` workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.