Bug 68915 - Invalid values in the Variables view
Summary: Invalid values in the Variables view
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 2.1   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 15:22 EDT by Nobody - feel free to take it CLA
Modified: 2004-11-09 14:51 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody - feel free to take it CLA 2004-06-29 15:22:50 EDT
Create a project with the following code:

#include <stdlib.h>
#include <stdio.h>

int foo() {
	int x = 0;
	return x; // set a breakpoint here
}

int main(int argc, char *argv[]) {
	foo();
	printf("Welcome to the Momentics IDE\n");
	return EXIT_SUCCESS;
}

Set a breakpoint inside the function "foo", uncheck the "stop at main" option 
of the "Debugger" tab and launch a debug session.
When program stops at the breakpoint select the second stack frame in the Debug 
view.
The variables in the Variables view are shown as "<not responding>".
Comment 1 Darin Wright CLA 2004-06-30 10:26:18 EDT
Jared, can you try this out and see what is going on?
Comment 2 Doug Schaefer CLA 2004-06-30 10:46:29 EDT
Changing the priority since this is blocking our GA.
Comment 3 Darin Wright CLA 2004-06-30 10:49:33 EDT
*** Bug 68677 has been marked as a duplicate of this bug. ***
Comment 4 Darin Wright CLA 2004-06-30 10:51:57 EDT
(NOTE duplicate annotation was a user error)
Comment 5 Darin Wright CLA 2004-06-30 10:53:16 EDT
Can you explain the difference you see between RC3 and 3.0 (we made no changes 
in the debug platform between RC3 and 3.0 that should effect this).
Comment 6 Nobody - feel free to take it CLA 2004-06-30 10:56:46 EDT
Darin, this is my fault. The problem is a result of the wrong design in the CDT 
debugger. The have a temporary fix and I hope we will address it for the next 
release.
Comment 7 Nobody - feel free to take it CLA 2004-06-30 11:36:47 EDT
The temporary solution has been submitted to the 2.0 branch.
Changing the target milestone to "FUTURE".
Comment 8 David Daoust CLA 2004-08-18 08:58:11 EDT
Removing the P1 designation -- the target milestone is set to future....
Comment 9 Nobody - feel free to take it CLA 2004-11-09 14:51:15 EST
Fixed in RC1.