??? 06/02/07 08:39 Read: times |
#140189 - Correct - but maybe mis-stated Responding to: ???'s previous message |
I said:
Optimisation doesn't affect the ability ... to set breakpoints. Erik Malund said:
It does,
Optimization may combine the 'exit sequence' of two or more functions (been there seen that) and thus, if you want to breakpoint on the exit from one of these functions the breakpoint will break on the exit from ANY of the functions renedering the breakpoint useless. Yes - that was my point! The complete quote is (with emphasis added): Andy Neil said:
Optimisation doesn't affect the ability to single-step, nor to set breakpoints.
The problems lie in knowing where exactly to set the breakpoint - because the breakpoint has to be set on a real physical address, and it's hard to know which real physical address(es) correspond to a source line... |