puremourning / vimspector

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

[Bug report]: Adding Breakpoints from the debugging tab moves previous breakpoints to the current file - but only in the debugging tab #267

Closed Melandel closed 4 years ago

Melandel commented 4 years ago

Describe the bug

Given one breakpoint is already set and the debugging session has already started, when I browse through the call stack to a different file and use F9 (with g:vimspector_enable_mappings = 'HUMAN'), my first breakpoint is moved to the current file so that I have two breakpoints in the current file instead of two breakpoints in two files as long as I call vimspector#ListBreakpoints() from within the debugging tab

Minimal reproduciton

List of steps to reproduce:

  1. Run vim -Nu /path/to/vimspector/support/minimal_vimrc
  2. Clone https://github.com/Melandel/vimspector_bug_repro.git
  3. Set a breakpoint on line 10 of file /entities/Message.cs
  4. run dotnet build (requires dotnet 3.1+ cli)
  5. Press F5
  6. Go to the stack trace and press Enter on a the line HelloWorld.UserInterfaceImpl.HelloWorld.UserInterface.Display()@UserInterfaceImpl.cs:17
  7. Go to line 18 and press F9
  8. You should now see two breakpoints, on current file.
  9. run :call vimspector#ListBreakpoints()
  10. The quicklist confirms that there are only two breakpoints, and that they are both on the same file
  11. run :call bimspector#Reset() then :call vimspector#ListBreakpoints() again
  12. You should now see two correct breakpoints, this time
  13. press F5 and run :call vimspector#ListBreakpoints() a last time
  14. You should now see the two incorrect breakpoints
{
    "configurations": {
        "MyConfig": {
            "default": true,
            "adapter": "netcoredbg",
            "configuration": {
                "request": "launch",
                "program": "${workspaceRoot}/details/startup/bin/Debug/netcoreapp3.1/console.dll"
            }
        }
    }
}

Expected behaviour

I expected to see the two correct breakpoints when running call vimspector#ListBreakpoints() from the debugging tab

Actual behaviour

I see the two incorrect breakpoints when running call vimspector#ListBreakpoints() from the debugging tab, yet when I run this after running call vimspector#Reset(), the breakpoints are correct. If I launch another debugging session, the two breakpoints shown in the quicklist will be incorrect again

