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>
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>
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>
org.eclipse.cdt.launch.remote and org.eclipse.cdt.launch.remote-feature had
the same artifactId and groupId. This made Sonar fail and is probably an
oversight anyway.
Change-Id: I026e5a67ddd811db75c1b0cb59dcb734fce9f446
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This would make Tycho 0.23.0 fail. See bug 464649.
Change-Id: I4e4ce6fc2714b5179eeb7fdd16c9461517d67a47
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
A couple of lines in the CUIPlugin.start() method load preferences.
This can only be done from the UI thread since it eventually loads up
colors which can only be done on the UI thread. This change moves
those two lines to a UIJob.
Change-Id: I692a81d5a38f63c506dc73da93df6c2e9e4b6192
- Fix LlvmEnvironmentVariableSupplier.getDirIfLlvmFound method
which was not bothering to look for llvm-ar in the user's path
because it would only set its internal llvmPath variable if
directories ended in '/' or if a subdir was provided which is
not the case for it being called from LlvmToolChainSupported
- set the llvmPath to the candidatePath at the beginning so the
test will be performed
Change-Id: I4b93fb3e569c32cff580c57dbedbe730dbbe057e