- launch bar launch config was not handling add of another launch config
correctly - it was just resetting itself to handle new LC. This cannot
really be done because this dialog is bound to launch group and new lc
may not be part of it and may not even support the mode current dialog
is in. Also that make missyncronization between LC stored in parent and
LC stored in getTabViewer which can cause other nasty problems.
So let parent handle adding (which only handles locatio change) and for
duplication we just open a new dialog and close current one.
Change-Id: I2dde5c3af26d901d1f4b18cad84a83a9857a6ca9
Currently, CDT does not ask GDB for the value of the variables it
believes to be of complex types, such as structures. However, as
described in the bug, it assumes that a typedefed pointer is a complex
structure. Because of that, it displays a value of "{...}" for it
instead of the pointer value.
By asking GDB for the value of the variable even if it's of a complex
type, CDT will always display the right thing for the value. This will
cause a few more -var-evaluate-expression calls, but their number is
still limited to what is visible in the variables view. So the impact
should be negligible.
Screenshot of before/after:
http://i.imgur.com/Sx5ZPfO.png
It is still impossible to edit the value, but this would be addressed in
another patch.
Change-Id: I92e6ead6351677e098a56d4af5bdb85fc61df080
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Adds a terminal console which can be opened by selecting Open Console >
Terminal Console and selecting a remote connection which supports the
command shell service. If a console is already open for that remote
connection it will be shown and if one doesn't exist then a new one will
be created. Buttons for connecting, disconnecting, scroll lock, and
closing the console are also available.
Also adds a local command shell with PTY support. Also added some
syncronization around the connections in the connection type.
Moved the Open Terminal to console plug-in and renamed it Open
Command Shell.
Also fixed missing serial port feature from the remote repo.
Change-Id: I84282b04813471bb01385a328ebc144bdf0e6a28
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
This could happen if a project was selected before creating the launch
and the project was missing a project description. For example, if the
.cproject was missing.
Change-Id: I3ecea6c4ee3cd3939c07ade361b2180fd86e6949
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Turns out to be pretty easy, just check the config for each launch
and stop the ones that match the active config.
Change-Id: Ib74a31405382b2d1996b257f7e8ad1d85a23e6c6
The TestsRunner Run launch automatically inherits the Run launch from
CDT but specifies the tabs itself. Now that we modernized the CDT Run
launch and use CMainTab2, we should do the same for TestsRunner.
Also, remove the source tab for the TestsRunner Run launch; that tab is
only for debugging.
Change-Id: I4d412787f4e937ae776f01470f4c63746589ef75
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
The try/catch doesn't add anything. If getStackTrace throws, the test
will fail and will show the useful stack trace.
Change-Id: Icf453ff2ca6c10a32f264fece0f0db9af8049612
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>