- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how do i turn on the line numbers for the visual fortran program so that i can see the error corresponding to the line numbers at the error output?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Stanley W K Shum
how do i turn on the line numbers for the visual fortran program so that i can see the error corresponding to the line numbers at the error output?
I presume you mean the editor in Visual Studio ?
From the menu : Tools -> Options -> Text Editor -> All Languages -> General
There is a tick box to turn on line numbers
I presume you know that if you double-click the error line in the outputit will open the source file with the cursor at that line ?
Les
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Stanley W K Shum
how do i turn on the line numbers for the visual fortran program so that i can see the error corresponding to the line numbers at the error output?
I presume you mean the editor in Visual Studio ?
From the menu : Tools -> Options -> Text Editor -> All Languages -> General
There is a tick box to turn on line numbers
I presume you know that if you double-click the error line in the outputit will open the source file with the cursor at that line ?
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I presume Stanley is refering to the line numbers in the source modules when getting an error message exception. I had the same question a few days ago, but by playing around with the VS/project settings I finally managed to get the line numbers in the error trace after an exception. I cannot remember which option I changed, so I would be grateful if an expert could tell me what I set right unconsciously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - rase
I presume Stanley is refering to the line numbers in the source modules when getting an error message exception. I had the same question a few days ago, but by playing around with the VS/project settings I finally managed to get the line numbers in the error trace after an exception. I cannot remember which option I changed, so I would be grateful if an expert could tell me what I set right unconsciously.
Ah, you mean run-time errors?
Could it be the Project->Properties->Fortran->RunTime->Generate Traceback setting?
Les
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page