-
-
Notifications
You must be signed in to change notification settings - Fork 35
Support gfortran debugger with debug adapter #89
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
Comments
This is actually very easy, as shown by the extension "Fortran Breakpoint Support" by ekibun in this Repository . No coding is actually needed, simply modify the package.json as following is enough.
Then, automatically this extension will support debugging of fortran using gdb and the cppdbg type from vscode cpp extension. Please check ekibun's extension for more details. I have confirmed that this is working in my local machine, hope to see this feature official in this extension soon. @krvajal @pedro-ricardo Thank you very much! |
Yes correct. Does not make sense to install an extra extension. |
I added this in PR #150 because having to manually edit the package.json every every time you install/update the extension it too fiddly in my opinion. |
Thank you very much for the modification @gnikit, however breakpoints still don't work for me in version 2.2.0. In your PR you do the following in the "contributes" in package.json:
To make it work I had to do what @starship863 says:
|
Hi @juanfcocontreras the reason for using I did a fresh install of the Thanks |
Thanks for your quick answer @gnikit, I was using Thank so much and sorry for the confusion! |
I updated the original extension to the latest version today. So it should be working as well. Can you verify?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: juanfcocontreras <[email protected]>
Sent: Thursday, May 21, 2020 2:39:39 PM
To: krvajal/vscode-fortran-support <[email protected]>
Cc: Miguel Carvajal <[email protected]>; Mention <[email protected]>
Subject: Re: [krvajal/vscode-fortran-support] Support gfortran debugger with debug adapter (#89)
Thanks for your quick answer @gnikit<https://github.com/GNikit>, I was using Modern Fortran not Modern Fortran 2. Everything is working as you say.
Thank so much and sorry for the confusion!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#89 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABNAI6JMQKKKUBFMOMG3FZTRSUOIXANCNFSM4F3MFNUA>.
|
@krvajal Good to see you, [Done] |
@krvajal a quick diff between the package.json of the 2 extensions shows the following differences:
so currently the debugger functionality is not working in |
I actually updated the extension to version 2.2.0, and when I realized that breakpoints were not working, that's when I made the comment here. So I think that the new version of 'Modern Fortran', breakpoints don't work, as mention @gnikit. |
I see, taking a look now. |
No description provided.
The text was updated successfully, but these errors were encountered: