| Summary: | Error showing variable in debugger | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Peter Hull <peterhull90> |
| Component: | cdt-debug | Assignee: | cdt-debug-inbox <cdt-debug-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ken Ryall <ken.ryall> |
| Severity: | normal | ||
| Priority: | P3 | CC: | malaperle, nobody, pawel.1.piech |
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
This is a duplicate of bug 250037. It is fixed in 6.0.2. *** This bug has been marked as a duplicate of bug 250037 *** |
I created an ansi C 'hello world' project then modified the C file as follows int main(void) { int x = 99; printf("%d\n", x); return EXIT_SUCCESS; } When debugging, the cursor started at the x=99 line. I saw x int -1073743004 (i.e. variable not initialised, as expected) Then when stepping to the next line, an error message appeared instead of the expected value. Failed to execute MI command: -var-update 1 var1 Error message from debugger back end: Variable object not found