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

Double click on error in Visual Studio sometimes works, sometimes not #106

Open
david-pfx opened this issue Jan 10, 2018 · 5 comments
Open
Labels

Comments

@david-pfx
Copy link

It seems totally random. Compile errors show up nicely in the Visual Studio Error List, and double clicking often opens the PEG file at the right place, sometimes it opens the generated CS file, and sometimes it does nothing at all.

Easily reproduced, because it happens all the time, but not easy to pin down any specific factor. Annoying, rather than showstopper.

@otac0n
Copy link
Owner

otac0n commented Apr 26, 2018

I have seen this only in VS2017, is this your experience as well?

@otac0n otac0n added the bug label Apr 26, 2018
@david-pfx
Copy link
Author

I'm still on VS2015, hope to upgrade soon (when I get a round TUIT). Happens regularly.

@david-pfx
Copy link
Author

Now on VS2019, exactly the same experience. Sometimes the error links to the peg file, sometimes to the generated code, sometimes to nothing at all. I'll try to get an example.

@david-pfx
Copy link
Author

Here is an error where double clicking doesn't work:

1>D:\MyDocs\dev\Polyomino\PuzzLang\PuzzLangLib\obj\Debug\PuzzLangParser.peg(73,53,73,54): error CS0103: The name 'v' does not exist in the current context

The location is perfectly correct, but VS does not go there.

@david-pfx
Copy link
Author

Something I never noticed before: the errors that don't work on double click have Suppression State set to Active. This could be the vital clue.

Severity Code Description Project File Line Suppression State
Error CS0103 The name 'y' does not exist in the current context PuzzLangLib D:\MyDocs\dev\Polyomino\PuzzLang\PuzzLangLib\obj\Debug\PuzzLangParser.peg 137 Active

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

No branches or pull requests

2 participants