puremourning / vimspector

vimspector - A multi-language debugging system for Vim
http://puremourning.github.io/vimspector-web
Apache License 2.0
4.08k stars 171 forks source link

[Feature Request]: Do not open source file if the file does not exists #808

Open zoumi opened 11 months ago

zoumi commented 11 months ago

Is your feature request related to a problem? Please describe. No,it's just a little disturbing.

Describe the solution you'd like When user Pause the debug, do not try to open source file if the file does not exists. (Because some third party .so files may contain file path that does not exists in user's PC)

puremourning commented 11 months ago

I don't understand. What is the problem here?

zoumi commented 11 months ago

For example: When user call \:VimspectorPause when the program is running in libc.so, and this libc.so contains debug info, but the debug info point to a source file path that does not exists in the file system, then vimspector will open an empty buffer.