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

How to set a breakpoint in gdbgui? #446

Open
prusso630 opened this issue Nov 21, 2022 · 1 comment
Open

How to set a breakpoint in gdbgui? #446

prusso630 opened this issue Nov 21, 2022 · 1 comment

Comments

@prusso630
Copy link

I have a fortran file that I compiled it in this fashion:

gfortran -g -fbacktrace -ffpe-trap=zero,overflow,underflow youcode.f90 -o run.exe

So I do have a run.exe file coming out. I started gdbgui --args run.exe. I found a place to load the .f90 file and have the fortran text come up. I looked all over for a way or button to set a breakpoint and run the .f90 file which is a working hello style fortran that prints a line of text to ther terminal. How might I set a breakpoint and have gdbgui run to that line?

@ngzhian
Copy link

ngzhian commented Nov 21, 2022

With the file open, click on the left-hand column that lists the line number.
Or you can go to the command panel (bottom left panel by default i think), and use b as per normal.

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