Community
Participate
Working Groups
Build ID: 20090619-0625 Steps To Reproduce: 1. Set up a debug configuration of type C/C++ Application, with launcher set to "Standard Create Process Launcher"... 2. Enter Window Preferences->C/C++->Editor->Hovers. Make sure Debugger is marked (ticked), that it's modifier key field is empty, and that there are no other active hovers without a modifier key (just to rule out issues related to modifiers.) 3. Start the debug configuration. 4. When the debugger stops in main, move the mouse pointer over "int argc" in the main function heading (presuming it has the standard declaration of int main(int argc, char* argv[]) 5. Stop the debugger. 6. Open the configuration page for the debug configuration in question, then change launcher type to "GDB (DSF) Create Process Launcher". 7. Repeat steps 3-4 Expected results: A popup containing a text like "argc = 1" appears in step 4. Actual results: The popup appears in the original step 4, but when repeating in step 7, nothing happens.
*** This bug has been marked as a duplicate of bug 255026 ***
Please reopen this bug. Bug #255026 did not solve the problem mentioned in the original post: "There is no hover if no modifier key is defined". The current hover only works if you define a modifier key.
I think this is actually a duplicate of bug 294351. I.e. in CDT 6.0 the DSF debugger had no hover support at all.
(In reply to comment #3) > I think this is actually a duplicate of bug 294351. > I.e. in CDT 6.0 the DSF debugger had no hover support at all. I guess my comment was unclear. I have tested the HEAD version which includes both patches for bug #294351 and #255026. The hover works indeed if I define a modifier key, e.g. ALT. So when I press ALT and hover with the mouse over a variable the debug hover appears. But I prefer to work w/o modifier key and want to just hover the mouse over the variable. This works with standard (non-DSF) debugger and the Java debugger but not with the DSF debugger (as implemented in the current HEAD version). Should I open a new bug report or add my comments to bug #294351?
(In reply to comment #4) > (In reply to comment #3) > > I think this is actually a duplicate of bug 294351. > > I.e. in CDT 6.0 the DSF debugger had no hover support at all. > I guess my comment was unclear. I have tested the HEAD version which includes > both patches for bug #294351 and #255026. The hover works indeed if I define a > modifier key, e.g. ALT. So when I press ALT and hover with the mouse over a > variable the debug hover appears. But I prefer to work w/o modifier key and > want to just hover the mouse over the variable. This works with standard > (non-DSF) debugger and the Java debugger but not with the DSF debugger (as > implemented in the current HEAD version). > Should I open a new bug report or add my comments to bug #294351? I don't know how to define a modifier key, but for me, I just need to hover without pressing anything and I get the hover to show with DSF-GDB.
(In reply to comment #4) > I guess my comment was unclear. I have tested the HEAD version which includes > both patches for bug #294351 and #255026. It works for Marc and me. The issue sounds a little like bug 294812. Maybe your workspace does not contain this fix?
(In reply to comment #5) > I don't know how to define a modifier key, but for me, I just need to hover > without pressing anything and I get the hover to show with DSF-GDB. OK, it is working now. In Preferences->C/C++->Editor->Hovers Debugger was selected instead of GDB Debugger. However, is this behavior intended to have 3 options: "GDB Debugger", "Debugger" and "Debugger" (different descriptions!)?
(In reply to comment #7) > (In reply to comment #5) > > I don't know how to define a modifier key, but for me, I just need to hover > > without pressing anything and I get the hover to show with DSF-GDB. > OK, it is working now. In Preferences->C/C++->Editor->Hovers Debugger was > selected instead of GDB Debugger. > However, is this behavior intended to have 3 options: "GDB Debugger", > "Debugger" and "Debugger" (different descriptions!)? I was not aware of that preference! Cool. I suggest you use the Combine Hover. I'm not sure why there are three hovers for Debugging... We should look into that.
(In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #5) > > > I don't know how to define a modifier key, but for me, I just need to hover > > > without pressing anything and I get the hover to show with DSF-GDB. > > OK, it is working now. In Preferences->C/C++->Editor->Hovers Debugger was > > selected instead of GDB Debugger. > > However, is this behavior intended to have 3 options: "GDB Debugger", > > "Debugger" and "Debugger" (different descriptions!)? > > I was not aware of that preference! Cool. > I suggest you use the Combine Hover. > I'm not sure why there are three hovers for Debugging... We should look into > that. There's actually a fourth called "Debug Text Hover". What's happening is that each of the following four debugger plugins is contributing an "org.eclipse.cdt.ui.textHovers" extension. EDC DSF CDI-GDB DSF-GDB They all rely on the 'org.eclipse.cdt.debug.core' plugin, so perhaps we could consolidate them. I'll take a quick look but can't promise anything.
(In reply to comment #9) > There's actually a fourth called "Debug Text Hover". What's happening is that > each of the following four debugger plugins is contributing an > "org.eclipse.cdt.ui.textHovers" extension. > > EDC > DSF > CDI-GDB > DSF-GDB > > They all rely on the 'org.eclipse.cdt.debug.core' plugin, so perhaps we could > consolidate them. I'll take a quick look but can't promise anything. I already filled a bug about this. See #309001