在今天早上更新了VS代码(我想不起来是最新版本)后,一切似乎都正常运行。
后来我遇到了一个问题,即Windows资源管理器会在重命名正在运行的流浪者VM内的某些文件夹(通过Windows)时挂起自身,该文件夹以VS代码打开。
windwos资源管理器的窗口挂了,我什么也做不了。
所以我重启了电脑。
VS代码更新后大约一个小时,所以它可以正常工作了。
之后,我将无法启动VS代码应用程序。
当我单击任务栏中的VS Code图标时,我接受以管理员身份运行的请求。然后我看到VS代码符号闪烁,然后什么也没有发生。
我已经将文件重命名了
我在Windows事件查看器中未发现任何错误
执行时
代码-详细
之前无法正常运行(无法识别命令“代码” ...),经过对注册表,Windows更新等的测试后,它现在为我提供了以下内容。
[main 2019-07-05T14:40:33.741Z] Starting VS Code
[main 2019-07-05T14:40:33.742Z] from: c:\Users\username\AppData\Local\Programs\Microsoft VS Code\resources\app
[main 2019-07-05T14:40:33.742Z] args: { _: [],
diff: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
version: false,
help: false,
'list-extensions': false,
'show-versions': false,
verbose: true,
status: false,
'prof-startup': false,
'disable-extensions': false,
'disable-gpu': false,
logExtensionHostCommunication: false,
'skip-getting-started': false,
'skip-release-notes': false,
'sticky-quickopen': false,
'disable-restore-windows': false,
'disable-telemetry': false,
'disable-updates': false,
'disable-crash-reporter': false,
'skip-add-to-recently-opened': false,
'unity-launch': false,
'open-url': false,
nolazy: false,
issue: false,
'file-write': false,
'file-chmod': false,
'driver-verbose': false,
force: false,
'prof-code-loading': false }
[main 2019-07-05T14:40:33.746Z] Resolving machine identifier...
[main 2019-07-05T14:40:33.746Z] Resolved machine identifier: someidentifierID
[main 2019-07-05T14:40:33.769Z] update#setState idle
[main 2019-07-05T14:40:33.773Z] [storage state.vscdb] open(c:\Users\user\AppData\Roaming\Code\User\globalStorage\state.vscdb, retryOnBusy: true)
[main 2019-07-05T14:40:33.774Z] lifecycle (main): phase changed (value: 2)
[main 2019-07-05T14:40:33.775Z] windowsManager#open
[main 2019-07-05T14:40:33.831Z] telemetry/optInStatus { optIn: true }
[main 2019-07-05T14:40:33.831Z] telemetry/update:win32SetupTarget { target: 'user' }
[main 2019-07-05T14:40:33.831Z] telemetry/machineIdFallback { usingFallbackGuid: false }
[main 2019-07-05T14:40:33.832Z] URIError: URI malformed
at decodeURIComponent (<anonymous>)
at s (C:\Users\userr\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:106:693)
at Function.parse (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:111:310)
at Object.t.restoreRecentlyOpened (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:226:857)
at e.getRecentlyOpenedFromStorage (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:385:457)
at e.addEntriesFromStorage (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:385:101)
at e.addRecentlyOpened (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:383:115)
at t.open (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:448:116)
at t.openFirstWindow (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:490:304)
at a.invokeFunction.t (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:484:931)
at l.invokeFunction (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:228:522)
at t.<anonymous> (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:484:908)
at Generator.next (<anonymous>)
at o (C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:13:454)
[main 2019-07-05T14:40:33.833Z] Lifecycle#kill()
[main 2019-07-05T14:40:33.841Z] Lifecycle#window.on('closed') - window ID 1
[main 2019-07-05T14:40:33.841Z] Lifecycle#onWillShutdown.fire()
[main 2019-07-05T14:40:33.845Z] [storage state.vscdb] close()
您有什么想法才能使其运行或调试发生的事情吗?