| Summary: | [remote] Bring RemoteShell console to the front when user selects process/thread/stack in debug view | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> |
| Component: | cdt-debug-dsf-gdb | Assignee: | Project Inbox <cdt-debug-dsf-gdb-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | anna.dushistova, cdtdoug, pawel.1.piech |
| Version: | 8.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Marc Khouzam
Right now it switches to the remote shell console for the output, and in the beginning before gdb is launched. Do you think this is insufficient? (In reply to comment #1) > Right now it switches to the remote shell console for the output, and in the > beginning before gdb is launched. Do you think this is insufficient? Notice that if you select 'gdb' in the debug view, the 'gdb console' automatically comes to the front, when you select 'Remote Shell', its console comes to the front. But when you select the launch node, it is the gdb console that comes to the front; and if you select a process or thread or stack frame, the console does not change (even if it is the gdb console showing). To see this, select the gdb console, then select a stack frame. The console showing remains the one for gdb. To be consistent with the other launches, we would need to show the Remote Shell console when pressing on the Launch or the process/thread/stack nodes. The code to change is in DSF-GDB: ConsolePageParticipant.getCurrentProcess(). When coding this I made the assumption that the only process of the launch was the gdb process. This is wrong for the automated remote launch. |