You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be clear: I believe the loadedSources request / loadedSource event are really only meant for dynamic documents of some sort, for example the java script files in a web page. Is that your scenario? Ex: the client my team owns (Visual Studio) would not scale if you tried to create a loaded source event for every C/C++ source/header file in a large native library.
I was looking into this for lldb-dap and I have a basic prototype of this working. I thought this would be valuable for projects with disparate sets of debuggable units, e.g. llvm has a number of different binaries that it can build and test and having the loadedSources implemented shows whats actually in the target your debugging.
In my case of lldb-dap, loading itself into the debugger its reporting 2871 primary sources (e.g. excluding headers and some transitive support files like swig generated sources / headers) and around 7k sources total.
Activity
gregg-miskelly commentedon Jan 8, 2026
To be clear: I believe the
loadedSourcesrequest /loadedSourceevent are really only meant for dynamic documents of some sort, for example the java script files in a web page. Is that your scenario? Ex: the client my team owns (Visual Studio) would not scale if you tried to create a loaded source event for every C/C++ source/header file in a large native library.ashgti commentedon Jan 9, 2026
I was looking into this for lldb-dap and I have a basic prototype of this working. I thought this would be valuable for projects with disparate sets of debuggable units, e.g. llvm has a number of different binaries that it can build and test and having the
loadedSourcesimplemented shows whats actually in the target your debugging.In my case of lldb-dap, loading itself into the debugger its reporting 2871 primary sources (e.g. excluding headers and some transitive support files like swig generated sources / headers) and around 7k sources total.