Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Can not debug into a function

Deleted_U_Intel
Employee
330 Views

Hi,

When I debug a program with single step, I can not debug into
some functions. For example, when I press F11 to step into the function A, it enters into another function B, but in fact the instructions in B are not executed.

How should I solve this problem?

0 Kudos
2 Replies
JenniferJ
Moderator
330 Views
Which debugger do you use? Is it only happening when you compile the source with Intel Compiler? Did you try the tool-bar button?
I saw this once with the Fortran code. But you're using the C++, right?
Jennifer
0 Kudos
Intel_C_Intel
Employee
330 Views
Please verify that the function you're attempting to step into has been compiled with Debugging symbols (i.e /Zi on Windows and -g on Linux). This is essential for correct Debugger behavior.
System and language run-time libraries are often not compiled with Debugging symbols.
You may also want to check your optimization levels. Not all Debuggers fully support Debugging optimized code.
-- Gordon
0 Kudos
Reply