[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[Cdt-launch-inbox] [Bug 206928] New: Launch config settings are not displayed in C/ C++ Postmortem Debugger -> Debugger Tab
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206928
Product/Component: CDT / cdt-launch
Summary: Launch config settings are not displayed in C/C++
Postmortem Debugger -> Debugger Tab
Product: CDT
Version: 4.0.1
Platform: All
OS/Version: Unix All
Status: NEW
Severity: major
Priority: P3
Component: cdt-launch
AssignedTo: cdt-launch-inbox@xxxxxxxxxxx
ReportedBy: piotr.kundu@xxxxxxxxxxxx
Build ID: M20070921-1145
Steps To Reproduce:
1. Open the debug dialog (Run -> Open Debug Dialog)
2. Create a new C/C++ Postmortem Debugger launch configuration.
3. Choose a project and application (optional)
4. Open the Debugger tab.
5. Change the string (e.g. gdb) in GDB Debugger field to "test".
6. Press Apply and go back to the Main tab.
7. No open the Debugger tab again, and your settings reset to default values.
Note: The Apply button is enabled, but if you change the GDB Debugger field to
"test" (or whatever you typed in step 5), the Apply button will be disabled.
More information:
The settings are properly stored to the *.launch file, and the issue is merely
the fact that they are not displayed in the debugger tab.
The solution is to remove the activated() method in CoreFileDebuggerTab
(org.eclipse.cdt.launch.ui) which will force CDT to use the
activated() in AbstractCDebuggerTab. This is the way it's done in CDebuggerTab
(org.eclipse.cdt.launch.ui).
You can also see that the AbstractCDebuggerPage object (e.g. GDBDebuggerPage)
is created more times when creating a launch config for post-mortem than for
Local Application. (Set a breakpoint at createControl())
To accommodate a swift apply of the fix, we have tested this extensively on
Solaris 9, Solaris 10, Suse Linux, Redhat and Windows.
Note: This issue is working on Windows, we wanted to make sure that the fix
does not break anything.
PS. The above solution is provided by Stefan Bylund, Enea Software AB, Sweden.
--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.