org.eclipse.debug.core/r3_1_changes.html
Parent Directory
|
Revision Log
Revision 1.22 -
(download)
(as text)
(annotate)
Tue Jun 21 16:56:21 2005 UTC (4 years, 5 months ago) by darin
Branch: MAIN
CVS Tags: Root_FlexBreakpointView, v20060925, v20060731, v20060605, v20071015, v20091103_r352, v20060213c, v20050912a, v20070524b, v20080121, v20050829, v20080128, v20071005, v20061030, v20071001, v20071002, R3_5, R3_1, r321_v20060707, Root_FlexBreakpoint, v20060329, v20060327, v20090124, v20080221_pre_api_tooling, v20081117, v20051205, v20051209, v20091019, v20070802, v20070801, v20091012, v20081208, v20080514-1618, v20071002_r332, v20070323, v20080303, v20070326, v20080731, v20090907, v20060601, v20060911, v20051215a, v20071126, v20070531-1800, v20090223-2130, v20080603, v20081105_r342, v20060821, v20060823, v20050916, v20060828, v20050912, v20061101, v20060403, v20061106, v20070719_r331, v20060503, R3_1_2, v20060505, v20060210a, r312_v20051130, v20080513, v20080324-1600, v20081020, r322_v20061114, v20070507, v20080331-1700, v20061208, v20060918-1600, v20060213, v20061204, v20070731_r331, v20091116, v20081124, v20080117_r332, v20070205, v20070206, R3_3_1_1, v20070202, v20080430-1630, v20060130, v20080324-1300, v20070321a, v20080201, v20090824, v20080204, v20060724, v20070718_r331, v20060426a, v20070207a, r321_r20060718, bug_264338_pre_branch, v20080114, v20061031, v20090413-1530, v20060511a, v20061023, v20060511b, v20090420, v20090323, v20061028, R3_4, v20090302-1500, v20080508-1600, R3_2, R3_3, v20090928-1600, v20060313, pre_R3_3, v20060318, v20061005, v20071212a, v20080428, v20090428, v20090429, v20080421, v20080425, v20051212, v20051213, v20070123, v20070122, v20051214b, v20070129, v20060412a, v20070502, v20090316-1515, v20071207, v20071206, v20050622, v20050623, v20071203, v20070724, v20080722, v20070904, v20080728, v20060619, v20050728, v20050725, v20071119, v20070607-1800, v20070423, v20070426, v20070427, v20091101_r342, v20080612, v20051003, v20080528-1630, v20051007, v20050921, v20050920, v20050926, v20061113, v20061110, v20080506-1630, v20081229, v20080505, v20070515, v20070516, v20070510, v20070511, v20080507-1600, v20060227, v20070919-1300, v20090106_r342, r321_v20060801, v20080929, v20091109, v20080922, v20090311-2220, v20090519, v20090512, v20090513, v20090511, v20081216-1510_r342, v20060216e, v20060216d, v20060123, v20080211, v20090504, v20060717, v20080218, v20060710, v20090911-1620, v20090209, v20070304, v20060717a, v20081024-1630, v20080107, v20050805, v20050808, v20080509-1630, v20061016, v20050805a, v20090330, v20070416, Root_R3_4_bug_264338, v20080623, v20070516a, v20060306, v20060116, I20060605-1430, v20071028a, v20070529, v20080530, v20081006, v20070523, v20070522, v20090911, v20060215c, v20080818, v20060612, v20071210, v20071217, v20070730, v20070226, v20090526-1600, v20070910, v20080529-1300, v20070914, R3_4_2, R3_4_1, v20051212a, v20060329a, v20060329b, v20070104, v20060626, v20070827, v20070820, v20090306, v20080115_r332, v20051017, v20051011, v20070531, v20060803, v20060809, v20060808, v20061127, v20061120, v20060215d, R3_2_1, v20060215a, v20060215b, R3_2_2, v20080326-1800, r321_20060725, v20090112-1500, v20090706, v20091028_r34x_264388, r321_v20060731, v20090119, v11-7-2005_preAsychronousViewerMerge, v20060411, v20060412, v20060413, v20090521, v20090526, v20080407, Root_viewer_rework_3_3, r321_v20060815, v20060525, v20070919-1800, v20071022a, v20070530a, v20081215, v20080310, v20080312, v20080317, v20070316, v20070312, v20070313, v20070709, v20070319, v20080707, v20070924, v20051121, v20081027-1600, v20051128, v20061002, v20071031, v20070409, v20070402, v200812050-1330, v20060504c, R3_5_1, v20090123-1045, v20051107-pre_branch_merge, v20051028, v20051024, v20050905, v20090520, v20060510, v20060517, v20060518, v20060109, v20090406, v20060915, R3_1_1, v20070102, v20081110-1500, v20080521, v20060803a, v20070530, v20070108, v20061219, v20061218, v20081208-1445, v20060209, R3_3_1, R3_3_2, v20090424-1600, v20060207, v20060206, v20080825, v20060427, v20060426, v20090105-1600, v20070219, v20071029c, v20070212, HEAD
Branch point for: R3_4_bug_264338, FlexBreakpointView, R3_3_maintenance, viewer_rework_3_3, R3_1_maintenance, FlexBreakpoint, TARGET_321, R3_4_maintenance, R3_5_maintenance, R3_2_maintenance
Changes since 1.21: +3 -3 lines
Tue Jun 21 16:56:21 2005 UTC (4 years, 5 months ago) by darin
Branch: MAIN
CVS Tags: Root_FlexBreakpointView, v20060925, v20060731, v20060605, v20071015, v20091103_r352, v20060213c, v20050912a, v20070524b, v20080121, v20050829, v20080128, v20071005, v20061030, v20071001, v20071002, R3_5, R3_1, r321_v20060707, Root_FlexBreakpoint, v20060329, v20060327, v20090124, v20080221_pre_api_tooling, v20081117, v20051205, v20051209, v20091019, v20070802, v20070801, v20091012, v20081208, v20080514-1618, v20071002_r332, v20070323, v20080303, v20070326, v20080731, v20090907, v20060601, v20060911, v20051215a, v20071126, v20070531-1800, v20090223-2130, v20080603, v20081105_r342, v20060821, v20060823, v20050916, v20060828, v20050912, v20061101, v20060403, v20061106, v20070719_r331, v20060503, R3_1_2, v20060505, v20060210a, r312_v20051130, v20080513, v20080324-1600, v20081020, r322_v20061114, v20070507, v20080331-1700, v20061208, v20060918-1600, v20060213, v20061204, v20070731_r331, v20091116, v20081124, v20080117_r332, v20070205, v20070206, R3_3_1_1, v20070202, v20080430-1630, v20060130, v20080324-1300, v20070321a, v20080201, v20090824, v20080204, v20060724, v20070718_r331, v20060426a, v20070207a, r321_r20060718, bug_264338_pre_branch, v20080114, v20061031, v20090413-1530, v20060511a, v20061023, v20060511b, v20090420, v20090323, v20061028, R3_4, v20090302-1500, v20080508-1600, R3_2, R3_3, v20090928-1600, v20060313, pre_R3_3, v20060318, v20061005, v20071212a, v20080428, v20090428, v20090429, v20080421, v20080425, v20051212, v20051213, v20070123, v20070122, v20051214b, v20070129, v20060412a, v20070502, v20090316-1515, v20071207, v20071206, v20050622, v20050623, v20071203, v20070724, v20080722, v20070904, v20080728, v20060619, v20050728, v20050725, v20071119, v20070607-1800, v20070423, v20070426, v20070427, v20091101_r342, v20080612, v20051003, v20080528-1630, v20051007, v20050921, v20050920, v20050926, v20061113, v20061110, v20080506-1630, v20081229, v20080505, v20070515, v20070516, v20070510, v20070511, v20080507-1600, v20060227, v20070919-1300, v20090106_r342, r321_v20060801, v20080929, v20091109, v20080922, v20090311-2220, v20090519, v20090512, v20090513, v20090511, v20081216-1510_r342, v20060216e, v20060216d, v20060123, v20080211, v20090504, v20060717, v20080218, v20060710, v20090911-1620, v20090209, v20070304, v20060717a, v20081024-1630, v20080107, v20050805, v20050808, v20080509-1630, v20061016, v20050805a, v20090330, v20070416, Root_R3_4_bug_264338, v20080623, v20070516a, v20060306, v20060116, I20060605-1430, v20071028a, v20070529, v20080530, v20081006, v20070523, v20070522, v20090911, v20060215c, v20080818, v20060612, v20071210, v20071217, v20070730, v20070226, v20090526-1600, v20070910, v20080529-1300, v20070914, R3_4_2, R3_4_1, v20051212a, v20060329a, v20060329b, v20070104, v20060626, v20070827, v20070820, v20090306, v20080115_r332, v20051017, v20051011, v20070531, v20060803, v20060809, v20060808, v20061127, v20061120, v20060215d, R3_2_1, v20060215a, v20060215b, R3_2_2, v20080326-1800, r321_20060725, v20090112-1500, v20090706, v20091028_r34x_264388, r321_v20060731, v20090119, v11-7-2005_preAsychronousViewerMerge, v20060411, v20060412, v20060413, v20090521, v20090526, v20080407, Root_viewer_rework_3_3, r321_v20060815, v20060525, v20070919-1800, v20071022a, v20070530a, v20081215, v20080310, v20080312, v20080317, v20070316, v20070312, v20070313, v20070709, v20070319, v20080707, v20070924, v20051121, v20081027-1600, v20051128, v20061002, v20071031, v20070409, v20070402, v200812050-1330, v20060504c, R3_5_1, v20090123-1045, v20051107-pre_branch_merge, v20051028, v20051024, v20050905, v20090520, v20060510, v20060517, v20060518, v20060109, v20090406, v20060915, R3_1_1, v20070102, v20081110-1500, v20080521, v20060803a, v20070530, v20070108, v20061219, v20061218, v20081208-1445, v20060209, R3_3_1, R3_3_2, v20090424-1600, v20060207, v20060206, v20080825, v20060427, v20060426, v20090105-1600, v20070219, v20071029c, v20070212, HEAD
Branch point for: R3_4_bug_264338, FlexBreakpointView, R3_3_maintenance, viewer_rework_3_3, R3_1_maintenance, FlexBreakpoint, TARGET_321, R3_4_maintenance, R3_5_maintenance, R3_2_maintenance
Changes since 1.21: +3 -3 lines
doc updates (spelling/typos)
<html> <head> <title>3.1 Debug Platform Change Notes</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <h1>3.1 Debug Platform Change Notes</h1> <p>This document describes new features and important changes in the 3.1 debug platform, relative to the 3.0 release.</p> <h2>New Features</h2> <h3> Breakpoint Organizers</h3> <p>The breakpoints view allows breakpoints to be displayed in groups. The platform supports breakpoint groupings by breakpoint type, file, project, and breakpoint working sets and resource based working sets (as well, it supports nested groupings). The <code>breakpointOrganizers</code> extension point allows for other grouping strategies to be contributed to the debug platform.</p> <p>A new, optional, <code>name</code> attribute has been added to the breakpoints extension point to provide a type name for breakpoints. This name appears as the group label, when the user chooses to group breakpoints by type. If this attribute is not specified on a breakpoint extension, the breakpoints are considered to not have a type, and will be displayed in the "Others" group.</p> <h3>Logical Structure Providers</h3> <p>Logical structures have been enhanced to allow clients to more easily contribute more than one logical structure for a given value. The new extension point <code>logicalStructureProviders</code> allows clients to contribute an implementation of an <code>ILogicalStrugureProvider</code>. A logical structure provider provides a simple way to contribute a single factory of logical structures for a debug model.</p> <p>In addition the optional interface <code>ILogicalStructureTypeDelegate2</code> has been added to allow a logical structure delegate to provide a dynamic label for a value's logical structure type.</p> <h3>Process Console Enhancements</h3> <p>The debug console has been enhanced to allow output to be multiplexed between the console and/or a file. As well, the encoding used to translate output to characters can now be specified. All of these options are available to the user on the "Common" launch configuration tab. As well, the options are available programmatically as launch configuration attributes. The following attributes have been added to <code>org.eclipse.debug.ui.IDebugUIConstants</code>.</p> <ul> <li><code>ATTR_CONSOLE_ENCODING</code></li> <li><code>ATTR_CAPTURE_IN_CONSOLE</code></li> <li><code>ATTR_CAPTURE_IN_FILE</code></li> <li><code>ATTR_APPEND_TO_FILE</code></li> </ul> <h3>Memory View</h3> <p>The Memory view, which was first released in 3.0 as internal API, has become public API in 3.1. See the new extension point <code>memoryRenderings</code>, and the new API package <code>org.eclipse.debug.ui.memory</code> for more information.</p> <h3>Parse Arguments</h3> <p>A convenience API method has been added to <code>DebugPlugin</code> to separate arguments in a single string into an array of arguments that can be passed to the command line for execution. See <code>DebugPlugin.parseArguments(String)</code>.</p> <h3>Run To Line Handler</h3> <p>Many debuggers implement "run to line" functionality by creating a breakpoint at the line a user has chosen to "run to", and then resuming execution until that breakpoint is hit. A new API class, <code>RunToLineHandler</code>, has been created to simplify the task. The handler manages the "skip breakpoints while performing run to line" user preference as well canceling the operation if another breakpoint is hit before the "run to line" operation completes.</p> <h3>Run To Line Action Delegate</h3> <p>The <code>RunToLineActionDelegate</code> introduced in 3.0 can now also be contributed to a view (in 3.0 it could only be contributed to an editor). The action additionally implements <code>IViewActionDelegate</code>.</p> <h3>Variable Value Editors</h3> <p>A new extension point, <code>variableValueEditors</code>, allows debuggers to contribute custom editors for modifying a variable's value selected in the Variables view.</p> <h3>Launch Shortcut Keybindings</h3> <p>To register a key-binding for a launch shortcut, define a command with an <font face="Courier New, Courier, mono">id </font>the same as the launch shortcut <font face="Courier New, Courier, mono">id</font>, suffixed with the launch mode. For example, the id of the "Java Application" launch short cut is <font face="Courier New, Courier, mono">org.eclipse.jdt.debug.ui.localJavaShortcut</font>, so the command id for launching in debug mode is <font face="Courier New, Courier, mono">org.eclipse.jdt.debug.ui.localJavaShortcut.debug</font>. Then define a key-binding for your command.</p> <p>When the command is invoked via the key-binding, the selection or active editor will be used as the target for the launch shortcut's launch method. The shortcut is only invoked if the shortcut is enabled for the selection or editor.</p> <h3>Source Lookup/Display Facility</h3> <p>API methods have been added to <code>DebugUITools</code> to facilitate source lookup and display. See the methods <code>lookupSource(Object, ISourceLocator)</code> and <code>displaySource(ISourceLookupResult, IWorkbenchPage)</code>. When a source lookup result for a stack frame is displayed, the open editor is also annotated with an appropriate instruction pointer.</p> <h3>Watchpoints (IWatchpoint) and Images</h3> <p>As watchpoints are common to many debug architectures, the notion of an IWatchpoint has been added to the debug model. A watch point is a breakpoint that suspends execution when an associated variable is read and/or written. As well, default images for rendering watchpoints have been added to the debug platform.</p> <h3>Colors and Fonts for Debug Elements</h3> <p>In 3.1, debug model presentations (<code>IDebugModelPresentation</code>) may optionally implement <code>IColorProvider </code>and <code>IFontProvider </code>to override default fonts and colors for debug elements.</p> <h3>Inserting Elements into Debug View</h3> <p>The Debug view allows for debug models to insert arbitrary elements into the debug model element hierarchy. For example, the Java debugger now displays lock information directly in the view. To override the default presentation in the view, a debugger must provide an <code>IWorkbenchAdapter</code> or <code>IDeferredWorkbenchAdapter </code>for the relevant element(s). The debug platform provides default adapters for the standard debug elements.</p> <p>Debug elements were always required to implement <code>IAdaptable</code>, and now must be subclasses of <code>PlatformObject</code> in order for workbench adapters to be properly registered and retrieved for debug elements.</p> <h3>Abstract Debug Element</h3> <p>An abstract implementation of a debug element is provided in 3.1 - <code>DebugElement</code>. Clients implementing debug models may choose to subclass this class when implementing debug models. The class provides convenience methods for firing debug events, reporting exceptions, and retrieving adapters.</p> <h3>Drop to Frame Platform Action/Interface</h3> <p>The debug platform provides a "drop to frame" action and corresponding capability interface (<code>IDropToFrame</code>). Debug elements supporting the capability should implement this new interface to share the global action.</p> <h3>Context Menu Launching in Editors</h3> <p>Launching from the context menu (for example, "Run As > Java Application"), is now available in editors (In 3.1, this was only available in the package explorer and resource navigator). To leverage this feature, the editor input associated with a executable file must have an <code>ILaunchable</code> adapter registered for it.</p> <h3>Support for Unregistered Launch</h3> <p>The launch framework allows for a launch to be performed without registering a launch object with the launch manager. An unregistered launch does not appear in the Debug view. A new launch method has been added to <code>ILaunchConfiguration</code>, accepting a boolean argument determining whether the launch should be registered (<code>launch(String mode, IProgressMonitor monitor, boolean build, boolean register)</code>), and a new method has been added to <code>ILaunchManager</code> to determine if a launch is registered (<code>isRegistered(ILaunch launch)</code>).</p> <h3>Reusable Breakpoint Ruler Toggle Actions</h3> <p>Providing double-click breakpoint creation in an editor's vertical ruler is a common feature for debuggers. The debug platform provides two actions to facilitate this: <code>RulerToggleBreakpointActionDelegate </code>and <code>ToggleBreakpointAction</code>. A debugger must contribute the <code>RulerToggleBreakpointActionDelegate</code> to the appropriate editor (see javadoc for more details), and also register an <code>IToggleBreakpointsTarget </code>adapter with the editor.</p> <h3>Environment Variables Case Preservation</h3> <p>Support has been added to <code>ILaunchManager</code> to retrieve the environment variables defined in the OS preserving case. This is important on the WIN32 operating system. Although WIN32 is case insensitive, depending on what you intend to do with the environment, the lack of normalization may or may not cause problems. This method <code>getNativeEnvironmentCasePreserved()</code> returns mixed-case keys using the variable names recorded by the OS. Use <code>getNativeEnvironment()</code> instead to get a WIN32 system environment where all keys have been normalized to uppercase.</p> <h3>Closing an Input Stream</h3> <p>An optional extension, <code>IStreamsProxy2</code>, can be implemented by implementations of <code>IStreamsProxy</code>. When implemented, it allows the input stream associated with a process to be closed. This is used to allow the user to signal EOF when typing in the console.</p> <h3>Launch in Debug Mode when Workspace Contains Breakpoints</h3> <p>Since 3.0, The user preference "Launch in debug mode when workspace contains breakpoints" is used to control whether a launch should use debug mode even when "run" is pressed by the user, based on the presence of breakpoints in the workspace. A new method, <code>getBreakpoints(ILaunchConfiguration configuration)</code>, has been added to the abstract implementation of <code>LaunchConfigurationDelegate</code>, to determine which breakpoints should be considered as relevant for a particular launch. By default, all breakpoints in the workspace are considered, but subclasses may override. For example, the Java Application launcher only considers Java breakpoints.</p> <h3>Case Insensitive Source Lookup and Relative Paths</h3> <p>The debug platform's source lookup facilities now lookup source in folders and directories in a case insensitive manner on platforms that are case insensitive. As well, relative path names are supported in folders and directories.</p> <h2>Changes</h2> <h3>Debug Event Dispatch</h3> <p>In releases 3.0 and prior, calling <code>DebugPlugin.fireDebugEventSet(DebugEvent[])</code> resulted in debug events being fired synchronously in the calling thread. In 3.1, debug event set listeners are notified of debug events asynchronously in a different thread than the event is reported in.</p> <h3>Debug Actions and Content in Background Jobs</h3> <p>In 3.1, many actions that call debug element APIs (like "stepOver"), now create jobs to communicate with debug elements in background threads. This avoids blocking the UI in the case that a debug element method requires communication with a debug target that can block, hang, or timeout. Similarly, many of the debug views populate their content using background jobs to avoid blocking the UI thread. The net difference is that in 3.1, more than one thread might be accessing a debug model's APIs where previously only the UI thread was.</p> <h3>Contextual Launch from Top Level Run/Debug Menus</h3> <p>The top level menus no longer support the perspective element, and launch shortcuts must specify a "<code>contextualLaunch</code>" element to appear in the Run/Debug cascade menus.</p> <p> </p> </body> </html>
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
