microsoft / microsoft/vscode-cpptools
output to std::cout produces spurious characters in internal debug console
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
I'm using macOS 10.12.1, running VS Code 1.12.1 and cpptools 0.11.0
I have a simple program:
#include
int main() {
std::cout << "Hello World!" << std::endl;
}
It outputs this in the external console:
Hello World!
but this in the internal debug console:
@"Hello World!\r\n"
Surely that's a bug, or have I missed something ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example program on the listed macOS, VS Code, and cpptools versions, comparing the external and internal debug consoles. Trace the internal console's handling of std::cout output; done when it displays Hello World! without the @"...\r\n" representation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100