Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by 010hnoor on Thu May 14 02:59:39 MST 2015
I am using the free edition (v7.5.0 build254) and my baby steps at learning this stuff is working well when I do a debug build. However, when I change to release mode the behavior of my code change (verified with scope) and in the disassembler I can see lines of code missing (see attached). For example the following two lines of code are only compiled once, but used several times:

i = 2500;
while(i) i--;

For example, in the attached screenshot lines 86, 92, and 99 (my "delays") are not in the disassembly. They are present in a debug build. Any help would be greatly appreciated.