| Summary: | Debug apparently out of sync | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | psdasilva | ||||||
| Component: | cdt-debug | Assignee: | cdt-debug-inbox <cdt-debug-inbox> | ||||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | Ken Ryall <ken.ryall> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, jamesblackburn+eclipse, pawel.1.piech | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
psdasilva
Created attachment 182108 [details]
Snapshot before stepping.
Created attachment 182109 [details]
After stepping ("if" condition failled)
(In reply to comment #0) > In the attached fragment of code condition at line 846. Should be: In the attached fragment of code, condition at line 846 fails. You're debugging optimised code. The compiler's optimiser reorders instructions so that there's no longer a one-to-one correspondence with the C. Build -O0 if you want an easier debugging experience. |