Closed tristanlabelle closed 6 months ago
Are you sure these are coming from the vscode-swift extension? The debug adapter itself cannot display messages. It is a separate process from VSCode. You don't have any other extensions that could be displaying these. I have gone through all the extension's usage of showInformationMessage
and they all display static strings and none of them are the strings you are seeing.
Has this always occurred, or is it a recent thing?
I've had a quick look through the lldb-vscode code and there does appear to be a Progress type that these string are being sent to. The DAP spec also has support for progress messages. I'm guessing VSCode is reading these and displaying information windows for them. I'll look into it further
Ah that looks right! There must be some ProgressStart event that's not properly coupled with a ProgressEnd
one. Should I migrate this to llvm/llvm-project then?
I'm not clear on whether this is a recent regression. It could also be dependent on the code we are debugging.
Ah that looks right! There must be some ProgressStart event that's not properly coupled with a
ProgressEnd
one. Should I migrate this to llvm/llvm-project then?I'm not clear on whether this is a recent regression. It could also be dependent on the code we are debugging.
I had a very very Quick Look at the llvm lldb-vscode code and didn't see anything obvious.
@tristanlabelle Did you get anywhere with this?
We're sitting on this item in the backlog and it will likely be a few more weeks before we look into it. Personally I'm satisfied that this looks like a DAP bug and we can close the issue here.
Describe the bug When debugging using swift-lldb, various message boxes/spinners appear and don't go away until the debugging session completes.
To Reproduce (unclear what kind of project makes this happen, but this has been reported by various people)
Expected behavior Any spinners should either eventually disappear or provide a way to be dismissed.
Environment