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

Implementation of inferior PTY / IO needed

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

Description

### Cannot distinguish program output from gdb mi output
`cdt-gdb-adapter` would try to interpret every line as gdb mi output, which causes a problem because it cannot distinguish program output from that. For example:
![image](https://user-images.githubusercontent.com/17487291/70487643-f6219e80-1b30-11ea-9a9b-410ea5c9828d.png)
In the image above, `cdt-gdb-adapter` tried to parse the line that's started with `=` or `*`, and failed.

### Only parse the output after a line is finished
According to:
https://github.com/eclipse-cdt/cdt-gdb-adapter/blob/3b9442075d06759035dbae616dbbd9923b921bc6/src/MIParser.ts#L26
the MIParser only handle the output when a line is finished. In the case of program output, this can be really buggy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.