# Debugging

Depending on your operating system and architecture platform, several debuggers may be available to you.

You can use the debugger provided by your operating system:

- On Linux* and macOS, this debugger is gdb.
- On Windows*, the debugger is the Microsoft Visual Studio* debugger.

On Windows* systems, you can use your local (host) system to debug an application running on a remote system. For more information, see Using Remote Debugging.

Parent topic: Compilation

- Preparing Your Program for Debugging
- Using Breakpoints in the Debugger
- Debugging the Squares Example Program
- Viewing Fortran Data Types in the Microsoft Debugger
- Viewing the Call Stack in the Microsoft Debugger
- Locating Unaligned Data
- Debugging a Program that Encounters a Signal or Exception
- Debugging and Optimizations
- Debugging Mixed-Language Programs
- Debugging Multithreaded Programs
- Using Remote Debugging

## See Also

Using Remote Debugging