Skip to content

Implementation of inferior PTY / IO needed #161

@a1994846931931

Description

@a1994846931931

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
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions