Open whitehat007 opened 4 years ago
Hi @whitehat007 sorry to hear that. When you say that nothing happens, the same file remains open? or a new untitled
file appears? Checking I think we always left a file in the Editor so if you don't have a any other file open, closing an untitled<n>
file will end up in the automatic creation of a new untitled<n+1>
file:
Is this the behavior you are experiencing? If is something different, maybe you could show us with a GIF what is happening in your case (to get a better understanding of what is going on :) )
I had other files open, so it wasn't automatically creating a new file--it stayed the old untitled0.py* (with the unsaved changes mark) when I clicked "No". Creating another new file (untitled1.py) and following the above steps gave me the same issue. I ended up having to force-quit Spyder to make it shut down. However, when I tried to reproduce the issue just now to make a GIF, I wasn't able to make it happen again. Here's what I do know/remember about the operational state when I experienced the bug:
Does that help at all? If I run across the issue again, I'll be sure to capture it and add it to the bug report.
That's quite strange but thanks for the feedback and yes please, if you are able to gather more info post it here :+1:
Thinking a little bit, maybe a way to reproduce this is trying to change working directory to the one that presented the issue (i.e your home dir)?:
I was able to (inadvertently) get it to happen again, though under different circumstances--this time I did write and run some code. Here's the GIF:
@whitehat007, I think that happens because you're debugging untitled files.
Is there not a message printed in the console about that?
@ccordoba12 Yes, I see that in the console now, but it only showed up after I cleared the console (Command + L) first. Also, I never ran the file in Debug mode--always just in regular run mode (F5).
Ok, the best we can do to avoid this is to allow closing untitled files that are being debugged. We'll implement that in a future version.
Description
What steps will reproduce the problem?
Versions
Dependencies