Eclipse 3.5 Debug Platform Build Notes

Summary of API changes in 3.5

Breakpoint Import Participants

The breakpoints framework has been further enhanced to support breakpoint import participants, which allows contributors to participate in the importing process for any given breakpoint type. Participants can contribute in the decision of whether a breakpoint should be imported and in the verification process once a breakpoint has been imported.

The API to support this feature includes:

Breakpoints

The breakpoints framework has been enhanced to support different breakpoint types to be created within the same part. This effectively allows different debuggers to share a common editor and views where breakpoints are created. Debuggers can also use this mechanism to let users quickly change what breakpoint type is created by default (e.g.: software, hardware, thread-filtered, etc.).

The API to support this feature includes:

ILaunchConfiguration.getLocation() can return null

What is affected: Clients that call ILaunchConfiguration.getLocation()

Description: In release 3.4 and earlier, ILaunchConfiguration.getLocation() was not specified to return null. Since 3.5, launch configuration infrastructure has been enhanced to support storage on external file systems (EFS). The #getLocation() method returns a location in the local file system - however, since an external file system may not map to a local location, null can now be returned.

Action required: Clients that call ILaunchConfiguration.getLocation() should update code to handle a null result. The #getLocation() method has been deprecated since the return value is no longer reliable.

Access to current source lookup participant

What is affected: Method addition: AbstractSourceLookupDirector#getCurrentParticipant()

Description: Since 3.5, the AbstractSourceLookupDirector provides access to the ISourceLookupParticipant currently looking up source via the new method #getCurrentParticipant(). The implementation of AbstractSourceContainer has been enhanced to ask the current participant if duplicate source files should be found when looking up source. To maintain backwards compatibility, the participant delegates whether duplicates should be found to the source lookup director. A custom implementation of a source lookup participant could override the default behavior to control whether duplicate source files should be found.

Action required: This is a backwards compatible change. No action required.

debugContext evaluation variable

What is affected:

Description:The command framework allows menu and toolbar items to be controlled using powerful standard expressions. However many debugger related commands require access to the current debug context in order to properly evaluate their enabled or visible state. This addition allows command handlers and their expressions to use the debugContext variable to access the current debug context applicable to the given handler.

Action required: This is a backwards compatible change. No action required.

Detail pane selection provider

What is affected:

Description:The original detail pane design does not allow a detail pane implementation to properly supply a selection provider for a view (see bug 254442). These addition allows a detail pane to overcome this limitation.

Action required:This is a backwards compatible change, so no action is required. However, detail pane implementations which need to drive the active view selection, should implement the new IDetailPane2 interface.

 

3.5 M5 - January 30, 2009

Problem Reports Fixed

Bug 262819: 'process model delta' job appears in progress view/status bar
Bug 260802: Retargetable debug actions do not enable when an adapter is first loaded.
Bug 247990: [breakpoints] Breakpoint working set not updated properly after import
Bug 255644: chkpii error in N20081117-2000
Bug 256569: Possibly broken code in LaunchConfigurationTabGroupViewer.setSelection(ISelection, boolean)

January 20, 2009

Problem Reports Fixed

Bug 261567: [launching] ILaunchConfiguration's getLocation returns different values at different times
Bug 261214: Console view: Opening drop-down of console switcher button already switches consoles

January 6, 2008

Problem Reports Fixed

Bug 259839: Typo in TerminateAndRelaunchAction
Bug 259107: [console] Console Deadlock when too much information written
253955: Bug 253955 – Hitting breakpoint gives focus to workbench instead of dialog
245314: Bug 245314 – Populating variables view with logical structures is really slow
253257: Bug 253257 – Source lookup job data getting overwritten while running

December 16, 2008

Problem Reports Fixed

Bug 258235: Switch LaunchConfigurationFilteredTree to new look of FilteredTree
Bug 258058: Buttons not greyed out in Organize Favorites dialog
Bug 255153: Select All does not fire selection change event
Bug 49730: [source lookup] Call stack editor annotation ambiguous
Bug 254442: "Create Watch Expression" action does not appear consistently
Bug 257717: Errors in Workspace dialog on launch is contains incorrect text

Milestone 4 - December 12, 2008

Problem Reports Fixed

