- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This is not a major problem for me as I am used to it happening but I thought it would be as well to register it.
Sometimes, although not that often, when one is stepping through the source code in the debugger, and the cursor is at the SUBROUTINE command, a press of F10, which usually steps into the subroutine, does not step into the subroutine but simply carries on execution of the program. It seems to happen consistently for the same subroutine but I can't spot any difference between such subroutines and other ones where F10 takes you into the subroutine.
Any suggestions?
Thanks,
ACAR.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting acar
No not a typo. Once the cursor is on the SUBROUTINE line, F10 should take you into the routine and usually does but not for a small number of my routines.
Angus.
Les
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ability to step through lines of source can be affected by the debugging and optimization options applied.
It would help if you showed an example of the behavior you describe, listing the compiler options in effect.
It would help if you showed an example of the behavior you describe, listing the compiler options in effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is a single project with many subroutines so the compiler options are the same for all routines. The options I have set are:
/nologo /debug:full /Qparallel /fpp /I"C:\Program Files\Intel\Compiler\11.1\054\mkl\include\ia32" /I"C:\Program Files\gino\v7.5\modules" /Qopenmp /module:"Debug/" /object:"Debug/" /Fd"Debug\vc90.pdb" /traceback /check:bounds /libs:static /threads /dbglibs /winapp /Qmkl:parallel /c
Thanks,
ACAR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any news on this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can attach a ZIP of a project that demonstrates this problem, we'll be glad to look into it. It's not a behavior I am familiar with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"..a press of F10, which usually steps into the subroutine.."
Isn't it F11, not F10, to step into a subroutine? (I guess that it was just a typo)
J_Clausen
Isn't it F11, not F10, to step into a subroutine? (I guess that it was just a typo)
J_Clausen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No not a typo. Once the cursor is on the SUBROUTINE line, F10 should take you into the routine and usually does but not for a small number of my routines.
Angus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting acar
No not a typo. Once the cursor is on the SUBROUTINE line, F10 should take you into the routine and usually does but not for a small number of my routines.
Angus.
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting that Les - I didn't think I could be the only one to have observed this!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve, my project is rather large and commercial so I won't offer to send it to you. I will, however, look out for it occurring in a smaller project which I can send to you. Really just wanted to flag it up as a potential issue (now also noted by Les). Thanks, Angus.
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