Probably - in the release mode the line of code does not exists in the exe - removed by the code optimizer... So you'll need to find a line that was not removed and put th ebreakpoint there

Yes, it could for example have inlined the function, and if the function is also static, there would be no function to set a breakpoint in. Study the assembler output of the generated code to determine what happened during the compile phase.

--
Mats

Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.