Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
AgeCommit message (Collapse)AuthorFilesLines
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham26-2343/+2343
There is also a new script to verify completeness of .gitattributes: releng/scripts/verify_gitattributes.sh Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-14[releng] Fix missing dependency in stand-alone debuggerMarc-Andre Laperle1-0/+1
Change-Id: I347d47ea4689aa154ddb090b9cc05e7dc132959e Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-14Bug 516046 - NPE in AbstractDebugTextHover when hovering over undefined macroMarc-Andre Laperle1-0/+3
Change-Id: If732a826801f025e929f711fa35a793545d0ed73 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms6-0/+6
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-23Bug 540367 - Increment version numbersWilliam Riley8-8/+8
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-10-09releng: Stop building 32-bit stand-alone debugger productsMarc-Andre Laperle2-20/+0
Since the Eclipse Platform 4.10 is dropping support for 32-bit, it doesn't make sense to still build these and it will ultimately fail once we start building against 4.10. Change-Id: Ia83a93b99092b7a3378ed95607411da5835118a6 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-09-18Bug 538994 - cdtdebug: argv parameters are wrapper by double-quotesJeff Johnston1-6/+13
- modify cdtdebug.sh to use arrays to gather up options and then to use "${options[@]}" in the final string so each option is properly quoted if necessary Change-Id: Id7fec3bb0a6804f2124f837e1171f386ae5801f8
2018-06-26Bug 536023: NoClassDefFoundError for javax/xml/bind/DatatypeConverterMarc-Andre Laperle1-0/+3
This package is marked for removal in Java 10 and in fact, is not found at run time. Instead, use the javax.xml.bind plugin from Orbit. javax.xml.stream is also needed by javax.xml.bind. Change-Id: Ida10746267c814a8a11f2db7181dcb9e8ceaad44 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-06-05[releng] Bump version to 9.6.0Jonah Graham11-11/+11
Change-Id: I1618eaeab14b421155af733a73e36f6e37ea0b85
2018-05-20Bug 534839: Add missing dependencies to standalone productJonah Graham1-0/+1
In particular, new version of ECF requires org.eclipse.equinox.concurrent Change-Id: I909565b868fce44dea54ac3df985708d523304b0
2018-05-17Bug 534839: Add missing dependencies to standalone productJonah Graham1-0/+3
In particular, new version of batik requires o.a.batik.constants, so we need to add that in. Change-Id: Ie221c0e48fd8e2c4692d2447bf142284e50931fb
2018-03-20Replace refreshScannerInfo with setActive methodJeff Johnston1-4/+3
- remove the refreshScannerInfo method from ICBuildConfiguration2 but add it as a protected method of CBuildConfiguration - edit MesonBuildConfiguration and CBuildConfiguratio appropriately - add new setActive method to CBuildConfiguration which calls refreshScannerInfo Change-Id: Iebae09507f24293007a299eea3069451e566a91b
2018-03-20Bug 532420 - Make Container Core Build indexing more efficientJeff Johnston1-1/+2
- add new ICBuildConfiguration2 to keep API checks happy - remove refreshScannerInfo method from ICBuildConfiguration and put it in ICBuildConfiguration2 - make CBuildConfiguration implement ICBuildConfiguration2 - update ContainerPropertyVolumesModel to use new Docker plug-ins using docker-client 8.9.2. - fix MesonBuildConfiguration to use a job for each compile line being processed, then wait until all jobs are done before causing an reindex to occur (this will maximize parallelism when building in Containers) - fix ContainerCommandLauncherFactory to save the project so we can exclude project directories when copying header files using the new Docker Tooling interfaces - fix CoreBuildLaunchBarTracker to use ICBuildConfiguration2 interface to make the call to refreshScannerInfo Change-Id: I2138f5111614e7821e46c22731397a01035eac0a
2018-03-09[releng] Update CDT in preparation for Photon M6Jonah Graham1-2/+1
The most significant change for CDT is the upgrade of com.spotify.docker.client which has knock on effects due to the API changes. Includes: - Updating target platform - removing Neon and Oxygen as potential target platforms in OOMPH setup - Updating CDT standalone debugger - Changes in API for docker changes Change-Id: I68d4f93de3a0e6141c7a37a34f9e8fdb2313fbd8
2018-03-06Bug 531985 - Support Container build with new Core BuildJeff Johnston1-1/+3
- add new ContainerTargetTypeProvider to create a new target for each usable Docker image from known connections - add new ContainerGCCToolChain class which supports gcc in a Container for projects with Container targets - add new ContainerGCCToolChainProvider which creates a ContainerGCCToolChain for each usable Docker image from known connections - add new CoreBuildContainerLaunchConfigProvider class - add new CoreBuildContainerLaunchDescriptorType class - add new ContainerTargetLabelProvider class to support adding a new Container target - add new NewContainerTargetWizard and NewContainerTargetWizardPage to add/edit a new Container target - add new IContainerLaunchTarget class - add new refreshScannerInfo method to ICBuildConfiguration interface to allow switching ScannerInfo when target is switched - implement default refreshScannerInfo method in CBuildConfiguration which currently does nothing - add new fetchContainerDirs method to CommandLauncherManager to fetch container directories for a project that is using Core Model and CBuildConfigurations - add new verifyIncludePaths method to ICommandLauncherFactory2 that takes an ICBuildConfiguration and implement this for ContainerCommandLauncherFactory - fix ContainerCommandLauncher command handling to use a list of Strings to preserve spaces in arguments and call new runCommand interface in Docker UI...as well do not link any args that are files if they are system directories (e.g. /usr /bin) - fix getCommandLauncher in ContainerCommandLauncherFactory when passing an ICBuildConfiguration so that it uses the configuration's toolchain properties to figure out if a Container build is asked for - fix launch method of ContainerLaunchConfigurationDelegate to check if working directory is null in which case use the project directory - also add buildForLaunch method override and preLaunchCheck to ContainerLaunchConfigurationDelegate so it can be used for Core Build launching as well and ensure that the project name and active configuration is set properly - in CoreBuildLaunchBarTracker, use the lastTarget to set the active target instead of the local field "target" as this will end up setting a random target as the active target. Also call the new refreshScannerInfo method of the build configuration when the active target has changed - add ICBuildConfiguration support to Docker LaunchShortcut such that properties will be set appropriately and acquired from the toolChain - bump up Docker launcher version to 1.2.0 Change-Id: I074b02314f6ac6942fdf230b1dc8e154ced3088e
2018-02-13Fix newlines.Jonah Graham1-289/+289
Change-Id: I40c768f8df6ec6b4f5b4a90cb10c291eec9dccd3
2018-02-13[releng] Bump version to 9.5.0Jonah Graham11-13/+11
Change-Id: Ie342f02f7aae633f41a7ab7d39c21e056793a04a
2018-02-08Remove unused private methods.Alexander Kurtakov1-5/+1
Change-Id: Ie3c9fa60313d7a14a1f633df2ced698e55dd75ee Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Remove unnecessary suppress warnings.Alexander Kurtakov3-6/+3
Change-Id: I1c3de215d9c4f488309f53eaa4a90a32210994be Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08Remove unnecessare NON-NLS.Alexander Kurtakov2-4/+4
Change-Id: I5ee2ee0c2fe784d1734dd48c653232ba9909f6bd Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-04Bug 530673 Fix issue with CMake and changing toolchains.Doug Schaefer1-3/+30
Cleaned up add and remove of toolchain files, handling of when a toolchain changes for a config, and the launch bar tracker to be more accurate with toolchains. Change-Id: I1a1efdf08a5f47058552c85404fe8d602d158e73
2018-01-23Fix current patch concerning Container launchingJeff Johnston1-1/+2
- fix CApplicationLaunchShortcut find config method test for Container build so we don't ignore valid local launch configs Change-Id: I4453ce2b26e15c9ec8ad53252e9e539c1268ddd8
2018-01-19Bug 530053 - Launching locally after Container launch doesn't workJeff Johnston1-3/+8
- add logic in CApplicationLaunchShortcut find launch configs to discard any launch config that has a Docker Connection URI attribute Change-Id: Ieb53f4c89b24cd3fac01bec35eafc8c62748d0b3
2017-12-01Fix issue with core build launch desc deletion.Doug Schaefer2-49/+2
When projects were deleted, sometimes the descriptors would not. We were creating our own core build launch descs which didn't have an equals method causing duplicate entries to be created. Arduino uses launch bar's project launch descs. This change does the same for core build. Change-Id: I2a6f60e92aaa20892d6c1d8331ded903b226984f
2017-11-27Stop launch on error. Fix up set/get make commands.Doug Schaefer1-0/+7
We were missing the dialog to ask if you wanted to continue after build errors in a project. We were missing the method that provided the list of projects to do that check. Also while testing that noticed the handling of the build and clean command UI was broken with make projects. Change-Id: I698e151672a114bb22c815f49d362b6413b9c315
2017-11-21Releng fixes, ensuring legal files are there. Removing projects.Doug Schaefer4-38/+3
Removed the empty debug.core.tests project. Also removed the utils-feature and remote-feature projects since these shouldn't be features. Change-Id: Ib5d297c626de5328e3421a1fc9346330d9907750
2017-11-14Bug 525675: Fix dependency versionJonah Graham1-1/+1
The o.e.c.debug.ui uses some internals in o.e.ui.ide that only existed in Oxygen and greater. Bug 516470, which should be fixed for Photon will mean these internals can be removed. Change-Id: If0fbd186a8d6b77a6cb6b8a9d231c784b45cb88d
2017-11-14Bug 525675: Delegate opening unknown file types to unknownEditorStrategyJonah Graham3-25/+41
This code enables the Debug view in CDT to take advantage of: https://www.eclipse.org/eclipse/news/4.6/platform.php#text-editor-selection-strategy Change-Id: I35e0453ce7ee772aac33ffbce6e66926bbb475e3
2017-11-13Serial Flash Target and Launch. Clean up Generic Launch.Doug Schaefer7-151/+414
Adds target, launch classes, and launch bar support for targets intended to upload their code to flash using a Serial Port. The port is co-ordinated with the Serial Terminal so that the terminal is paused during the upload. Also cleaned up the Generic Launch so it's not using the External Tools launch which has a number of UX issues. This simplifies the settings and gives us more control. And it's made reusable for the Serial Flash launch. Change-Id: I31e9970243fbf1cf22d027bbdb892fde104dbefe
2017-11-09Bug 242705: Fix misaligned breakpoint iconJesper Eskilson6-3/+3
This commit fixes the "misalignment" of the breakpoint icon by replacing it with the same icon as JDT uses. Change-Id: I5a205a095dd37f61774adbf0fc61378ad29fe2bf Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2017-11-08Add Makefile Projects to collection of core build project types.Doug Schaefer1-287/+289
Reuses the old makeNature. Reuses the StandardBuildConfiguration. Generates a pretty simple project for now. Also handles the case where you don't want to generate anything, just create an empty or on an existing source tree. Change-Id: I2f3cddc85d55792a2c537e37d4bc236a3073d930
2017-10-17Make Qt toolchain selection more resilient.Doug Schaefer1-4/+6
On my Windows box I have lots of GCC toolchains. Make sure it selects the one from the Qt install. And fix a few NPEs and things around that. Change-Id: Ifeeca9271b5055ac773b3b77e372a67e07305130
2017-10-12Allow for changing manually setting toolchains for build configs.Doug Schaefer5-122/+144
A number of changes that clean up how build configs are done. Now build settings are stored with the build config instead of in launch configs. That makes it less launch bar specific. Add build settings UI to change the toolchain used for a given launch config. Also changed CMake so it's IToolchain based instead of property which doesn't work when multiple IToolchains match. Change-Id: I958d90ede3c1f873ab1530c2b2880808e8f7abef
2017-10-06Add UI tests plugin for CMake. Fix a couple of bugs it found.Doug Schaefer1-26/+0
Also restructures the pom.xmls to put the modules in the top level so we can order them to have the test plugins build after them. Change-Id: I2f0e4ebd252791fb8844cdf0f635d574946207aa
2017-09-28UI for adding toolchains for Core Build. New Generic Target Wizard.Doug Schaefer7-121/+161
Provide a way to add new toolchains. Also start of UI to allow for reordering them to help with toolchain selection for targets. New Generic Target Wizard for the new wizard2 extension point for the Launch Bar Target UI. Change-Id: I60635ab27dad5b69df72c339337473183dcf711a
2017-09-19Reinstate commit 709689b36e1a1ec573d81a02a7e882faabca58e5Jeff Johnston1-0/+18
- This commit is still needed to allow CDT Sonar job to run so that features that have same name as plug-ins will be distinguishable by Sonar job Change-Id: I3eb3f3cf94d5f4338d72c5d19d0baf2f7506c388
2017-09-11Disable Mac signing of the standalone debugger app.Doug Schaefer1-0/+2
Change-Id: Ie39f65b70206354b73b2a69a9734dbeba3974c6f
2017-09-11Update feature versions to CDT 9.4.Doug Schaefer5-24/+6
Also remove remaining pom.xmls for feature projects. Change-Id: I78d6335f92d70ad2699b8a25801ff72d2935aefe
2017-09-07Core Build - add support for Generic targetDoug Schaefer16-2/+565
Adapts to LaunchBar's new Build Tab extension. Change-Id: Icad41a7083f4389a546234d2835a9c4b60fa0eae
2017-08-10Bug 520846 - Use ArrayContentProvider.getInstance() where possibleAndreas Sewe1-1/+1
As ArrayContentProvider is stateless, re-using the global instance avoids a few allocations. Change-Id: Ia378195c2c90e35badcf6e2c1938a93877a442e6 Signed-off-by: Andreas Sewe <andreas.sewe@codetrails.com>
2017-07-28Bug 520245: Avoid writing launch files with no changesJonah Graham1-5/+17
On shutdown of a debug session the launch files are written, often (normally) with no changes. This commit prevents unneeded deltas on the launch files and prevents a lot of the callbacks of launch configurations changing. This also ameliorates the case in Bug 500988. Change-Id: Iddbd9c5c5695dcd2d255cbc761a48316fa5acbb1
2017-06-27Bug 257449. Search for any type of launch, not just C.Jon Beniston1-2/+1
Change-Id: Ib8ec324aaf3ae1723c6dea53770965b600314203 Signed-off-by: Jon Beniston <jon@beniston.com>
2017-05-31Bug 517516: Update N&N in CDT docsJonah Graham7-290/+477
Includes synchronizing same sections in Standalone Debugger docs Change-Id: I7b66cc8b16da1f69c943aa922e1cded32346cbaa
2017-05-15Bug 491957. Preferences & save action for choosing const alignmentFelix Morgner1-0/+4
Conflicts: core/org.eclipse.cdt.core/META-INF/MANIFEST.MF core/org.eclipse.cdt.core/pom.xml core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/TextTestSuite.java core/org.eclipse.cdt.ui/pom.xml Change-Id: I061fa28d2e0b37f6d00232ad619f23b892e13ce6 Signed-off-by: Mario Meili <mmeili@hsr.ch> Signed-off-by: Benny Gaechter <benny.gaechter@hsr.ch> Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2017-05-11Bug 516461: use user's/content-type editor selectionJonah Graham1-8/+36
This fix applies during debugging: 1) If a user has overridden the default editor to open an IFile with, ensure that decision is respected by the breakpoints window. 2) If a user has put a breakpoint in an external file, open the same editor as would be opened by File > Open File Change-Id: Id32419f1197e3a8eaebf8fad176a884464cbcf85
2017-05-11Bug 516461: Make getEditorId from IDE availableJonah Graham1-0/+134
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=516470 This code will be removed one Bug 516470 is resolved and available. Change-Id: I0ba4ce121ce94c9ab31b715fbac3c92e61d9c991
2017-05-09Bug 515296: Create all CSourceNotFound controls unconditionallyJonah Graham1-72/+90
When the editor is first opened, if it is not opened on something that resolves isDebugElement = true, the set of controls to be visible is different. This change ensures that the same editor can be reused between isDebugElement = true and isDebugElement = false cases. Change-Id: I153433de1716c8c8eeffd6ec49d0b1422b04921e
2017-05-09Bug 515296: Collapse empty space when buttons are not visibleJonah Graham1-12/+22
With the new "Preferences" button in CSourceNotFoundEditor always visible, under some conditions (e.g. when no debug info available) there would be a large gap due to invisible buttons. This change does a relayout / exclude when the visibility of the buttons change. Change-Id: I68ae8665c286eb41f37fa823b3d3168175140ba3
2017-05-09Bug 515296: Cosmetics.Jonah Graham1-9/+15
Change-Id: Ida4c6b477a7fec2d5a5696f456ed5ce993ba6ece
2017-05-09Bug 515296: Changed the message when only AddressYannick Mayeur3-2/+20
When the Source Not Found Editor opens with only an address, the message is changed, to confuse the user less. Change-Id: I1dcc9fae80d20975b00d2d356469ddda8c2d8d2b Signed-off-by: Yannick Mayeur <yannick.mayeur@gmail.com> Signed-off-by: Jonah Graham <jonah@kichwacoders.com> Also-by: Pierre Sachot <sachot.pierre@laposte.net> Also-by: Jonah Graham <jonah@kichwacoders.com>

Back to the top