- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a simple piece of code, and the debugging mode is set to Full messeage.
when debugging, I first hit the breakpoint as shown in the 5th image , after stepping into the code, the error from the 6th error appears,
"""
( Locating source for 'C:\Users\baihaodong\source\repos\test_2\test_2\test_2.f90'. (No checksum.)
Found partial match #1: C:\Users\baihaodong\source\repos\test_2\test_2\test_2.f90 (No checksum.)
The debugger will use the source at location 1.
Opening file 'C:\Users\baihaodong\source\repos\test_2\test_2\test_2.f90' in the source file editor failed. Operation not supported. Unknown error: 0x80070057.)
"""
after this point, I can step into the code, then I go to 7th image.
This error appears every time I step into a subroutine which located in a different file.
Previously I used ifort with almost the same configuration and it works well, could anyone provide a solution to this issue?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have similar issue with my project, Any solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, I have no idea what's going on, I used to think it was related to Japanese Kanji Character, but even use only English with UTF-8 encoding, the problem still appears occasionally. It seems to be related to the debug information, because after rebuilding the project, the issue occurs in some files-even in cases where it didn't appear after some modifications.
However, since this problem doesn't affect the actual debugging process, I just close this window and continue debugging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error Opening file ... in the source file editor failed. Operation not supported. Unknown error: 0x80070057 usually happens when the debugger finds the source file but can’t load it into the editor. This often occurs when stepping into subroutines in a different file if debug symbols or editor integration aren’t fully aligned.
Try these steps:
Rebuild all files with full debug info: Use ifort -g -traceback (or your IDE equivalent) for all modules and subroutines to ensure the debugger can map symbols to source.
Verify file paths: Long paths, special characters, or spaces in folder names can cause editor failures. Try shortening paths if possible.
Check editor integration: Make sure the debugger is set to a compatible editor for Fortran files (Visual Studio, VS Code with proper extensions, etc.).
Clear old build artifacts: Delete .obj, .mod, .pdb files, then rebuild to remove stale debug info.
Step into using fully qualified module paths: Ensure subroutines in separate files are compiled and linked consistently.
If these don’t help, it’s often resolved by a full clean rebuild of all modules in one workspace with consistent debug flags.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2025.2 - 2025.3 IFX does this for me often and randomly as well. You can hit F11 again and it usually still steps into the routine. I have not found a version of IFX that doesn't do this, other than reverting back to IFORT.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page