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

Disable "Unable to open file" during debug #28433

Closed
DigiAngel opened this issue Jun 10, 2017 · 3 comments
Closed

Disable "Unable to open file" during debug #28433

DigiAngel opened this issue Jun 10, 2017 · 3 comments

Comments

@DigiAngel
Copy link

  • VSCode Version: 1.13.0
  • OS Version: Ubuntu 16.04 64 bit

Steps to Reproduce:
So I'm creating a very simple c++ app for learning on Ubuntu using c++ and gdb:

#include <iostream>

using namespace std;

int main ()
{
    int score = 0;
    cout << "Enter an integer score between 0 and 100." << endl;
    cin >> score;

    if(score >= 90 && score <= 100)
    {
        cout << "Awesome!" << endl;
    }
    if(score >= 80 && score <= 89)
    {
        cout << "Well Done." << endl;
    }
    if(score >= 70 && score <= 79)
    {
        cout <<  "Average." << endl;
    }
    if(score >= 60 && score <= 69)
    {
        cout << "Bummer." << endl;
    }
    if(score >= 0 && score <= 59)
    {
        cout << "Sad Times." << endl;
    }

    return 0;
}

When pausing and stepping into/over I have to hit cancel each time for things like this:

screenshot from 2017-06-09 06-14-00

screenshot from 2017-06-09 06-14-35

Is there a way to disable these so I can step through the program? Thank you.

@ramya-rao-a
Copy link
Contributor

That is coming from the C++ extension you are using. Please log an issue in the repo for the extension

@DigiAngel
Copy link
Author

Well this leaves me in a bit of pickle. They say it's you, you say it's them. Now what?

microsoft/vscode-cpptools#811

@ramya-rao-a
Copy link
Contributor

@DigiAngel I have commented on the linked issue in the cpptools repo microsoft/vscode-cpptools#811 (comment)

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants