Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AndrewC
New Contributor I
54 Views

Continuing problems with debugging information emitted by ICC 18 on Windows

There have been many ongoing issues with debugging information emitted by ICC on Windows - typically the issue is that no data is visible for variables or 'this' when you stop in the Visual Studio 2017 debugger - I am compiling with optimization off for debugging, of course and with /Zi

The latest 2018  Update 1 still has problems. For example, I am stepping though some C++ code right now and the debugger cannot see any variables belonging to "this", yet can see passed in parameters. Its very frustrating to have to revert to print statements to do debugging!

I do not have the Edit and Continue option on. Linker option is /DEBUG

0 Kudos
2 Replies
Viet_H_Intel
Moderator
54 Views

Hello,

Can you provide us a test case to investigate?

Regards,

Viet

AndrewC
New Contributor I
54 Views

Hi Viet,

It only shows up in some complex code with nested classes. A reproducer could not be created. Typically the "this" pointer becomes opaque with no visible data....

However.....good news!

Setting the linker option (VS 2017)

Generate Debug Information optimized for sharing and publishing (/DEBUG:FULL)

seems to resolve the issue.

Andrew

Reply