microsoft / microsoft/MIEngine

[Feature Request] support run custom command like local gdb

Open
#1,374 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

In some case, I would like to run gdb on server with command like ssh -it dev gdb a.out.

I could save the command as shell script rgdb as ssh -it dev gdb.

Is it possible to have following configuration to make rgdb just work like local gdb?

  MIMode = 'gdb',
  miDebuggerPath = 'rgdb',

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the configuration fields MIMode and miDebuggerPath are handled, then compare that behavior with the requested ssh -it dev gdb command and rgdb shell-script use case. Done means a custom debugger command can work like local gdb through the shown configuration, with the behavior covered by the relevant tests if they are identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, shell
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.