This project has moved and is read-only. For the latest updates, please go here.

VS crashed when trying to debug flask



So when i try to launch the debugger for a flask app, first VS says that it could not attach to the process(Method does not exist) and if I try launching again it crashes. I tried with a new project and no changes, still crashes.

Any ideas?


Zooba wrote Jul 28, 2014 at 5:45 PM

What versions of VS, PTVS, Windows, Python, and Flask are you using?

ArtyomTopchyan wrote Jul 28, 2014 at 6:13 PM

Ya sorry forgot to add that info.

VS 2013
PTVS 2.1 Beta 2
Python 2.7 64bit
Flask 0.10.1

I am using Anaconda with installed flask and not a virtual environment.

Zooba wrote Aug 4, 2014 at 10:37 PM

So I didn't have any trouble with this, and though we have fixed some debugger issues since 2.1 Beta 2 I don't think anything would affect this.

If you look in Event Viewer under the Application Log at '.NET Runtime' events, can you find any stack traces that look like something to do with us (they'll say "devenv.exe" and "Python" somewhere)? They should show up immediately after crashing, so if you retrigger the crash it'll be near the top.

ArtyomTopchyan wrote Aug 12, 2014 at 11:36 PM

This is fixed for RC.