Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-12Introduce Core Build launches and Launch Bar integration.Doug Schaefer4-3/+51
Unify launching for projects that use the new Core Build system. Starts with CMake projects. We'll do Qt projects next. Change-Id: I14af8e99decd54cc6548095b3ad3e054c550aea2
2016-09-07Bug 303808: Add a terminate button to the debugger console viewAlvaro Sanchez-Leon3-1/+4
Change-Id: I67b37be1991c564dca961d3d2f85b9ba0da098c5
2016-09-07Bug 303808: Moving old gdb console to Debugger Console viewMarc Khouzam2-3/+71
Making this change reduces richness of such a console with respect to menus, toolbar, etc. However, I think the consistency is more important. Besides, this old gdb console is so poor, I don't expect it was used much. Change-Id: I28870192dd51c673f35d6147d5196bc771ebfa55
2016-09-07Bug 303808: Add dedicated debugger console viewMarc Khouzam18-2/+934
Splitting out the GDB console into its own Debugger Console view. The goal of this patch is to allow the user to easily keep the full GDB console in focus, without having to pin it, as the pin requirement was not very user-friendly. Furthermore, the user can also use the GDB console while looking at the output of the program being debugged, which couldn't not be done without a dedicated gdb console view. This patch also resolves two issues we had with re-using the platform console view, which were: - pin didn't work - clone didn't work With this new Debugger console view, there is no pin and no clone. Change-Id: Ia19132704a2f6618f35ffe47ebb4b8f0028dc9ab
2016-08-17Update version to 9.1.0Marc Khouzam1-1/+1
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-07-06Fix generics warnings o.e.cdt.debug.ui.Alexander Kurtakov26-190/+114
Namely: * Adapters * ListenerLists * Iterators * Collections Change-Id: I71212da7f9ab414fb392a8388afcce762f3f4702 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-06-30Remove old .cvsignore filesMarc Khouzam1-1/+0
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0
2016-06-22Move the rest of the CDT plugins to java 8Marc Khouzam3-5/+5
This change was generated using the script: releng/scripts/ChangeJavaVersion.sh Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-04-27Bug 487998: [breakpoints] Editing code while debug is activeStefan Sprenger1-3/+6
Change-Id: I68361b490a1ba84f0530db37a2da7558c1b762c7 Also-by: Jonah Graham <jonah@kichwacoders.com> Signed-off-by: Stefan Sprenger <stefan@sprenger.software> Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-25Bug 492210 - Remove ChangeLog files from projectAlex Blewitt2-2966/+0
ChangeLog is an archaic format for identifying what has changed in a project. Fortunately more powerful version control systems are capable of generating this information and displaying information such as this paragraph in order to determine what has changed in a project and when. Change-Id: Ia71a05fa51869c1adb193d94f71c28b3b36beb37 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-25Bug 492230 - Replace buffer.append(a+b) callsAlex Blewitt1-1/+1
When using a `StringBuilder` or `StringBuffer` to create a string message, using implicit string concatenation inside an `.append()` call will create a nested StringBuilder for the purposes of creating the arguments, which will subsequently be converted to a String and then passed to the outer StringBuilder. Skip the creation of the intermediate object and String by simply replacing such calls with `buffer.append(a).append(b)`. Where values are compile time String constants, leave as is so that the javac compiler can perform compile-time String concatenation. Ensure that NEWLINE isn't appended in such a way since it is not a compile time constant `System.getProperty("line.separator")` Change-Id: I4126aefb2272f06b08332e004d7ea76b6f02cdba Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-22Bug 492200 - Replace StringBuffer with StringBuilderAlex Blewitt12-34/+34
There are many opportunities for replacing `StringBuffer` with `StringBuilder` provided that the type isn't visible from the public API and is used only in internal methods. Replace these where appropriate. Change-Id: Ic2f50c5b6f3c3a4eae301bb3b40fb6faed235f79 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-19Bug 491984 - Replace .equals("") with .isEmpty()Alex Blewitt2-4/+4
In many cases a String's empty status is tested with `.equals("")`. However, Java 1.6 added `.isEmpty()` which can be more efficient since it compares the internal length parameter only for testing. Replace code using the `.isEmpty()` variant instead. Some tests for `"".equals(expr)` can be replaced with `expr.isEmpty()` where it is already known that the `expr` is not null; however, these have to be reviewed on a case-by-case basis. Change-Id: I3c6af4d8b7638e757435914ac76cb3a67899a5fd Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-16Bug 491825 - Remove primitive wrapper creationAlex Blewitt3-8/+8
Using `new Integer` and other wrapper types such as `new Character` results in potential extra heap utilisation as the values are not cached. The built-in `Integer.valueOf` will perform caching on numbers in the range -128..127 (at least) using a flyweight pattern. In addition, parsing `int` values can be done with `Integer.parseInt` which avoids object construction. Adjust tests such as `"true".equals(expr)` to `Boolean.parseBoolean(expr)`. Change-Id: I0408a5c69afc4ca6ede71acaf6cc4abd67538006 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-15Bug 491825 - Remove uses of new Boolean and friendsSergey Prigogin1-2/+2
Change-Id: Ie358c8385c278472f3b86851f6fc219007bb9b5c
2016-04-13Bug 472765: Delete dead classesJonah Graham2-631/+0
MappingSourceContainerBrowser has long since replaced with NewMappingSourceContainerBrowser. PathMappingDialog has long since replaced with MappingSourceContainerDialog. Change-Id: I67bd6640d5e75608c9b3d616285914987ff38f98 Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-08Bug 472765: Better wording on labelJonah Graham1-1/+1
Change-Id: Idd391767ac152410f9b01fbe47febcbeae3f2d00 Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-29Bug 488661: Simplification of reverse debugging codeMarc Khouzam1-27/+27
Most changes are cosmetics (name of local variables, javadoc, etc). The note-worthy ones are: 1- Change terminology in IChangeReverseMethodHandler to be a little clearer. This causes changes in multiple files, but it was all automated. 2- Remove ReverseDebugMethod.INVALID which was used as an error code and not a ReverseDebugMethod value. 3- In GdbReverseToggleCommand, provide a different error message if there is a failure to set ProcessTrace vs BranchTrace and tell user what to do. 4- Reworked GdbReverseToggleCommand#getReverseDebugMethod in attempt to make the code easier to understand. No actual change in functionality. Change-Id: Ibdc14faff1220e6a20319644b49e641c2101e762
2016-03-23Bug 488661 - Moving the last trace method to GdbReverseToggleCommandraddepal1-13/+7
This patch solves Bug 488661 by moving last trace method to GdbReverseToggleCommand. Since it is instantiated on a per session basis. Change-Id: Idafa196c7af36373ca08d5fc7de63024fe824c2b Signed-off-by: raddepal <ravitheja.addepally@intel.com>
2016-03-19Bug 472765: use Strings for backend path in Map EntriesJonah Graham3-25/+24
Preserve the user supplied backend path as a string so that it matches what GDB (backend) later reports as a file name to resolve. Condensed history: Traditionally in source mapping container, the backend path was stored as an IPath and that was used to compare against the debug information being returned by GDB. This worked well when the platform compiled for matched the platform run on, but when there was Windows/Linux together that did not work. So as part of Bug 393791 a workaround was done to try and use hand crafted MapEntrySourceContainer.createPath() instead of Path constructor to preserve some of the differences. This solution had its limitations too as UNC paths still could not be represented, See open Bug 386675. Change-Id: I4c8f62114a2c6019dc9d07ce446ac424be8b230c Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-17Bug 472765: Use gdb's "set substitute-path from to"Jonah Graham3-3/+23
Add support for gdb's "set substitute-path from to" by adding a new service called GDBSourceLookup that uses GDB to perform the path mapping. The new GDBSourceLookup service uses the new GdbSourceLookupDirector to get the set of paths that need mapping using GDB's "set substitute-path" and the director resolves compilation path differently so as to leave the GDB backend to handle the local path to compile path resolution. The MappingSourceContainer has been enhanced to allow a per mapping container override of the new behaviour. This is a fallback as the default behaviour when using GDB is to use "set substitute-path". The MappingSourceContainerDialog exposes the new option in MappingSourceContainer as a checkbox at the bottom of the path mapping dialog in a backend agnostic way. The new code is tested in methods called "sourceSubstitute*" and mirror the same tests for the now non-backend handled version which are "sourceMapping*". Note that doMappingAndLaunch/doSubstituteAndLaunch have been updated to explicitly check or uncheck the setIsMappingWithBackendEnabled setting Change-Id: I122d7c597cd461d8e38c4f82522ccfdf9e51a5ba Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-16Bug 489455 - Add new breakpoint action to run arbitrary debugger commandAlena Laskavaia7-9/+247
This is generic support for debugger commands though mi console bridge, should be not gdb specific (have a simple gdb implementation though) We add new breakpoint action called "Debugger Command" Interface allows to enter arbitrary string(s) This is interpreted by debugger as it see fit For gdb implementation these are cli commands Change-Id: I20ca0b8b094c724e1cf8b0691f4f6cab84a3737d
2016-03-14Fixed warnings: do not call MessageFormat#format(...) with String[].Jesper Eskilson4-8/+12
Change-Id: I3da681e323cfeb0c1c07a669183e6d1d18ca6ff6 Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2016-03-09Bug 484900: Remove Majority of CDI classesJonah Graham88-8773/+18
This is the first change to remove CDI from CDT. The CDI model implementation is removed along with everything that directly depends upon the implementation. This commit does not include refactoring or moving classes. The few insertions are the minimum necessary. Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-04Bug 478740: Simplify user-facing terminologyMarc Khouzam1-9/+4
I got some user feedback about some terminology they didn't quite understand and this patch tries to address the issues by: - Simplifying the name of the reverse debugging options. - Simplifying the preference page. The patch aslo removes un-used strings in plugin.properties. Change-Id: I1e4487eeda23f81d391ef11ddbe7dd6feba401ec
2016-03-03Bug 487121 - Remove "connect" button from the Debug View toolbarMarc Khouzam1-11/+1
Change-Id: I99e096e759eaf7d56b4d64a75bbed6d1833b714d
2016-02-29Bug 478740: Cleanup reverse toggle image handlingMarc Khouzam1-17/+12
Change-Id: I5b7eae467179b4cd34d9633bc217a48cf729fd87
2016-02-26Bug 478740: Attempt to make reverse icons more informativeMarc Khouzam9-4/+4
Change-Id: Ic855694867be3f66eeb627695ec45ba7a333e8f8
2016-02-25Bug 478740: Add Switch off tracing optionraddepal3-62/+76
This patch adds the "Switch Off Tracing" option to the select reverse debugging method pull down menu. Change-Id: Ib184c1f4c1d1db781bea4468bc8c939bd27db27d Signed-off-by: raddepal <ravitheja.addepally@intel.com>
2016-02-23Bug 478740: Remove Reverse Debug dialog preference Marc Khouzam5-28/+6
Change-Id: I2a7f668ebc50bac6047395e0ca0e4eb7668cc863
2016-02-23Bug 478740: Missing externalized stringsMarc Khouzam3-7/+50
Change-Id: Ia343d2c055e167fe093586aca32a209b4a8a1c11
2016-02-23CosmeticsMarc Khouzam1-103/+92
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-22CosmeticsMarc Khouzam1-4/+1
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-19Bug 478740: Changes for supporting Hardware Reverse Debuggingraddepal9-62/+314
The original toggle button for reverse debugging has been modified to a pulldown menu for selecting between hardware and software methods along with all necessary support. Change-Id: I2e4d97c46950253986d427cb87cda66b820744c9 Signed-off-by: raddepal <ravitheja.addepally@intel.com> Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2016-02-17Incremented version of org.eclipse.cdt.core to 6.0.Sergey Prigogin1-1/+1
Change-Id: I059e7eba9eff7f24c84e08a1cbf658381aaaf19d
2016-01-18Incremented CDT features version to 9.0.0Marc Khouzam1-1/+1
This includes bumping the standalone debugger to 9.0.0 Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-04Fix copyright of all CDT plugins using the copyright tool from platform.Marc Khouzam235-326/+326
This commit does not add missing copyrights, just updates the date on the existing ones. Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2015-12-28Remore unused New New WizardMarc-Andre Laperle1-1/+1
This code is not used and hasn't been touched since 2012. Now it can be referred as the "old new new wizard". Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-14Cleanups.Alexander Kurtakov2-2/+0
Remove useless: * casts. * suppress warnings unchecked. * @see comments Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-09-22Bug 474946 - Initialization Code must be run asynchronouslyMartin Schreiber1-12/+18
Do the initialization asynchronously. If the service was initialized during this class gets instantiated, it was re-instantiated and so a StackOverflowException was produced. Now the initialization is done asynchronously. Bug: 474946 Change-Id: I15356c5f6e450d825d4f8615e2fba177409f5894 Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
2015-09-11Bug 477112 - Fix compilation error caused by JFace TableTreeViewer removalMarc-Andre Laperle1-17/+2
Change-Id: I8b6c082668dc6a197b8a771ae261fe76a1e2a18d Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-08-17Bug 474179: Require file name to be absolute and existJonah Graham2-1/+18
When a file is not found, the debugger will be used to resolve it to an absolute file. One of the side effects at the moment is that no breakpoint marker is created in the editor for the file. To mitigate the situation and reduce user confusion, until installed breakpoints can be displayed in the UI don't allow users to create breakpoints on non-absolute file names. Change-Id: Ib69bfdfcde0c83fe6e20cacb0850d8ee907583a1 Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-08-03Bug 474054 - Null Pointer Exception in "Properties for C/C++ Watchpoint"Alvaro Sanchez-Leon1-2/+9
when deselecting the "Range" check box Change-Id: I3ba0cac2bd3e8f9e52378d9d5cc0c25981369a6a
2015-07-31Typo in copyright headerMarc Khouzam1-2/+2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-07-27Follow-up on bug 439631 - escape also the path for function dynamic printfAnton Leherbauer1-3/+3
2015-07-16Bug 466516 - Editing a breakpoint action is not immediately reflected in the ↵Anton Leherbauer3-24/+39
list of attached actions Change-Id: Ifa5b5d88d1174f350555b28f15d375073364a56a Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-07-14Validate breakpoint string fields also on mouse clicksAnton Leherbauer1-0/+17
2015-07-14Fix capitalization of Run to Line, Move to Line, etc.Anton Leherbauer3-7/+7
2015-06-12Bug 468192 - Prevent creating a duplicate bp when modifying propertiesMarc Khouzam2-14/+93
- Have CBreakpointPropertyPage check if any CBreakpoint already exists at the specified location - Have GDBDynamicPrintfPropertyPage check if any CBreakpoint already exists at the specified location - Have GDBTracepointPropertyPage check if any CBreakpoint already exists at the specified location Change-Id: I67096343a7173a98a144e3577a6b8a05377759e3 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10Incremented CDT feature version to 8.8.0Marc Khouzam1-1/+1
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>

Back to the top