Interactive Debugging not working anymore like expected
@int19h is already working on this.
Since Dec 12, 2023.
- Dominant language
- C#
- Stars
- 2.6k
- Forks
- 680
- Avg merge
- 39m
- Merged PRs (30d)
- 1
Description
This issue has been moved from a ticket on Developer Community.
[regression] [worked-in:vs 2019 v16.6.5]
Hello
this week i had to change my virtual maschine for work and i took the chance to upgrad from working with python in visual studio 2019 to 2022.
working on big projects with long execution times im really happy to be able to use interactive debugging. to be able to set a breakpoint, change some code and be able to either define new varibales like "testing = 1" and make them available immediatly either in the watch window or by running the quick watch on this highlighted line. sadly now i get this error -> SyntaxError('invalid syntax', ('', 1, 9, 'testing = 1')).
when i evaluate expressions like "1 + 1" the watch and quick watch windows are still working.
i searched for 2 days now and could not find any solution.
today i even tought about going back to visual studio 2019 v16.11 and to my surprise its still not working!
on my old virutal maschine i had VS 2019 v16.5 which is not available to download anymore, so i went back to v16.4 and i still get the same error!!!
now i also upgraded to python 3.10 with the new machine and since i got a notice telling me its not supported yet by Visual studio i figured i can try old python versions as well (altough im 100% sure i should not be connected to the interpreter). i tried python version 3.9 and still got the same error. i even went back to the same python version as i had on my old machine v3.7 with vs 2019 v16.4 and still invalid syntax.
this is really really frustrating and slows down my workflow so much now. not to forget that i almost lost 2 days researching about this problem.
please tell me how to fix this problem?
greetings jan kohlschuetter
Original Comments
Feedback Bot on 5/10/2023, 07:25 PM:
(private comment, text removed)
Original Solutions
(no solutions)
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.
Assessment
This issue has not been assessed yet.