Bug 234854: synchronize remaining 3 public get*Manager() methods from DebugPlugin
Bug 136741: [Memory View] Base address not initially scrolled into view with built-in renderings
Bug 257546: Console view: Open Console button should open menu
Bug 257537: ConsolePlugin should consider modifying its getStandardDisplay() method
Bug 240330: [Memory View] Items per row should not be limited to 16
Bug 212605: [launching] Mac OS X launcher should not hide the necessary -XstartOnFirstThread
Bug 257970: SWT Exception shutting down Eclipse
Bug 236296: "update the classpath settings" feature sets wrong project compiler compliance level
Bug 244059: [breakpoints] Allow breakpoints to specify when they should be overwritten on import

December 2, 2008

Problem Reports Fixed

Bug 257103: modify execution environment tests to not break real environments
Bug 256181: [Flex-Hierarchy] State restore logic can get into a cycle.
Bug 255267: OSGi min 1.2 EE is not recognized as subset of J2SE 1.4 and Foundation 1.1

November 11, 2008

Problem Reports Fixed

Bug 253966: Support to configure resource based variables
Bug 252992: Move {workspace_loc} to debug.core plug-in

November 4, 2008

Problem Reports Fixed

Bug 252445: toggle breakpoint jobs should have a priority
Bug 252360: Can not place breakpoint in inner class of an annotation
Bug 252387: context launch offers to launch configs that have no associated project

Milestone 3 - October 31, 2008

Problem Reports Fixed

Bug 251711: Select All should not select invisible items
Bug 229219: Track debugContext with the window evaluation context.
Bug 247575: [flex-hierarchy] TreeModelLabelProvider should coalesce label updates
Bug 234908: [Expressions View] Expression view can show wrong data if selection is changed rapidly
Bug 250954: NPE in LaunchManager
Bug 252141: Compile warnings in official build
Bug 252609: Transient ConsoleLineTracker test failures
Bug 213074: "Run to line" action cannot be used with non-standard debug models.

October 21, 2008

Problem Reports Fixed

Bug 251265: Rollback changes to IOConsolePartition
Bug 250928: Debug serversocket nulled out
Bug 250048: DebugUIPlugin.start() pollutes SWT Display
Bug 250008: Keybinding conflicts occurred. CTRL+SHIFT+P, jface NullPointerException
Bug 248054: Can't set breakpoint annotation as Highlighted
Bug 182974: [breakpoints] Removing a breakpoint causes two independent resource deltas

October 7, 2008

Problem Reports Fixed

Bug 249364: NPE getting file store

September 30, 2008

Problem Reports Fixed

Bug 246278: NPE in DefaultDetailPane.java:264
Bug 248520: NPE selecting launch config
Bug 247977: ISourceLookupParticipant should be able to influence whether ISourceContainer returns multiple source elements

September 22, 2008

Problem Reports Fixed

Bug 236980: [launching] Support ILaunchConfigurations on EFS
Bug 244920: Two Breakpoints in one line. Saving of class not possible (NPE).

Aug 26, 2008

Problem Reports Fixed

Bug 244694: Conflicting mnemonics in breakpoints export wizard

Aug 19, 2008

Problem Reports Fixed

Bug 243053: Tabs added via launchConfigurationTabs cannot be placed after each other
Bug 111818: new launch config arguments field should let Ctrl+Enter engage dialog's default button
Bug 231790: NPE when opening Run Configuration Dialog on linux/gtk

Aug 12, 2008

Problem Reports Fixed

Bug 243606: [Debug View] Stackframe does not get focus with multiple debug targets

Aug 5, 2008

Problem Reports Fixed

Bug 242685: StringVariableManager - Variable contributions may silently override existing variables

July 29, 2008

Problem Reports Fixed

Bug 236049: [console] 'Clear' context menu item enable when no text is available to be cleared

July 22, 2008

Problem Reports Fixed

Bug 239856: Launches corrupted in I20080702-0939
Bug 233008: User consistent naming to create watch expressions
Bug 240985: NPE adding org.eclipse.ui.console.consolePageParticipants extension without enablement clause

July 8, 2008

Problem Reports Fixed

Bug 239512: MessageConsole hides IOConsole constructor taking consoleType
Bug 239446: org.eclipse.debug LaunchConfigurationsDialog fails to load when PlatformUI SHOW_FILTERED_TEXTS is false
Bug 239794: CommonTab source uses wrong launch group

June 24, 2008

Problem Reports Fixed

236076: [launching] Run and Debug History menus not updated after reorganize favorites