Output from Server UI diagnostic tabs ```javascript Request for '{'command': 'stackTrace', 'arguments': {'threadId': 6836}, 'seq': 6, 'type': 'request'}' failed: Failed command 'stackTrace' : 0x80131302 Response: {'command': 'stackTrace', 'message': "Failed command 'stackTrace' : 0x80131302", 'request_seq': 6, 'seq': 22, 'success': False, 'type': 'response'} Paused in thread 6836 due to breakpoint ```
Vimspector log (~/.vimspector.log) ``` 2020-09-27 17:45:39,199 - INFO - User requested start debug session with {} 2020-09-27 17:45:39,199 - DEBUG - Reading gadget config: C:\Users\tranm\Desktop\tools\vim\pack\plugins\start\vimspector\gadgets\windows\.gadgets.json 2020-09-27 17:45:39,201 - DEBUG - Reading gadget config: None 2020-09-27 17:45:39,202 - DEBUG - Reading configurations from: None 2020-09-27 17:45:39,202 - DEBUG - Reading configurations from: C:\Users\tranm\Desktop\projects\vimspector_bug_repro\.vimspector.json 2020-09-27 17:45:39,202 - INFO - Configuration: {"default": true, "adapter": "netcoredbg", "configuration": {"request": "launch", "program": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro/details/startup/bin/Debug/netcoreapp3.1/console.dll"}} 2020-09-27 17:45:39,202 - INFO - Adapter: {"attach": {"pidProperty": "processId", "pidSelect": "ask"}, "command": ["C:\\Users\\tranm\\Desktop\\tools\\vim\\pack\\plugins\\start\\vimspector\\gadgets\\windows/netcoredbg/netcoredbg", "--interpreter=vscode"], "name": "netcoredbg"} 2020-09-27 17:45:39,496 - INFO - Starting debug adapter with: {"attach": {"pidProperty": "processId", "pidSelect": "ask"}, "command": ["C:\\Users\\tranm\\Desktop\\tools\\vim\\pack\\plugins\\start\\vimspector\\gadgets\\windows/netcoredbg/netcoredbg", "--interpreter=vscode"], "name": "netcoredbg"} 2020-09-27 17:45:39,516 - INFO - Debug Adapter Started 2020-09-27 17:45:39,516 - DEBUG - Sending Message: {"command": "initialize", "arguments": {"adapterID": "netcoredbg", "clientID": "vimspector", "clientName": "vimspector", "linesStartAt1": true, "columnsStartAt1": true, "locale": "en_GB", "pathFormat": "path", "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true}, "seq": 0, "type": "request"} 2020-09-27 17:45:39,623 - DEBUG - Message received: {'body': {'capabilities': {'supportTerminateDebuggee': True, 'supportsConditionalBreakpoints': True, 'supportsConfigurationDoneRequest': True, 'supportsFunctionBreakpoints': True}}, 'event': 'capabilities', 'seq': 1, 'type': 'event'} 2020-09-27 17:45:39,623 - DEBUG - Message received: {'body': {}, 'event': 'initialized', 'seq': 2, 'type': 'event'} 2020-09-27 17:45:39,624 - DEBUG - Sending Message: {"command": "setBreakpoints", "arguments": {"source": {"name": "Message.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\entities\\Message.cs"}, "breakpoints": [{"line": 10}]}, "sourceModified": false, "seq": 1, "type": "request"} 2020-09-27 17:45:39,624 - DEBUG - Sending Message: {"command": "setBreakpoints", "arguments": {"source": {"name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs"}, "breakpoints": []}, "sourceModified": false, "seq": 2, "type": "request"} 2020-09-27 17:45:39,624 - DEBUG - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": []}, "seq": 3, "type": "request"} 2020-09-27 17:45:39,624 - DEBUG - Message received: {'body': {'supportTerminateDebuggee': True, 'supportsConditionalBreakpoints': True, 'supportsConfigurationDoneRequest': True, 'supportsFunctionBreakpoints': True}, 'command': 'initialize', 'request_seq': 0, 'seq': 3, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,624 - DEBUG - LAUNCH! 2020-09-27 17:45:39,624 - DEBUG - Sending Message: {"command": "launch", "arguments": {"request": "launch", "program": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro/details/startup/bin/Debug/netcoreapp3.1/console.dll", "name": "test"}, "seq": 4, "type": "request"} 2020-09-27 17:45:39,629 - DEBUG - Message received: {'body': {'breakpoints': [{'id': 1, 'line': 10, 'message': '', 'verified': False}]}, 'command': 'setBreakpoints', 'request_seq': 1, 'seq': 4, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,629 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": false, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:45:39,630 - DEBUG - Message received: {'body': {'breakpoints': []}, 'command': 'setBreakpoints', 'request_seq': 2, 'seq': 5, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,630 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": false, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:45:39,630 - DEBUG - Message received: {'command': 'setExceptionBreakpoints', 'message': "Failed command 'setExceptionBreakpoints' : 0x80004001", 'request_seq': 3, 'seq': 6, 'success': False, 'type': 'response'} 2020-09-27 17:45:39,630 - ERROR - Request failed: Failed command 'setExceptionBreakpoints' : 0x80004001 2020-09-27 17:45:39,630 - DEBUG - Sending Message: {"command": "configurationDone", "seq": 5, "type": "request"} 2020-09-27 17:45:39,630 - DEBUG - Message received: {'body': {}, 'command': 'launch', 'request_seq': 4, 'seq': 7, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,747 - DEBUG - Message received: {'body': {}, 'command': 'configurationDone', 'request_seq': 5, 'seq': 8, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,747 - DEBUG - Sending Message: {"command": "threads", "seq": 6, "type": "request"} 2020-09-27 17:45:39,847 - DEBUG - Message received: {'body': {'threads': [{'id': 5768, 'name': ''}]}, 'command': 'threads', 'request_seq': 6, 'seq': 9, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,847 - DEBUG - Sending Message: {"command": "stackTrace", "arguments": {"threadId": 5768}, "seq": 7, "type": "request"} 2020-09-27 17:45:39,847 - DEBUG - Message received: {'body': {'module': {'id': 'ad61ca47-f8b7-4cc6-93a0-ba44cc73b5c7', 'name': 'System.Private.CoreLib.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Private.CoreLib.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 10, 'type': 'event'} 2020-09-27 17:45:39,847 - DEBUG - Message received: {'body': {'reason': 'started', 'threadId': 5768}, 'event': 'thread', 'seq': 11, 'type': 'event'} 2020-09-27 17:45:39,855 - DEBUG - Message received: {'body': {'stackFrames': [], 'totalFrames': 0}, 'command': 'stackTrace', 'request_seq': 7, 'seq': 12, 'success': True, 'type': 'response'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': 'e9bc1547-e276-4da0-9bd5-77556a329cd0', 'name': 'console.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\console.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 13, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': '07940e65-3784-443e-91c7-d651017894e2', 'name': 'System.Runtime.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Runtime.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 14, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': '346ac160-1803-412e-b0a1-21046c4ac027', 'name': 'Microsoft.Extensions.DependencyInjection.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\Microsoft.Extensions.DependencyInjection.dll', 'symbolStatus': 'Symbols not found.'}, 'reason': 'new'}, 'event': 'module', 'seq': 15, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': 'e44cffb3-26dd-4eda-86e4-37a9b9c84fb5', 'name': 'System.ComponentModel.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.ComponentModel.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 16, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': 'a12227f8-6270-4ce2-bf77-e167b64313c9', 'name': 'Microsoft.Extensions.DependencyInjection.Abstractions.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\Microsoft.Extensions.DependencyInjection.Abstractions.dll', 'symbolStatus': 'Symbols not found.'}, 'reason': 'new'}, 'event': 'module', 'seq': 17, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': '1ea8d566-a678-457d-966b-26d5ade15550', 'name': 'netstandard.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\netstandard.dll', 'symbolStatus': 'Symbols not found.'}, 'reason': 'new'}, 'event': 'module', 'seq': 18, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': '85905f43-1b0e-49ea-bc18-bb3e605235ed', 'name': 'GetMessage.Implementation.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.Implementation.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 19, 'type': 'event'} 2020-09-27 17:45:39,962 - DEBUG - Message received: {'body': {'module': {'id': 'd99c0bad-d030-459f-a1a4-6091378d4bed', 'name': 'GetMessage.Controller.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.Controller.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 20, 'type': 'event'} 2020-09-27 17:45:39,963 - DEBUG - Message received: {'body': {'module': {'id': 'b9eb4904-4649-4a05-9d29-68324920240b', 'name': 'GetMessage.Implementation.Data.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.Implementation.Data.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 21, 'type': 'event'} 2020-09-27 17:45:39,963 - DEBUG - Message received: {'body': {'module': {'id': 'dcd3be57-5104-4815-8261-a4bf8cf65cb7', 'name': 'ui.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\ui.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 22, 'type': 'event'} 2020-09-27 17:45:39,963 - DEBUG - Message received: {'body': {'module': {'id': '7dbaa2ab-776c-40cb-83a3-4308f2d96a57', 'name': 'System.Collections.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Collections.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 23, 'type': 'event'} 2020-09-27 17:45:39,963 - DEBUG - Message received: {'body': {'module': {'id': 'ded36b66-ff07-4504-b748-7a46f18f1c43', 'name': 'GetMessage.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 24, 'type': 'event'} 2020-09-27 17:45:39,963 - DEBUG - Message received: {'body': {'module': {'id': '49a60bce-d893-4dc0-a98c-b497723dffa5', 'name': 'entities.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\entities.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 25, 'type': 'event'} 2020-09-27 17:45:39,963 - DEBUG - Message received: {'body': {'breakpoint': {'id': 1, 'line': 10, 'message': '', 'verified': True}, 'reason': 'changed'}, 'event': 'breakpoint', 'seq': 26, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': 'ec16eaa1-1ddc-4637-b44f-f6d7212648bb', 'name': 'System.Collections.Concurrent.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Collections.Concurrent.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 27, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': '31f94af4-0455-4c4c-bd4f-ab58a9f2d1bf', 'name': 'System.Linq.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Linq.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 28, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': 'fd6f2973-4220-4c5b-8040-6a599360a004', 'name': 'System.Resources.ResourceManager.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Resources.ResourceManager.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 29, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': '62b22af8-f7c0-4946-aeda-7dbb594965e1', 'name': 'System.Reflection.Emit.Lightweight.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Reflection.Emit.Lightweight.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 30, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': '3a1fa72e-ca27-408b-ad90-b8483cf3ae9b', 'name': 'System.Diagnostics.Tracing.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Diagnostics.Tracing.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 31, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': '4a3d0805-6747-4edf-b265-35bc4d740fee', 'name': 'System.Runtime.Extensions.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Runtime.Extensions.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 32, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': '14127f1a-29b4-41c5-91b0-b63f7097bb67', 'name': 'System.Threading.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Threading.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 33, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'module': {'id': '42f9ccc8-a8e2-4583-8562-ac6b7554193a', 'name': 'System.Console.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Console.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 34, 'type': 'event'} 2020-09-27 17:45:40,065 - DEBUG - Message received: {'body': {'allThreadsStopped': True, 'description': '', 'reason': 'breakpoint', 'text': '', 'threadId': 5768}, 'event': 'stopped', 'seq': 35, 'type': 'event'} 2020-09-27 17:45:40,065 - WARNING - User Msg: Paused in thread 5768 due to breakpoint 2020-09-27 17:45:40,106 - DEBUG - Sending Message: {"command": "stackTrace", "arguments": {"threadId": 5768}, "seq": 8, "type": "request"} 2020-09-27 17:45:40,118 - DEBUG - Message received: {'body': {'stackFrames': [{'column': 4, 'endColumn': 46, 'endLine': 10, 'id': 24773371363328, 'line': 10, 'moduleId': '49a60bce-d893-4dc0-a98c-b497723dffa5', 'name': 'HelloWorld.Message.Create()', 'source': {'name': 'Message.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\entities\\Message.cs'}}, {'column': 4, 'endColumn': 41, 'endLine': 6, 'id': 24773371363329, 'line': 6, 'moduleId': 'b9eb4904-4649-4a05-9d29-68324920240b', 'name': 'HelloWorld.MessageGatewayImpl.GetMessage()', 'source': {'name': 'MessageGatewayImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\GetMessage.Implementation.Data\\MessageGatewayImpl.cs'}}, {'column': 4, 'endColumn': 46, 'endLine': 25, 'id': 24773371363330, 'line': 25, 'moduleId': '85905f43-1b0e-49ea-bc18-bb3e605235ed', 'name': 'HelloWorld.GetMessageImpl.Process()', 'source': {'name': 'GetMessageImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\usecases.implementations\\GetMessage.Implementation\\GetMessageImpl.cs'}}, {'column': 4, 'endColumn': 42, 'endLine': 15, 'id': 24773371363331, 'line': 15, 'moduleId': 'd99c0bad-d030-459f-a1a4-6091378d4bed', 'name': 'HelloWorld.GetHelloWorldControllerImpl.HelloWorld.GetHelloWorldController.Process()', 'source': {'name': 'GetHelloWorldControllerImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\GetMessage.Controller\\GetHelloWorldControllerImpl.cs'}}, {'column': 4, 'endColumn': 60, 'endLine': 17, 'id': 24773371363332, 'line': 17, 'moduleId': 'dcd3be57-5104-4815-8261-a4bf8cf65cb7', 'name': 'HelloWorld.UserInterfaceImpl.HelloWorld.UserInterface.Display()', 'source': {'name': 'UserInterfaceImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs'}}, {'column': 4, 'endColumn': 58, 'endLine': 17, 'id': 24773371363333, 'line': 17, 'moduleId': 'e9bc1547-e276-4da0-9bd5-77556a329cd0', 'name': 'console.Program.Main()', 'source': {'name': 'Program.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\Program.cs'}}], 'totalFrames': 6}, 'command': 'stackTrace', 'request_seq': 8, 'seq': 36, 'success': True, 'type': 'response'} 2020-09-27 17:45:40,220 - DEBUG - Sending Message: {"command": "scopes", "arguments": {"frameId": 24773371363328}, "seq": 9, "type": "request"} 2020-09-27 17:45:40,247 - DEBUG - Message received: {'body': {'scopes': [{'name': 'Locals', 'namedVariables': 1, 'variablesReference': 1}]}, 'command': 'scopes', 'request_seq': 9, 'seq': 37, 'success': True, 'type': 'response'} 2020-09-27 17:45:40,247 - DEBUG - Sending Message: {"command": "variables", "arguments": {"variablesReference": 1}, "seq": 10, "type": "request"} 2020-09-27 17:45:40,254 - DEBUG - Message received: {'body': {'variables': [{'evaluateName': 'content', 'name': 'content', 'type': 'string', 'value': '"Hello World"', 'variablesReference': 0}]}, 'command': 'variables', 'request_seq': 10, 'seq': 38, 'success': True, 'type': 'response'} 2020-09-27 17:45:42,572 - DEBUG - Sending Message: {"command": "scopes", "arguments": {"frameId": 24773371363332}, "seq": 11, "type": "request"} 2020-09-27 17:45:42,599 - DEBUG - Message received: {'body': {'scopes': [{'name': 'Locals', 'namedVariables': 3, 'variablesReference': 2}]}, 'command': 'scopes', 'request_seq': 11, 'seq': 39, 'success': True, 'type': 'response'} 2020-09-27 17:45:42,599 - DEBUG - Sending Message: {"command": "variables", "arguments": {"variablesReference": 2}, "seq": 12, "type": "request"} 2020-09-27 17:45:42,606 - DEBUG - Message received: {'body': {'variables': [{'evaluateName': 'this', 'name': 'this', 'namedVariables': 1, 'type': 'HelloWorld.UserInterfaceImpl', 'value': '{HelloWorld.UserInterfaceImpl}', 'variablesReference': 3}, {'evaluateName': 'request', 'name': 'request', 'type': 'HelloWorld.GetHelloWorldController.Request', 'value': '{HelloWorld.GetHelloWorldController.Request}', 'variablesReference': 0}, {'evaluateName': 'response', 'name': 'response', 'type': 'HelloWorld.GetHelloWorldController.Response', 'value': 'null', 'variablesReference': 0}]}, 'command': 'variables', 'request_seq': 12, 'seq': 40, 'success': True, 'type': 'response'} 2020-09-27 17:45:46,426 - DEBUG - Toggle found bp at C:\Users\tranm\Desktop\projects\vimspector_bug_repro\details\ui\UserInterfaceImpl.cs:18 ? False (New) 2020-09-27 17:45:46,426 - DEBUG - Sending Message: {"command": "setBreakpoints", "arguments": {"source": {"name": "Message.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\entities\\Message.cs"}, "breakpoints": [{"line": 10}]}, "sourceModified": false, "seq": 13, "type": "request"} 2020-09-27 17:45:46,427 - DEBUG - Sending Message: {"command": "setBreakpoints", "arguments": {"source": {"name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs"}, "breakpoints": [{"line": 18}]}, "sourceModified": false, "seq": 14, "type": "request"} 2020-09-27 17:45:46,427 - DEBUG - Sending Message: {"command": "setFunctionBreakpoints", "arguments": {"breakpoints": []}, "seq": 15, "type": "request"} 2020-09-27 17:45:46,427 - DEBUG - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": []}, "seq": 16, "type": "request"} 2020-09-27 17:45:46,430 - DEBUG - Message received: {'body': {'breakpoints': [{'id': 1, 'line': 10, 'message': '', 'verified': True}]}, 'command': 'setBreakpoints', 'request_seq': 13, 'seq': 41, 'success': True, 'type': 'response'} 2020-09-27 17:45:46,430 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": true, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:45:46,431 - DEBUG - Message received: {'body': {'breakpoints': [{'id': 2, 'line': 18, 'message': '', 'verified': True}]}, 'command': 'setBreakpoints', 'request_seq': 14, 'seq': 42, 'success': True, 'type': 'response'} 2020-09-27 17:45:46,431 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": true, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } }, { "id": 2, "line": 18, "message": "", "verified": true, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:45:46,432 - DEBUG - Message received: {'body': {'breakpoints': []}, 'command': 'setFunctionBreakpoints', 'request_seq': 15, 'seq': 43, 'success': True, 'type': 'response'} 2020-09-27 17:45:46,432 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": true, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } }, { "id": 2, "line": 18, "message": "", "verified": true, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:45:46,432 - DEBUG - Message received: {'command': 'setExceptionBreakpoints', 'message': "Failed command 'setExceptionBreakpoints' : 0x80004001", 'request_seq': 16, 'seq': 44, 'success': False, 'type': 'response'} 2020-09-27 17:45:46,433 - ERROR - Request failed: Failed command 'setExceptionBreakpoints' : 0x80004001 2020-09-27 17:45:53,558 - DEBUG - Stop debug adapter with callback : self._Reset() 2020-09-27 17:45:53,558 - DEBUG - Sending Message: {"command": "disconnect", "arguments": {"terminateDebuggee": false}, "seq": 17, "type": "request"} 2020-09-27 17:45:53,571 - DEBUG - Message received: {'body': {}, 'event': 'terminated', 'seq': 45, 'type': 'event'} 2020-09-27 17:45:53,571 - INFO - User Msg: Debugging was terminated by the server. 2020-09-27 17:45:53,574 - DEBUG - Message received: {'body': {}, 'command': 'disconnect', 'request_seq': 17, 'seq': 46, 'success': True, 'type': 'response'} 2020-09-27 17:45:53,574 - DEBUG - Setting server exit handler before disconnect 2020-09-27 17:45:53,585 - INFO - The server has terminated with status 0 2020-09-27 17:45:53,585 - DEBUG - Running server exit handler 2020-09-27 17:45:53,585 - INFO - Debugging complete. 2020-09-27 17:45:53,585 - DEBUG - Clearing down UI 2020-09-27 17:46:03,779 - INFO - User requested start debug session with {} 2020-09-27 17:46:03,780 - DEBUG - Reading gadget config: C:\Users\tranm\Desktop\tools\vim\pack\plugins\start\vimspector\gadgets\windows\.gadgets.json 2020-09-27 17:46:03,782 - DEBUG - Reading gadget config: None 2020-09-27 17:46:03,782 - DEBUG - Reading configurations from: None 2020-09-27 17:46:03,782 - DEBUG - Reading configurations from: C:\Users\tranm\Desktop\projects\vimspector_bug_repro\.vimspector.json 2020-09-27 17:46:03,783 - INFO - Configuration: {"default": true, "adapter": "netcoredbg", "configuration": {"request": "launch", "program": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro/details/startup/bin/Debug/netcoreapp3.1/console.dll"}} 2020-09-27 17:46:03,783 - INFO - Adapter: {"attach": {"pidProperty": "processId", "pidSelect": "ask"}, "command": ["C:\\Users\\tranm\\Desktop\\tools\\vim\\pack\\plugins\\start\\vimspector\\gadgets\\windows/netcoredbg/netcoredbg", "--interpreter=vscode"], "name": "netcoredbg"} 2020-09-27 17:46:04,043 - INFO - Starting debug adapter with: {"attach": {"pidProperty": "processId", "pidSelect": "ask"}, "command": ["C:\\Users\\tranm\\Desktop\\tools\\vim\\pack\\plugins\\start\\vimspector\\gadgets\\windows/netcoredbg/netcoredbg", "--interpreter=vscode"], "name": "netcoredbg"} 2020-09-27 17:46:04,065 - INFO - Debug Adapter Started 2020-09-27 17:46:04,065 - DEBUG - Sending Message: {"command": "initialize", "arguments": {"adapterID": "netcoredbg", "clientID": "vimspector", "clientName": "vimspector", "linesStartAt1": true, "columnsStartAt1": true, "locale": "en_GB", "pathFormat": "path", "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true}, "seq": 0, "type": "request"} 2020-09-27 17:46:04,092 - DEBUG - Message received: {'body': {'capabilities': {'supportTerminateDebuggee': True, 'supportsConditionalBreakpoints': True, 'supportsConfigurationDoneRequest': True, 'supportsFunctionBreakpoints': True}}, 'event': 'capabilities', 'seq': 1, 'type': 'event'} 2020-09-27 17:46:04,092 - DEBUG - Message received: {'body': {}, 'event': 'initialized', 'seq': 2, 'type': 'event'} 2020-09-27 17:46:04,092 - DEBUG - Sending Message: {"command": "setBreakpoints", "arguments": {"source": {"name": "Message.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\entities\\Message.cs"}, "breakpoints": [{"line": 10}]}, "sourceModified": false, "seq": 1, "type": "request"} 2020-09-27 17:46:04,093 - DEBUG - Sending Message: {"command": "setBreakpoints", "arguments": {"source": {"name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs"}, "breakpoints": [{"line": 18}]}, "sourceModified": false, "seq": 2, "type": "request"} 2020-09-27 17:46:04,093 - DEBUG - Sending Message: {"command": "setExceptionBreakpoints", "arguments": {"filters": []}, "seq": 3, "type": "request"} 2020-09-27 17:46:04,093 - DEBUG - Message received: {'body': {'supportTerminateDebuggee': True, 'supportsConditionalBreakpoints': True, 'supportsConfigurationDoneRequest': True, 'supportsFunctionBreakpoints': True}, 'command': 'initialize', 'request_seq': 0, 'seq': 3, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,093 - DEBUG - LAUNCH! 2020-09-27 17:46:04,093 - DEBUG - Sending Message: {"command": "launch", "arguments": {"request": "launch", "program": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro/details/startup/bin/Debug/netcoreapp3.1/console.dll", "name": "test"}, "seq": 4, "type": "request"} 2020-09-27 17:46:04,099 - DEBUG - Message received: {'body': {'breakpoints': [{'id': 1, 'line': 10, 'message': '', 'verified': False}]}, 'command': 'setBreakpoints', 'request_seq': 1, 'seq': 4, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,099 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": false, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:46:04,099 - DEBUG - Message received: {'body': {'breakpoints': [{'id': 2, 'line': 18, 'message': '', 'verified': False}]}, 'command': 'setBreakpoints', 'request_seq': 2, 'seq': 5, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,099 - DEBUG - Breakpoints at this point: { "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs": [ { "id": 1, "line": 10, "message": "", "verified": false, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } }, { "id": 2, "line": 18, "message": "", "verified": false, "source": { "name": "UserInterfaceImpl.cs", "path": "C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs" } } ] } 2020-09-27 17:46:04,100 - DEBUG - Message received: {'command': 'setExceptionBreakpoints', 'message': "Failed command 'setExceptionBreakpoints' : 0x80004001", 'request_seq': 3, 'seq': 6, 'success': False, 'type': 'response'} 2020-09-27 17:46:04,100 - ERROR - Request failed: Failed command 'setExceptionBreakpoints' : 0x80004001 2020-09-27 17:46:04,100 - DEBUG - Sending Message: {"command": "configurationDone", "seq": 5, "type": "request"} 2020-09-27 17:46:04,100 - DEBUG - Message received: {'body': {}, 'command': 'launch', 'request_seq': 4, 'seq': 7, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,164 - DEBUG - Message received: {'body': {}, 'command': 'configurationDone', 'request_seq': 5, 'seq': 8, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,164 - DEBUG - Sending Message: {"command": "threads", "seq": 6, "type": "request"} 2020-09-27 17:46:04,165 - DEBUG - Message received: {'body': {'threads': [{'id': 14992, 'name': ''}, {'id': 5728, 'name': ''}]}, 'command': 'threads', 'request_seq': 6, 'seq': 9, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,165 - DEBUG - Sending Message: {"command": "stackTrace", "arguments": {"threadId": 14992}, "seq": 7, "type": "request"} 2020-09-27 17:46:04,171 - DEBUG - Message received: {'command': 'stackTrace', 'message': "Failed command 'stackTrace' : 0x80131302", 'request_seq': 7, 'seq': 10, 'success': False, 'type': 'response'} 2020-09-27 17:46:04,172 - ERROR - Request failed: Failed command 'stackTrace' : 0x80131302 2020-09-27 17:46:04,198 - DEBUG - Message received: {'body': {'module': {'id': 'ad61ca47-f8b7-4cc6-93a0-ba44cc73b5c7', 'name': 'System.Private.CoreLib.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Private.CoreLib.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 11, 'type': 'event'} 2020-09-27 17:46:04,198 - DEBUG - Message received: {'body': {'reason': 'started', 'threadId': 5728}, 'event': 'thread', 'seq': 12, 'type': 'event'} 2020-09-27 17:46:04,230 - DEBUG - Message received: {'body': {'module': {'id': 'e9bc1547-e276-4da0-9bd5-77556a329cd0', 'name': 'console.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\console.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 13, 'type': 'event'} 2020-09-27 17:46:04,230 - DEBUG - Message received: {'body': {'module': {'id': '07940e65-3784-443e-91c7-d651017894e2', 'name': 'System.Runtime.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Runtime.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 14, 'type': 'event'} 2020-09-27 17:46:04,230 - DEBUG - Message received: {'body': {'module': {'id': '346ac160-1803-412e-b0a1-21046c4ac027', 'name': 'Microsoft.Extensions.DependencyInjection.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\Microsoft.Extensions.DependencyInjection.dll', 'symbolStatus': 'Symbols not found.'}, 'reason': 'new'}, 'event': 'module', 'seq': 15, 'type': 'event'} 2020-09-27 17:46:04,230 - DEBUG - Message received: {'body': {'module': {'id': 'e44cffb3-26dd-4eda-86e4-37a9b9c84fb5', 'name': 'System.ComponentModel.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.ComponentModel.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 16, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'module': {'id': 'a12227f8-6270-4ce2-bf77-e167b64313c9', 'name': 'Microsoft.Extensions.DependencyInjection.Abstractions.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\Microsoft.Extensions.DependencyInjection.Abstractions.dll', 'symbolStatus': 'Symbols not found.'}, 'reason': 'new'}, 'event': 'module', 'seq': 17, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'module': {'id': '1ea8d566-a678-457d-966b-26d5ade15550', 'name': 'netstandard.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\netstandard.dll', 'symbolStatus': 'Symbols not found.'}, 'reason': 'new'}, 'event': 'module', 'seq': 18, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'module': {'id': '85905f43-1b0e-49ea-bc18-bb3e605235ed', 'name': 'GetMessage.Implementation.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.Implementation.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 19, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'module': {'id': 'd99c0bad-d030-459f-a1a4-6091378d4bed', 'name': 'GetMessage.Controller.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.Controller.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 20, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'module': {'id': 'b9eb4904-4649-4a05-9d29-68324920240b', 'name': 'GetMessage.Implementation.Data.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.Implementation.Data.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 21, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'module': {'id': 'dcd3be57-5104-4815-8261-a4bf8cf65cb7', 'name': 'ui.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\ui.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 22, 'type': 'event'} 2020-09-27 17:46:04,274 - DEBUG - Message received: {'body': {'breakpoint': {'id': 2, 'line': 18, 'message': '', 'verified': True}, 'reason': 'changed'}, 'event': 'breakpoint', 'seq': 23, 'type': 'event'} 2020-09-27 17:46:04,275 - DEBUG - Message received: {'body': {'module': {'id': '7dbaa2ab-776c-40cb-83a3-4308f2d96a57', 'name': 'System.Collections.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Collections.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 24, 'type': 'event'} 2020-09-27 17:46:04,275 - DEBUG - Message received: {'body': {'module': {'id': 'ded36b66-ff07-4504-b748-7a46f18f1c43', 'name': 'GetMessage.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\GetMessage.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 25, 'type': 'event'} 2020-09-27 17:46:04,275 - DEBUG - Message received: {'body': {'module': {'id': '49a60bce-d893-4dc0-a98c-b497723dffa5', 'name': 'entities.dll', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\bin\\Debug\\netcoreapp3.1\\entities.dll', 'symbolStatus': 'Symbols loaded.'}, 'reason': 'new'}, 'event': 'module', 'seq': 26, 'type': 'event'} 2020-09-27 17:46:04,275 - DEBUG - Message received: {'body': {'breakpoint': {'id': 1, 'line': 10, 'message': '', 'verified': True}, 'reason': 'changed'}, 'event': 'breakpoint', 'seq': 27, 'type': 'event'} 2020-09-27 17:46:04,276 - DEBUG - Message received: {'body': {'module': {'id': 'ec16eaa1-1ddc-4637-b44f-f6d7212648bb', 'name': 'System.Collections.Concurrent.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Collections.Concurrent.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 28, 'type': 'event'} 2020-09-27 17:46:04,276 - DEBUG - Message received: {'body': {'module': {'id': '31f94af4-0455-4c4c-bd4f-ab58a9f2d1bf', 'name': 'System.Linq.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Linq.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 29, 'type': 'event'} 2020-09-27 17:46:04,277 - DEBUG - Message received: {'body': {'module': {'id': 'fd6f2973-4220-4c5b-8040-6a599360a004', 'name': 'System.Resources.ResourceManager.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Resources.ResourceManager.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 30, 'type': 'event'} 2020-09-27 17:46:04,338 - DEBUG - Message received: {'body': {'module': {'id': '62b22af8-f7c0-4946-aeda-7dbb594965e1', 'name': 'System.Reflection.Emit.Lightweight.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Reflection.Emit.Lightweight.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 31, 'type': 'event'} 2020-09-27 17:46:04,338 - DEBUG - Message received: {'body': {'module': {'id': '3a1fa72e-ca27-408b-ad90-b8483cf3ae9b', 'name': 'System.Diagnostics.Tracing.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Diagnostics.Tracing.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 32, 'type': 'event'} 2020-09-27 17:46:04,338 - DEBUG - Message received: {'body': {'module': {'id': '4a3d0805-6747-4edf-b265-35bc4d740fee', 'name': 'System.Runtime.Extensions.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Runtime.Extensions.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 33, 'type': 'event'} 2020-09-27 17:46:04,338 - DEBUG - Message received: {'body': {'module': {'id': '14127f1a-29b4-41c5-91b0-b63f7097bb67', 'name': 'System.Threading.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Threading.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 34, 'type': 'event'} 2020-09-27 17:46:04,338 - DEBUG - Message received: {'body': {'module': {'id': '42f9ccc8-a8e2-4583-8562-ac6b7554193a', 'name': 'System.Console.dll', 'path': 'C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\3.1.8\\System.Console.dll', 'symbolStatus': 'Skipped loading symbols.'}, 'reason': 'new'}, 'event': 'module', 'seq': 35, 'type': 'event'} 2020-09-27 17:46:04,338 - DEBUG - Message received: {'body': {'allThreadsStopped': True, 'description': '', 'reason': 'breakpoint', 'text': '', 'threadId': 5728}, 'event': 'stopped', 'seq': 36, 'type': 'event'} 2020-09-27 17:46:04,338 - WARNING - User Msg: Paused in thread 5728 due to breakpoint 2020-09-27 17:46:04,354 - DEBUG - Sending Message: {"command": "stackTrace", "arguments": {"threadId": 5728}, "seq": 8, "type": "request"} 2020-09-27 17:46:04,360 - DEBUG - Message received: {'body': {'stackFrames': [{'column': 4, 'endColumn': 46, 'endLine': 10, 'id': 24601572671488, 'line': 10, 'moduleId': '49a60bce-d893-4dc0-a98c-b497723dffa5', 'name': 'HelloWorld.Message.Create()', 'source': {'name': 'Message.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\entities\\Message.cs'}}, {'column': 4, 'endColumn': 41, 'endLine': 6, 'id': 24601572671489, 'line': 6, 'moduleId': 'b9eb4904-4649-4a05-9d29-68324920240b', 'name': 'HelloWorld.MessageGatewayImpl.GetMessage()', 'source': {'name': 'MessageGatewayImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\GetMessage.Implementation.Data\\MessageGatewayImpl.cs'}}, {'column': 4, 'endColumn': 46, 'endLine': 25, 'id': 24601572671490, 'line': 25, 'moduleId': '85905f43-1b0e-49ea-bc18-bb3e605235ed', 'name': 'HelloWorld.GetMessageImpl.Process()', 'source': {'name': 'GetMessageImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\usecases.implementations\\GetMessage.Implementation\\GetMessageImpl.cs'}}, {'column': 4, 'endColumn': 42, 'endLine': 15, 'id': 24601572671491, 'line': 15, 'moduleId': 'd99c0bad-d030-459f-a1a4-6091378d4bed', 'name': 'HelloWorld.GetHelloWorldControllerImpl.HelloWorld.GetHelloWorldController.Process()', 'source': {'name': 'GetHelloWorldControllerImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\GetMessage.Controller\\GetHelloWorldControllerImpl.cs'}}, {'column': 4, 'endColumn': 60, 'endLine': 17, 'id': 24601572671492, 'line': 17, 'moduleId': 'dcd3be57-5104-4815-8261-a4bf8cf65cb7', 'name': 'HelloWorld.UserInterfaceImpl.HelloWorld.UserInterface.Display()', 'source': {'name': 'UserInterfaceImpl.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\ui\\UserInterfaceImpl.cs'}}, {'column': 4, 'endColumn': 58, 'endLine': 17, 'id': 24601572671493, 'line': 17, 'moduleId': 'e9bc1547-e276-4da0-9bd5-77556a329cd0', 'name': 'console.Program.Main()', 'source': {'name': 'Program.cs', 'path': 'C:\\Users\\tranm\\Desktop\\projects\\vimspector_bug_repro\\details\\startup\\Program.cs'}}], 'totalFrames': 6}, 'command': 'stackTrace', 'request_seq': 8, 'seq': 37, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,460 - DEBUG - Sending Message: {"command": "scopes", "arguments": {"frameId": 24601572671488}, "seq": 9, "type": "request"} 2020-09-27 17:46:04,486 - DEBUG - Message received: {'body': {'scopes': [{'name': 'Locals', 'namedVariables': 1, 'variablesReference': 1}]}, 'command': 'scopes', 'request_seq': 9, 'seq': 38, 'success': True, 'type': 'response'} 2020-09-27 17:46:04,486 - DEBUG - Sending Message: {"command": "variables", "arguments": {"variablesReference": 1}, "seq": 10, "type": "request"} 2020-09-27 17:46:04,493 - DEBUG - Message received: {'body': {'variables': [{'evaluateName': 'content', 'name': 'content', 'type': 'string', 'value': '"Hello World"', 'variablesReference': 0}]}, 'command': 'variables', 'request_seq': 10, 'seq': 39, 'success': True, 'type': 'response'} 2020-09-27 17:46:12,596 - DEBUG - Stop debug adapter with callback : self._Reset() 2020-09-27 17:46:12,597 - DEBUG - Sending Message: {"command": "disconnect", "arguments": {"terminateDebuggee": false}, "seq": 11, "type": "request"} 2020-09-27 17:46:12,609 - DEBUG - Message received: {'body': {}, 'event': 'terminated', 'seq': 40, 'type': 'event'} 2020-09-27 17:46:12,609 - INFO - User Msg: Debugging was terminated by the server. 2020-09-27 17:46:12,615 - DEBUG - Message received: {'body': {}, 'command': 'disconnect', 'request_seq': 11, 'seq': 41, 'success': True, 'type': 'response'} 2020-09-27 17:46:12,615 - DEBUG - Setting server exit handler before disconnect 2020-09-27 17:46:12,624 - INFO - The server has terminated with status 0 2020-09-27 17:46:12,625 - DEBUG - Running server exit handler 2020-09-27 17:46:12,625 - INFO - Debugging complete. 2020-09-27 17:46:12,625 - DEBUG - Clearing down UI ```

Environemnt

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 10 2020 22:02:57)
MS-Windows 64-bit console version
Included patches: 1-1657
Compiled by appveyor@APPVYR-WIN
Huge version without GUI.  Features included (+) or not (-):
+acl                +ex_extra           +multi_lang         -tcl
+arabic             +extra_search       +mzscheme/dyn       +termguicolors
+autocmd            -farsi              -netbeans_intg      +terminal     
+autochdir          +file_in_path       +num64              -termresponse 
+autoservername     +find_in_path       +packages           +textobjects  
-balloon_eval       +float              +path_extra         +textprop     
+balloon_eval_term  +folding            +perl/dyn           -tgetent      
-browse             -footer             +persistent_undo    +timers       
++builtin_terms     +gettext/dyn        +popupwin           +title        
+byte_offset        -hangul_input       -postscript         -toolbar      
+channel            +iconv/dyn          +printer            +user_commands
+cindent            +insert_expand      +profile            +vartabs    
+clientserver       +ipv6               +python/dyn         +vertsplit  
+clipboard          +job                +python3/dyn        +virtualedit
+cmdline_compl      +jumplist           +quickfix           +visual
+cmdline_hist       +keymap             +reltime            +visualextra
+cmdline_info       +lambda             +rightleft          +viminfo
+comments           +langmap            +ruby/dyn           +vreplace
+conceal            +libcall            +scrollbind         +vtp
+cryptv             +linebreak          +signs              +wildignore
+cscope             +lispindent         +smartindent        +wildmenu
+cursorbind         +listcmds           +sound              +windows
+cursorshape        +localmap           +spell              +writebackup
+dialog_con         +lua/dyn            +startuptime        -xfontset
+diff               +menu               +statusline         -xim
+digraphs           +mksession          -sun_workshop       -xpm_w32
-dnd                +modify_fname       +syntax             -xterm_save
-ebcdic             +mouse              +tag_binary
+emacs_tags         -mouseshape         -tag_old_static
+eval               +multi_byte_ime/dyn -tag_any_white
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND  -DFEAT_J
OB_CHANNEL -DFEAT_IPV6      -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DND
EBUG  /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -DDY
NAMIC_GETTEXT -DFEAT_LUA -DDYNAMIC_LUA  -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_
DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python38.dll\" -DFEAT_MZSCHEME -I "C:\Prog
ram Files\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZ
GC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_
DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DRUBY_VERSION=24 -DFEAT_HU
GE /Fd.\ObjCULYHRZAMD64/ /Zi
Linking: link  /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib 
ole32.lib netapi32.lib uuid.lib /machine:AMD64   libcmt.lib  user32.lib  /nodefaultlib:lua53.lib  /STACK:8388608  /nodef
aultlib:python27.lib /nodefaultlib:python38.lib    winmm.lib WSock32.lib Ws2_32.lib  /PDB:vim.pdb -debug
N/A
3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)]
nothing
nothing
Not an editor command: checkhealth

Declaration

puremourning commented 4 years ago

Thanks for the detailed report. I’ll check it out.

puremourning commented 4 years ago

Thanks for the detailed repro case. Much appreciated. I can repro and there is some very odd stuff happening here. I'll have to dig into it.