The different output between run application under debugger (F5) and without debugger (Ctrl + F5) in visual studio

The different output between run application under debugger (F5) and without debugger (Ctrl + F5) in visual studio

Hi all,

I have a problem with my source code.

I used IPP function to calculate matrix but the output value is different when I run application under debugger (F5) and without debugger (Ctrl + F5) in visual studio.

Do you help me explain clearly about it ?

Thanks,

Tam Nguyen

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Tam,

could you share the reproducible of your issue? The difference between <F5> and <Ctrl F5> is that under debugger all allocated memory is set to some "debug" value, while without debugger it contains just a garbage. Therefore the first preliminary diagnose is that there is bug with memory boundaries - either in your application or in IPP function - somebody processes uninitialized data/memory.

regards, Igor.

Leave a Comment

Please sign in to add a comment. Not a member? Join today