Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29375 Discussions

Turning of "chkstk.asm" during debug session

Jon_D
New Contributor II
1,895 Views
During debugging of my code, the debugger jumps into chkstk.asm before stepping into a subroutine that is called as

CALL foo(array1+array2)

Is there a way to turn of this behavior and avoid having to step through chkstk.asm other than setting breakpoints in the subroutine foo or using the "Run to cursor" feature?

Thanks,
Jon
0 Kudos
6 Replies
Jon_D
New Contributor II
1,895 Views
Sorry, I forgot to mention. I am using VS2005 with IVF 10.0.027.

Jon
0 Kudos
Steven_L_Intel1
Employee
1,895 Views
Nothing that comes to mind other than avoiding arguments that will require create an array temporary.
0 Kudos
Jeffrey_A_Intel
Employee
1,895 Views

I don't know of anyway to tellthe VS debugger that you're not interested stepping intochkstk.asm. (That routine is called when the arguments to the subroutine you are interested in are being setup up, so when you stop at the line with the CALL, it's the next routine called.)

Other than what you mention, if you do get into chkstk.asm, SHIFT+F11 should return you to the calling program and another F11 should get you into the routine you're interested in.

0 Kudos
DavidWhite
Valued Contributor II
1,895 Views

In the Property Pages for the Solution (not Project), Under Common Properties / Debug Source Files, I have listed all the .asm files I don't want debugged.

I haven't got this set for all my solutions I am working with, so I'm not sure how successful this is, as I still step into the .asm files occasionally. VERY ANOYING! We really want a fix. I first reported this about two years ago, I think.

David

0 Kudos
johnnyontheweb
Beginner
1,895 Views
I agree. Fix it please. Giovanni
0 Kudos
IanH
Honored Contributor III
1,895 Views
Add _chkstk to the registry key relevant to your version of Visual Studio as described at http://blogs.msdn.com/b/andypennell/archive/2004/02/06/69004.aspx (for vs2010 its HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\NativeDE\StepOver).
0 Kudos
Reply