Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong output in Debug output of C/C++ #43

Closed
isidorn opened this issue May 11, 2016 · 1 comment
Closed

Wrong output in Debug output of C/C++ #43

isidorn opened this issue May 11, 2016 · 1 comment
Assignees

Comments

@isidorn
Copy link

isidorn commented May 11, 2016

Copied from microsoft/vscode#6285

  • VSCode Version: 1.1.0
  • OS Version: OS X Version 10.11.4

Steps to Reproduce:

  1. Write the following code
    int array[] = {9, 8, 7, 6, 5, 4, 3};
    int size = sizeof(array)/sizeof(int);
    for (int i = 0; i < size; i++)
    {
        fprintf (stdout, "%d ", array[i]);
        fflush(stdout);
    }
  1. output should be:

9 8 7 6 5 4 3

however the output is

8 7 6 5 4 3

The '9' is lacked.

@pieandcakes
Copy link
Contributor

@KingLebron I can't repro this with the latest version of the extension, version 0.9.1. If this is still an issue please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants