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
I set a breakpoint in a program, hit my keybind (F5) to start debugging.
nvim-dap-ui appears.
At this moment, it shows in nvim-dap-ui icons that I can 'restart', 'stop' or 'disconnect'. I also see the 'pause' symbol as I expect from vscode.
I now make a request, so I 'start the script'. The breakpoint triggers! I see local variables, etc...
The 'B' for the breakpoint changes to an arrow, to indicate that is where the run cursor is I suppose.
The status icons change to indicate I can now continue running the pogram, and al the step-over, step-into, etc... options. So far, so great!
But, if I hit f5 again (dap.continue), the script continues and finishes. The breakpoint indicator changes back to a B:
But the status icons don't change, as if it still thinks the script is running and didn't finish:
So, my first instinct is to think the script is still running and held up somewhere, while it's actually finished.
Expected Result
I expect the status icons to change back to the state before the script started. Also, how it happens in vscode with the same debug adapter, that's where my expectations come from :).
Now, I have no clue if this is a problem with nvim-dap-ui, or in the real status in nvim-dap. But I also don't really have a clue how to figure that out or debug it further.
Actual Result
I've cleaned out dap.log, set the log level to debug, and started a new test:
start Neovim, use telescope to open file. Set breakpoint, start debugging. (start script, breakpoint hits). Continue debugging / execution (script finishes), nothing changes on screen except the breakpoint indicator. At that point, I've exited with a :qa, and returned the dap.log as is:
If it seems to be something in nvim-dap-ui, then I'm sorry, and I'll take it there. But I was hoping the log file could shine some light on what happens and if it's expected or not.
The text was updated successfully, but these errors were encountered:
Debug adapter definition and debug configuration
Installed the adapter via Mason.
It's called 'php-debug-adapter' there, and it installs https://github.com/xdebug/vscode-php-debug.
When trying to debug something, it is working.
nvim-dap installed through lazy.nvim.
Debug adapter version
1.34.0
Steps to Reproduce
I set a breakpoint in a program, hit my keybind (F5) to start debugging.
nvim-dap-ui appears.
At this moment, it shows in nvim-dap-ui icons that I can 'restart', 'stop' or 'disconnect'. I also see the 'pause' symbol as I expect from vscode.
![image](https://private-user-images.githubusercontent.com/47725838/337410924-5fe005e3-3d33-496c-99df-9010bf8052dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDg2MTEsIm5iZiI6MTcxOTc0ODMxMSwicGF0aCI6Ii80NzcyNTgzOC8zMzc0MTA5MjQtNWZlMDA1ZTMtM2QzMy00OTZjLTk5ZGYtOTAxMGJmODA1MmRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDExNTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3ZjgwZTA4YjViYjljZDU0MjE0M2M2MGUxNGE2Yzg4NDhiYjM4OGQxNzhjZmQ1M2ZjYTRjNGFhNzFlNDdkZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FmGLEZbnLvJQQiMh7-9oxVHPaQONj97_w_PIil7UBbc)
I now make a request, so I 'start the script'. The breakpoint triggers! I see local variables, etc...
![image](https://private-user-images.githubusercontent.com/47725838/337411309-62b9f856-5230-49a5-b67b-2c661893706a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDg2MTEsIm5iZiI6MTcxOTc0ODMxMSwicGF0aCI6Ii80NzcyNTgzOC8zMzc0MTEzMDktNjJiOWY4NTYtNTIzMC00OWE1LWI2N2ItMmM2NjE4OTM3MDZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDExNTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3ODZlMWY0MTdlZGYzNjRjNzBkM2M2ZDdlZGQzYjRmNDk4ZDUxMjE0ZjBlOTY1OWQ0NzU4NDFmNTg4YzgwMWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UL89aU0BVjGK2y5SwurAR6POegCRxEKDX4rN0eHe7DI)
The 'B' for the breakpoint changes to an arrow, to indicate that is where the run cursor is I suppose.
The status icons change to indicate I can now continue running the pogram, and al the step-over, step-into, etc... options. So far, so great!
![image](https://private-user-images.githubusercontent.com/47725838/337411456-144df34c-0e4c-47da-9e4d-4156947024f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDg2MTEsIm5iZiI6MTcxOTc0ODMxMSwicGF0aCI6Ii80NzcyNTgzOC8zMzc0MTE0NTYtMTQ0ZGYzNGMtMGU0Yy00N2RhLTllNGQtNDE1Njk0NzAyNGY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDExNTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmZDlhMDZhOWE3MWYzM2NlZWExZDdkOTExZjg1MjgyNGIwNGYxNzY5YWEzYTYyMzQxZjBjMTQ1N2NkY2UyMjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RrDJbnObicwZGwqYRdXFyhM5UVcLomxrSiSVFBDB8rs)
But, if I hit f5 again (
![image](https://private-user-images.githubusercontent.com/47725838/337411674-54ab5949-2325-4a03-abb6-1642ca79f354.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDg2MTEsIm5iZiI6MTcxOTc0ODMxMSwicGF0aCI6Ii80NzcyNTgzOC8zMzc0MTE2NzQtNTRhYjU5NDktMjMyNS00YTAzLWFiYjYtMTY0MmNhNzlmMzU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDExNTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcxYjk2MTU4NTViZjc0NDZlN2M4OWYzMzZiZDRlZmZmYWM4M2JjODUyYjg2ZTFmYzI0YjQ2NmE0OTM5NjYwZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hk9muO4FlCsAaVPUO76VqlNmkZu5MwZi-PYu1Afl6SA)
dap.continue
), the script continues and finishes. The breakpoint indicator changes back to a B:But the status icons don't change, as if it still thinks the script is running and didn't finish:
![image](https://private-user-images.githubusercontent.com/47725838/337411801-b334f09c-aca7-4833-b144-6ad0bc32fd04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDg2MTEsIm5iZiI6MTcxOTc0ODMxMSwicGF0aCI6Ii80NzcyNTgzOC8zMzc0MTE4MDEtYjMzNGYwOWMtYWNhNy00ODMzLWIxNDQtNmFkMGJjMzJmZDA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDExNTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwZjdlMDAzZGJiMTJmMzc3M2RkOGJmZjYxZDNiOGRhNjM5OWRlMDE4NTc3ZGRhOWFmMTM3YmE4NjExZDUwOWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.M4s8EO45eaf7CEVo1rUxUMyElt5dJqiw2FRBIgjzE-w)
So, my first instinct is to think the script is still running and held up somewhere, while it's actually finished.
Expected Result
I expect the status icons to change back to the state before the script started. Also, how it happens in vscode with the same debug adapter, that's where my expectations come from :).
Now, I have no clue if this is a problem with nvim-dap-ui, or in the real status in nvim-dap. But I also don't really have a clue how to figure that out or debug it further.
Actual Result
I've cleaned out dap.log, set the log level to debug, and started a new test:
start Neovim, use telescope to open file. Set breakpoint, start debugging. (start script, breakpoint hits). Continue debugging / execution (script finishes), nothing changes on screen except the breakpoint indicator. At that point, I've exited with a
:qa
, and returned the dap.log as is:dap.log.gz
If it seems to be something in nvim-dap-ui, then I'm sorry, and I'll take it there. But I was hoping the log file could shine some light on what happens and if it's expected or not.
The text was updated successfully, but these errors were encountered: