Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant run or debug code - unable to open registry key #233

Open
xberesik opened this issue Nov 14, 2024 · 3 comments
Open

Cant run or debug code - unable to open registry key #233

xberesik opened this issue Nov 14, 2024 · 3 comments

Comments

@xberesik
Copy link

xberesik commented Nov 14, 2024

Hello there,
first of all thank you very much for amazing work you doing. I am really trying to make vscode to work with ABAP. I am already connected to my server and I can edit, change and activate code. However when I try to run/or debug any ABAP code there is an error:

image

Please can you help me or give me some ideas how can I solve this? Thanks!

@marcellourbani
Copy link
Owner

hi @xberesik I believe it's trying to access a registry key created when you debug in SAPGUI or eclipse (not sure which one).
Running it once in either of those should fix it. Vscode allows me to read the registry but not to write it, so I didn't find an easy way around it

@xberesik
Copy link
Author

xberesik commented Nov 22, 2024

Hello @marcellourbani, Thank you very much for your response. I ran the report in SAPGUI, and it executed successfully. I also tried debugging the report in SAPGUI, which worked without any issues. However, when I attempt to run same report or debug it in VS Code afterward, I still encounter the same error.

Do you have any additional suggestions or insights? Thank you in advance!

@marcellourbani
Copy link
Owner

Can't debug reports, only unit tests and API calls. Should work though, no idea why fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants