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

Temporary File Produced When Debugging #5139

Closed
YFMao15 opened this issue Apr 6, 2019 · 1 comment
Closed

Temporary File Produced When Debugging #5139

YFMao15 opened this issue Apr 6, 2019 · 1 comment

Comments

@YFMao15
Copy link

YFMao15 commented Apr 6, 2019

Issue Type: Performance Issue

Hi, I am reporting something unpleasant when I am using VS Code to debug python files recently. I found out that a temporary copy of my original .py file is always being created when the debugging process pauses on breakpoints and errors. This problem is really disturbing, because I have to close the copied file if I want to restart debugging.

For example, in the screenshot below, my program pauses on the breakpoint of line 3. The original file is on the left side of the file bar, while the copy is created on the right. The only difference between them is the path displayed on the bar. The original one will display the right path, while the copied only contains the lowercase letters. In this example, the folder name is not superresolutionnet, but SuperResolutionNet. If I restart the debugging session, the program will start a new integrated terminal in the terminal slot. So, I have to close the window every time I restart my debugging.

Not Good

Until now, I have tried reinstalling the python program, VS Code and python extensions for several times, but it seems that the problem is not solved after these actions. I failed to reproduce the problem on a second computer with the same extension and same python version. Thus, I would like to ask you for the help to figure out this problem. Thanks for you time.

Extension version: 2019.3.6352
VS Code version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.93GB (9.20GB free)
Process Argv
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    1	    81	  7924	code main
    0	    66	  7612	   window (Issue Reporter)
    0	    65	  8500	   shared-process
    1	   166	 11196	   window (MainSRN.py - SuperResolutionNet - Visual Studio Code)
    0	   107	  2016	     extensionHost
   27	  1649	  7384	       C:\Users\myf15\.vscode\extensions\ms-python.python-2019.3.6352\languageServer.0.2.44\Microsoft.Python.LanguageServer.exe
    0	    11	  5648	         console-window-host (Windows internal process)
    0	    37	 11644	       electron_node main.js 
    0	    41	  3744	     "D:\Applications\Microsoft VS Code\Code.exe" "d:\Applications\Microsoft VS Code\resources\app\out\bootstrap-fork" ms-python.python "{\"common.vscodemachineid\":\"b79eee7eb73456503dfdf73ea7535a4cd20bca954854c64ea1ba8f907d6423fe\",\"common.vscodesessionid\":\"1ce8d7a2-6a47-449b-8819-f0b409bd03d71554537327054\"}" AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217
    0	     6	  5964	     winpty-process
    0	    65	  6752	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    11	 14456	       console-window-host (Windows internal process)
    0	     6	  8832	     winpty-process
    0	    11	   808	       console-window-host (Windows internal process)
    0	    70	  6628	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    33	 11604	         "D:\Applications\Anaconda3\python.exe" c:\Users\myf15\.vscode\extensions\ms-python.python-2019.3.6352\pythonFiles\ptvsd_launcher.py --default --client --host localhost --port 62884 d:\�廪ѧϰ\ʵ����\BBNC\���ֱ�����\SuperResolutionNet\MainSRN.py
    0	    34	 10900	     searchService
    0	    13	 11488	     electron-crash-reporter
    0	    11	 13108	     watcherService 
    0	    11	 11540	       console-window-host (Windows internal process)
    1	   281	 11284	   gpu-process
Workspace Info
|  Window (MainSRN.py - SuperResolutionNet - Visual Studio Code)
|    Folder (SuperResolutionNet): 344 files
|      File types: tif(328) py(3) data-00000-of-00001(3) index(3) meta(3)
|                  json(2)
|      Conf files: launch.json(1) settings.json(1);
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Apr 6, 2019
@DonJayamanne
Copy link

Duplicate of #4166

@DonJayamanne DonJayamanne marked this as a duplicate of #4166 Apr 8, 2019
@ericsnowcurrently ericsnowcurrently added triage and removed triage-needed Needs assignment to the proper sub-team labels Apr 9, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2019
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

3 participants