diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 4fa8453e8a2..37d21e99c1b 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,19 @@ +2004-05-20 Mikhail Khodjaiants + Removed dependencies on the compatibility plugin and replaced deprecated classes and methods. + Warning cleanup. + * CDebugCorePlugin.java + * ICDebugConstants.java + * CBreakpointManager.java + * DebugConfiguration.java + * CThread.java + * CValue.java + * CVariable.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * SourceUtils.java + * plugin.xml + * ChangeLog-2003: new + 2004-05-20 Mikhail Khodjaiants The "IStackFrameInfo" interface is removed and it's methods moved to "ICStackFrame". * ICStackFrameInfo: removed @@ -271,1693 +287,3 @@ Fix for bug 48682: IThread.getBreakpoints() stubbed out. * CDebugTarget.java * CThread.java - -2003-12-23 Mikhail Khodjaiants - Fix for bug 49294: Source file doesn't change when switching between stack frames. - Do not use the breakpoint's markers for source lookup. - * CSourceManager.java - -2003-12-08 Mikhail Khodjaiants - Reset the 'terminating' flag if 'terminate' fails. - * CDebugTarget.java - -2003-11-26 Mikhail Khodjaiants - Extracted the main part of the 'breakpointAdded' method into a separate method to avoid - double checking. - * CDebugTarget.java - -2003-11-26 Mikhail Khodjaiants - Cleanup. - * CDebugModel.java - * CDebugUtils.java - * CRegisterManager.java - * CSharedLibraryManager.java - * CSignalManager.java - * CUpdateManager.java - * CDebugTarget.java - * CThread.java - * CVariable.java - -2003-11-10 Mikhail Khodjaiants - Ensure that all breakpoint creation and modification operations are running in the UI thread. - * CBreakpointManager.java - -2003-11-10 Mikhail Khodjaiants - Added synchronization to some of the 'CBreakpoint' methods. - * CBreakpoint.java - -2003-11-07 Mikhail Khodjaiants - Fix for PR 46358: NPE in the "setCurrentThread" method of "CDebugTarget". - 'setCurrentThread': check if the old current thread is not null. - * CDebugTarget.java - -2003-11-07 Mikhail Khodjaiants - Use the corresponding methods of 'ICBreakpoint' to set breakpoint properties. - * CBreakpointManager.java - -2003-11-07 Mikhail Khodjaiants - Fix for PR 46303: Exception when selecting Debug... menu. - Check if the string passed to the 'getCommonSourceLocationsFromMemento' method is not empty. - * SourceUtils.java - -2003-11-05 Mikhail Khodjaiants - 'getCDIBreakpointFile' returns wrong file for address breakpoints. - * CBreakpointManager.java - -2003-11-05 Mikhail Khodjaiants - Changed the handling of the breakpoint created event to reflect the CDI changes for deferred - breakpoints support. - * CBreakpointManager.java - * CSharedLibraryManager.java - * CDebugTarget.java - -2003-11-05 Mikhail Khodjaiants - Moved all breakpoint-related functionality to the new class - 'CBreakpointManager'. - * CBreakpointManager.java - -2003-11-05 Mikhail Khodjaiants - The argument type of the 'getBreakpointAddress' method of 'ICBreakpointManager' is changed from - 'ICBreakpoint' to 'ICBreakpointManager'. - * ICBreakpointMaanger.java - -2003-10-30 Mikhail Khodjaiants - * CSourceManager.java: implements adapters for 'ISourceMode' and 'IPersistableSourceLocator'. - -2003-10-30 Mikhail Khodjaiants - Fix for PR 45818 doesn't solve the problem. Fall back to the previous version. - * CDebugElement.java - -2003-10-30 Mikhail Khodjaiants - Fix for PR 45818: NPE when closing the workbench. - * CDebugElement.java - -2003-10-29 Mikhail Khodjaiants - * CProjectSourceLocation.java: check if the searched element name is not null or empty. - -2003-10-29 Mikhail Khodjaiants - Added the 'dispose' method to 'ICSourceLocation'. - * ICSourceLocation.java - * CDirectorySourceLocation.java - * CProjectSourceLocation.java: made 'dispose' public. - -2003-10-29 Mikhail Khodjaiants - * CProjectSourceLocation.java: added 'toString' method. - -2003-10-28 Mikhail Khodjaiants - Search only in the parent folders if the given file path is absolute. - Return a list only if the number of resulting files is > 1. - * CDirectorySourceLocation.java - -2003-10-27 Mikhail Khodjaiants - Renamed 'SourceLocationFactory' to 'SourceLookupFactory'. - Added the 'createSourceLocator' method to 'SourceLookupFactory'. - * SourceLookupFactory.java - * CSourceLocator.java - -2003-10-27 Mikhail Khodjaiants - Changed the 'getAdapter' method of 'CSourceManager' to return the adapter of - the 'ICSourceLocator' class. - * CSourceManager.java - -2003-10-26 Mikhail Khodjaiants - Fix for PR 45534: gdb/MI error in retrieving a register can lead to an empty register pane. - * CRegister.java - * CRegisterGroup.java - -2003-10-23 Mikhail Khodjaiants - Core support of the new workbench preferences: 'Source Locations' and 'Search - For Duplicate Source Files'. - * CDebugCorePlugin.java - * ICDebugConstants.java - * SourceUtils.java: new - -2003-10-20 Mikhail Khodjaiants - Core support of the "Search subfolders" option for directory source locations. - * IDirectorySourceLocation.java - * SourceLocationFactory.java - * CDirectorySourceLocation.java - -2003-10-20 Mikhail Khodjaiants - Do not interrupt the initialization of all additional source locations - if the initialization of one fails. - * CSourceLocator.java - -2003-10-17 Alain Magloire - - ICDIBreakpointManager new method - setLocationBreakpoint(...., deferred); - The new boolean "deferred" indicate if yes or not the breakpoint - should be on the deferred list if the setting fails. - - * ICDIBreakpointManager.java - -2003-10-17 Mikhail Khodjaiants - Core support of the 'Search for duplicate source files' option. - * ICSourceLocation.java - * ICSourceLocator.java - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceLocator.java - * CSourceManager.java - -2003-10-17 Mikhail Khodjaiants - If the target is suspended by a line breakpoint the source manager tries to retrieve - the file resource from the breakpoint marker. - * CSourceManager.java - * CDebugTarget.java - -2003-10-15 Mikhail Khodjaiants - Improving the source search algorithms. - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceLocator.java - -2003-10-14 Mikhail Khodjaiants - Improved the source search algorithm. - * CProjectSourceLocation.java - -2003-10-13 Mikhail Khodjaiants - Fix for bug 43372: changed the source lookup procedures to avoid the usage of 'getCanonicalPath'. - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - -2003-10-07 Mikhail Khodjaiants - All methods of 'IRuntimeOptions' should throw CDI exceptions in case of failure. - * ICDIRuntimeOptions.java - -2003-10-06 Mikhail Khodjaiants - Added the "isArgument" method to ICVariable. This method is used to distinguish - the arguments in the Variables View. - * ICVariable.java - * CVariable.java - -2003-09-30 Mikhail Khodjaiants - Use the new 'equals' method of ICDIVaraiableObject to compare variables. - * CVariable.java - -2003-09-30 Alain Magloire - - ICDIVariableObject been updated with a new method. - * CVariable.java - * ICDIVariable.java - -2003-09-29 Mikhail Khodjaiants - Fix for PR 43856: Format doesn't work for wchar_t. - * CValue.java - -2003-09-23 Mikhail Khodjaiants - Changed the 'hasStackFrames' method of the 'CThread' class to return true regardless if - the thread contains stack frames or not. This method is only used by UI to update the thread label. - * CThread.java - -2003-09-17 Mikhail Khodjaiants - Temporary fix for PR 39061: Attach source does not work for applications compiled in CygWin. - * CDirectorySourceLocation.java - -2003-09-16 Mikhail Khodjaiants - Fix for PR 38468: Error in files location. - Use the 'getCanonicalPath' method of the 'File' class to obtain the file name. - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceLocator.java - -2003-09-15 Mikhail Khodjaiants - Fix for PR 43101: Breakpoint exception when source doesn't exist. - The 'fireBreakpointChanged' method of 'BreakpointManager' is used to notify - the UI components that a breakpoint is added. This is a part of new implementation - to support deffered breakpoints. For new breakpoints the 'delta' argument is null. - Check if delta is not null to avoid this problem. - * CDebugTarget.java - -2003-09-11 Mikhail Khodjaiants - Detail Pane values for casted variables. - * CVariable.java: the qualified name should be chached in the InternalVariable instance - * CArrayPartition.java: added new field to store the chached value of the qualified name - -2003-10-11 Mikhail Khodjaiants - Moving the shared library search paths block to mi UI. - * ICDTLaunchConfigurationConstants.java: moved the 'ATTR_DEBUGGER_SOLIB_PATH' attribute to mi. - -2003-09-10 Mikhail Khodjaiants - If breakpoint is a line breakpoint check if source locator contains this file - instead of container project. - * CDebugTarget.java - -2003-09-10 Mikhail Khodjaiants - Fix for PR 42790: Memory view is not cleared when target is terminated. - * CFormattedMemoryBlock.java: fire 'terminate' event when block is disposing. - * CMemoryManager.java: implementation of 'dispose'. - -2003-09-09 Mikhail Khodjaiants - Fix for PR 39680: Gash in error message for memory view. - * CDebugModel.java - -2003-09-09 Mikhail Khodjaiants - Final fix for PR 39484: Move 'getType' method from ICDIVariable to ICDIVaraibleObject. - * CArrayPartition.java - * CVariable.java - -2003-09-09 Mikhail Khodjaiants - Regrouping the launch configuration constants. - * ICDTLaunchConfigurationConstants.java - -2003-09-09 Mikhail Khodjaiants - Removed the internal handling of the 'stop-on-shared-library-events' option - - will be moved to the mi. - Try to set the deferred breakpoints only when: - - a shared library is loaded - - the symbols of shared library are loaded - * CSharedLibararyManager.java - * CDebugTarget.java - * CThread.java - -2003-09-09 Mikhail Khodjaiants - Added the 'getSharedLibraryPaths' and 'setSharedLibraryPaths' methods - to the 'ICDISharedLibraryManager' interface. - * ICDISharedLibraryManager.java - -2003-08-29 Mikhail Khodjaiants - Implementation of deferred breakpoints. - * CDebugTarget.java - * CThread.java - -2003-08-29 Mikhail Khodjaiants - Moving shared library features from mi to CDI. - Added new launch configuration constants to ICDTLaunchConfigurationConstants. - -2003-08-29 Mikhail Khodjaiants - Moving shared library features from mi to CDI. - Added new methods to ICDISharedLibraryManager: - - isAutoLoadSymbols - - isStopOnSolibEvents - - setAutoLoadSymbols - - setStopOnSolibEvents - - supportsAutoLoadSymbols - - supportsStopOnSolibEvents - * ICDISharedLibraryManager.java - -2003-08-21 Mikhail Khodjaiants - Removed the 'isAccessSpecifier' method from CVaraiable. - * CArrayPartitionValue.java - * CValue.java - * CVariable.java - -2003-08-21 Mikhail Khodjaiants - Use the names of array's elements returned by CDI. - * CVariable.java - -2003-08-20 Mikhail Khodjaiants - Unable to terminate post mortem debugging session. - Extended the 'CDebugTarget' class to overload the 'terminate' and 'canTerminate' methods. - * CDebugModel.java - * CCoreFileDebugTarget.java: new - -2003-08-19 Mikhail Khodjaiants - Create ICDIVariableObject for each array partition to compute a detail panel's value. - * CArrayPartition.java - * CVariable.java - -2003-08-18 Alain Magloire - - ICDISharedLibraryEvent.java: - New file, to notify a breakpoint from a shared lib event. - -2003-08-13 Mikhail Khodjaiants - * ICDIVariableManager.java: removed the 'type' parameter from the 'getVariableObjectAsArray' method - * ICastToArray.java: removed the 'type' parameter from the 'castToArray' method - * CVariable.java: changed the implementation of the 'ICastToArray' interface - -2003-08-13 Mikhail Khodjaiants - * ICDIVariable.java: removed the 'isEditable' method - * ICDIVariableObject.java: added the 'isEditable', 'getQualifiedName' and 'sizeof' methods - * ICDIArrayValue.java: added the 'getVariables(int start, int length)' method - * ICType.java: added the 'isReference' method - * ICValue.java: added the 'dispose' method - * CArrayPartition.java - * CArrayPartitionValue.java - * CGlobalVariable.java - * CType.java - * CValue.java - * CValueFactory.java - * CVariable.java - Create 'var-objects' only for the requested array partitions. - -2003-08-07 Alain Magloire - - * ICDIVariableManager.java: - Remove the unused method getVariableObject(ICDIStackframe, String) - and getArgumentObject(ICDIStackframe, String). - Rename getVariableObject(String, String, String) to - getGlobalVariableObject. - - * CDebugModel.java: Refactoring of ICDIVariableManager. - -2003-08-06 Mikhail Khodjaiants - Added the implementation of the 'getType' and 'getTypeName' methods of the 'CVaraible:ErrorVariable' class. - * CVariable.java - -2003-08-06 Mikhail Khodjaiants - Uncommented the 'sizeof' method of 'ICDIVariableObject'. - * ICDIVariableObject.java - * CVariable.java - -2003-08-06 Alain Magloire - - Move some of the methods in ICDIVariableObject. - - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariable.java - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableObject.java - -2003-08-05 Mikhail Khodjaiants - Use the 'getReferencedProject' method to obtain all referenced projects. - * CDebugUtils.java - -2003-08-05 Mikhail Khodjaiants - Invalidate error variables when the session is resumed. - * CVariable.java - -2003-07-30 Mikhail Khodjaiants - Moved the 'getReferencedProject' method to 'CDebugUtils'. Added the cycle checking. - * CDebugUtils.java - * CSourceLocator.java - -2003-07-28 Mikhail Khodjaiants - Minimize the number of the "evaluate expression" requests when changing the value of the floating point types. - * CDebugUtils.java - -2003-07-28 Mikhail Khodjaiants - Refactoring: moved the 'isNaN', 'isPositiveInfinity' and 'isNegativeInfinity' to the 'CDebugUtils' class. - * ICValue.java - * CValue.java - * CDebugUtils.java - -2003-07-28 Mikhail Khodjaiants - Refactoring: moved the 'CDebugUtils' class to the 'org.eclipse.cdt.debug.core' package - - the methods of this class are mostly used in UI plugins. - * CDebugUtils.java - * CDebugModel.java - * DisassemblyStorage.java - * CAddressBreakpoint.java - * CDebugTarget.java - * CFormattedMemoryBlock.java - * CDebugElement.java - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceLocator.java - -2003-07-28 Mikhail Khodjaiants - Cleanup. Removed the unused 'getNumberOfChildren' method from the 'CValue' class. - * CValue.java - -2003-07-28 Mikhail Khodjaiants - Cleanup. Removed the 'reset' and 'getQualifiedName' methods from the 'ICVaraible' interface. - * ICVariable.java - * CVariable.java - -2003-07-24 Mikhail Khodjaiants - Fix for PR 40696. If the project contains the reference to a project that is - deleted from the workspace the source locator tries to get the location of deleted project. - * CProjectSourceLocation.java - -2003-07-22 Mikhail Khodjaiants - Create a special type of ICDIVariable (ErrorVariable) if request to gdb fails. - * CVariable.java - * CValue.java - -2003-07-22 Mikhail Khodjaiants - Use the 'getReferencedProjects' method of 'CSourceLocator' to obtain the list of referenced projects. - Use the correct tag for additional source locations. - * CSourceLocator.java - -2003-07-17 Mikhail Khodjaiants - Fix for PR 39936: GDB hits modified conditional breakpoints when condition not satisfied. - This is a work around for GDB PR MI/1289. - * CDebugTarget.java - -2003-07-17 Mikhail Khodjaiants - Automatically update the list of source locations when the list of the referenced - projects is modified. - * ICSourceLocator.java: added new method - 'getProject' - * IProjectSourceLocation.java: added new method - 'isGeneric' - * SourceLocationFactory.java: new class factory for source locations. - * CSourceLocator.java - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceManager.java - * CDebugTarget.java - -2003-06-30 Mikhail Khodjaiants - Fix for PR 39372: Breakpoints don't get activated when symbols are loaded. - -2003-06-30 Mikhail Khodjaiants - Fix for PR 39100: CDT/Debug core is asking value 16 times. - * CValue.java - -2003-06-30 Mikhail Khodjaiants - Fix for PR 39087: Cache the MI answer once we know if the variable is writable. - * CVariable.java - -2003-06-24 Mikhail Khodjaiants - All local var_objects are destroyed when a thread other than current is selected. - CVariable has to be invalidated if a "destroyed" event has been received. - * CVariable.java - -2003-06-23 Mikhail Khodjaiants - Fix for ClassCastException in CStackFrame. - * CStackFrame.java - -2003-06-20 Mikhail Khodjaiants - Variable bookkeeping (phase 0.1). - * ICDTLaunchConfigurationConstants.java: add a new attribute - ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING. - * ICVariable.java: added the 'canEnableDisable', 'isEnabled' and 'setEnabled' methods - * CArrayPartition.java - * CExpression.java - * CModificationVariable.java - * CRegister.java - * CStackFrame.java - * CVariable.java - -2003-06-18 Mikhail Khodjaiants - Incorrect casting in the 'setChanged' method of CVariable. - * CVariable.java - -2003-06-11 Mikhail Khodjaiants - The unused 'getUnderlyingValueString' method has been removed from ICValue and CValue. - The methods 'setChanged' and 'getUnderlyingValue' are only for internal usage and - have been removed from ICValue. - * ICValue.java - * CArrayPartitionValue.java - * CValueFactory.java - * CValue.java - * CVariable.java - -2003-06-10 Mikhail Khodjaiants - Refactoring: moved the type and value related methods from ICVariable to ICType and ICValue. - * ICType.java: new - * ICVariable.java - * ICValue.java - * CArrayPartitionValue.java - * CType.java - * CValue.java - * CVariable.java - -2003-06-09 Mikhail Khodjaiants - Added default format preferences for variables, registers and expressions. - * CExpression.java - * CRegister.java - * CVariable.java - -2003-06-09 Mikhail Khodjaiants - Renamed the 'refresh' method of ICVariable to 'reset'. Added new method - - 'reset' to CValue instead of using the 'setChanged' method. - * ICVariable.java - * CValue.java - * CVariable.java - -2003-06-06 Mikhail Khodjaiants - Mark as changed parent variables. - * CVariable.java - -2003-06-06 Mikhail Khodjaiants - Refresh only the state of variable when handling a change event. - * CVariable.java - -2003-06-06 Mikhail Khodjaiants - Correct presentation of the full names of variables that contain pointers. - * CVariable.java - -2003-06-06 Mikhail Khodjaiants - Changed the implementation of the'getName' method of CVariable to return - the actual names of array members. - * CArrayPartition.java - * CArrayPartitionValue.java - * CVariable.java - -2003-06-05 Mikhail Khodjaiants - Core support of infinite values of the floating point types. - * ICVariable.java - * CVariable.java - -2003-06-05 Mikhail Khodjaiants - Renamed the 'computeDetail' method of the 'ICValue' interface to 'evaluateAsExpression'. - * ICValue.java - * CArrayPartitionValue.java - * CValue.java - -2003-06-05 Mikhail Khodjaiants - Removed the redundant methods from the 'ICDIFloatingPointValue' interface. - * ICDIFloatingPointValue.java - * CValue.java - * CVariable.java - -2003-06-04 Mikhail Khodjaiants - Implementing the core support of the detail panel. - * ICValue.java - * ICVariable.java - * CArrayPartitionValue.java - * CValue.java - * CVariable.java - -2003-06-04 Mikhail Khodjaiants - Added the processing of reference values. - * CValue.java - -2003-06-04 Mikhail Khodjaiants - Implementing the core support of UI features for types and internal formating - (instead of using the format features provided by gdb). - * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIFloatingPointValue.java - * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIPointerValue.java - * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIReferenceValue.java - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIPointerValue.java: removed - * src/org/eclipse/cdt/debug/core/model/ICVariable.java - * src/org/eclipse/cdt/debug/internal/core/model/CVariable.java - * src/org/eclipse/cdt/debug/core/model/CValue.java - -2003-05-29 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIIntegralValue.java: - public long longValue() throws CDIException; - public int intValue() throws CDIException; - public short shortValue() throws CDIException; - public int byteValue() throws CDIException; - -2003-05-29 Mikhail Khodjaiants - Added new methods to ICVariable to vizualize arrays and structures based - on the new CDI types. - * ICVariable.java - * CVariable.java - -2003-05-27 Mikhail Khodjaiants - Check if the location of breakpoint is eligible for the target - when setting, removing or changing the propeties. - * CDebugTarget.java - -2003-03-23 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIVariable.java: - (getType): New method. - -2003-05-26 Mikhail Khodjaiants - First draft of the tracepoints in the CDI. - * ICDITraceManager.java - * ICDITraceSnapshot.java - * ICDITracepoint.java - -2003-05-23 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIType.java: extends - ICDIObject. - -2003-05-23 Alain Magloire - - First draft of the implementing the types, org.eclipse.cdt.debug.core.cdi.model.type.* - in the CDI interface. - -2003-05-14 Mikhail Khodjaiants - Created preference for the maximum number of disassembly instructions. - * CDebugTarget.java - * ICDebugConstants.java - * DisassemblyManager.java - -2003-05-12 Mikhail Khodjaiants - Moved the generation of expressions for global variables to the mi plugin. - * CDebugTarget.java - * CExpression.java - * CDebugModel.java - -2003-05-12 Mikhail Khodjaiants - When generating disassembly instructions by file name and line number check - if the frame address is in the address range of the instruction set. - If the instruction set doesn't contain the frame address generate a new instruction set - based on the frame address. - * DisassemblyManager.java - -2003-05-08 Mikhail Khodjaiants - In the "terminate" event handler of the session manager check the targets that - belong to the current session. - * SessionManager.java - -2003-05-07 Mikhail Khodjaiants - Set the error status if the debug target is suspended because of an error. - * CDebugTarget.java - -2003-05-06 Mikhail Khodjaiants - Check if the underlying debugger supports expression evaluation in the "canEvaluate" method. - * CDebugTarget.java - -2003-05-06 Mikhail Khodjaiants - Added tooltips to breakpoints and watchpoints. - * CAddressBreakpoint.java - * CBreakpoint.java - * CFunctionBreakpoint.java - * CLineBreakpoint.java - * CWatchpoint.java - -2003-05-05 Mikhail Khodjaiants - Added a status functionality to the CDebugElement class. - This allows to reflect the problems occured in the element in UI. - * ICDebugElementErrorStatus.java: new - * CDebugElement.java: implementation - * CThread.java - * CDebugTarget.java - -2003-05-05 Mikhail Khodjaiants - New method in ICBreakpoint - "isConditional". - * ICBreakpoint.java - * CBreakpoint.java - -2003-05-02 Mikhail Khodjaiants - Notify the Launch view about stack changes when handling the 'Resumed' event. - * CThread.java - -2003-05-01 Mikhail Khodjaiants - Implementation of termination policy. - * ICDIConfiguration.java: new "terminateSessionOnExit" method added. - * SessionManager.java: terminates the launch when all targets are terminated or disconnected. - * CDebugCorePlugin.java: provides an access to the current session managers. - * CDebugTarget.java - -2003-04-25 Mikhail Khodjaiants - Fix for bug 36909 - * DisassemblyManager.java: check if the address of a stack frame is not 0; - -2003-04-23 Mikhail Khodjaiants - Check for null pointer in 'isCharacter' and 'isCharPointer'. - * CValue.java - -2003-04-23 Mikhail Khodjaiants - Throw DebugException when getSignals() fails. - * CSignalManager.java - -2003-04-23 Mikhail Khodjaiants - Additional checks for the situation when the stack depth is not 0 and - the frame array is empty. - * CThread.java - -2003-04-22 Mikhail Khodjaiants - Disconnect: terminate should be called from the disconnect event handler. - * CDebugTarget.java - -2003-04-21 Mikhail Khodjaiants - Disconnnect: target should be disconnected before terminate the session - because of race condition. - * CDebugTarget.java - -2003-04-21 Mikhail Khodjaiants - Unnecessary error logging (bug 36682). - * CValue.java - -2003-04-21 Mikhail Khodjaiants - Temporary fix for character values. - * CValue.java - -2003-04-20 Alain Magloire - - * CValue.java: - Was throwing a IndexOutOfBoundException. - -2003-04-17 Mikhail Khodjaiants - Check if the underlying cdi variable is not null before accessing it. - * CVariable.java - -2003-04-16 Mikhail Khodjaiants - Quick fix for variable values. - * CValue.java - -2003-04-14 Alain Magloire - - StringBuffer.indexOf() is 1.4.x only - - * CDebugUtils.java - -2003-04-11 Mikhail Khodjaiants - Core support of function and method breakpoints. - * CDebugModel.java - * ICFunctionBreakpoint.java - * CDebugUtils.java - * CFunctionBreakpoint.java - * CDebugTarget.java - -2003-04-09 Mikhail Khodjaiants - Core support of function breakpoints. - * CDebugModel.java - * ICFunctionBreakpoint.java - * CDebugTarget.java - -2003-04-07 Mikhail Khodjaiants - Changed the message text in the 'getStackDepth' method. - * CThread.java - -2003-04-07 Mikhail Khodjaiants - Changed the message generated in the 'targetRequestFailed' methods of CDebugElement. - * CDebugElement.java - -2003-04-07 Mikhail Khodjaiants - Replaced 'toString()' by 'getMessage()' for CDI exceptions. - * CSharedLibraryManager.java - * CUpdateManager.java - * CDebugTarget.java - * CStackFrame.java - * CThread.java - * CVariable.java - -2003-04-01 Mikhail Khodjaiants - Moved the 'Auto-Refresh' preferences from CDebugUIPlugin to use it for initialization of update managers. - * ICDebugConstants.java - * CRegisterManager.java - * CSharedLibraryManager.java - -2003-04-01 Mikhail Khodjaiants - Removed the 'fDebugTarget' field from CSharedLibraryManager. - * CSharedLibraryManager.java - -2003-03-31 Mikhail Khodjaiants - The new abstract class ('CUpdateManager') is added to provide a basic implementation of ICUpdateManager. - CSignalManager, CSharedLibraryManager and CRegisterManager extend this class. - * ICRegisterManager.java: new - * CRegisterManager.java: new - * CSharedLibraryManager.java - * CSignalManager.java - * CUpdateManager.java: new - * CDebugTarget.java - * CRegisterGroup.java - -2003-03-28 Mikhail Khodjaiants - Use the 'exists' method of the 'IFile' interface instead of using 'toFile().exists()' for 'IPath'. - * CDirectorySourceLocation.java - * CSourceLocator.java - -2003-03-28 Mikhail Khodjaiants - Do not log the exceptions thrown by the breakpoint setting methods. - * CDebugTarget.java - -2003-03-28 Mikhail Khodjaiants - Added default format preference constants for variables, expressions and registers. - * ICDebugConstants.java - -2003-03-28 Mikhail Khodjaiants - Core support of the 'Run To C/C++ Line' and 'Resume At C/C++ Line' actions for external files. - * IJumpToLine.java - * IRunToLine.java - * CDebugTarget.java - * CThread.java - -2003-03-27 Mikhail Khodjaiants - Applied patch from Chris Songer: Assembly View Fixups - * ICDIInstruction.java - * DisassemblyStorage.java - -2003-03027 Alain Magloire - - Adjust the code refactor in the CoreModel for IBinary - * CDebugTarget.java - -2003-03-18 Mikhail Khodjaiants - Removed the gdb-specific variable parsing. - * ICValue.java - * CArrayPartition.java - * CArrayPartitionValue.java - * CModificationVariable.java - * CStackFrame.java - * CValue.java - * CVariable.java - * CArrayEntryVariable.java: removed - * CLocalVariable.java: removed - -2003-03-17 Mikhail Khodjaiants - Replace range by start index and length in 'Display As Array' action. - * ICDIVariableManager.java - * ICastToArray.java - * CVariable.java - -2003-03-14 Mikhail Khodjaiants - Added the 'isEditable' and 'hasChildren' methods to the 'ICVariable' interface. - * ICVariable.java - * CVariable.java - * CModificationVariable.java - -2003-03-14 Mikhail Khodjaiants - Cross-referencing projects cause the debugger to go into a stack overflow exception. - Make sure that there is only one source location for each referenced project. - * CSourceLocator.java - -2003-03-13 Alain Magloire - - No longer throw exceptions. - * src/org/eclipse/cdt/internal/core/model/CFormattedMemoryBlock.java - * src/org/eclipse/cdt/internal/core/model/CVariable.java - -2003-03-13 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java: - Also extends ICDIVariableObject. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIArgument.java: - Also extends ICDIArgumentObject. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIRegister.java: - Also extends ICDIRegisterObject - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: - getLocalVariableObject() new method. - -2003-03-09 Mikhail Khodjaiants - New ICDIVariableManager methods for the 'DisplayAsArray' and 'CastToType' actions. - * CVariable.java - -2003-03-11 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: - New methods getVariableObjectAsArray(), getVariableObjectAsType(). - -2003-03-09 Mikhail Khodjaiants - Core support of the "Display As Array" action. - * ICastToArray.java - * CLocalVariable.java - * CVariable.java - -2003-03-09 Mikhail Khodjaiants - Core support of the "Cast To Type" and "Restore Default Type" actions. - * ICastToType.java: new - * CLocalVariable.java - * CStackFrame.java - * CVariable.java - -2003-02-24 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDIRegisterObject.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDIArgumentObject.java: - Reorganized imports. - -2003-02-20 Mikhail Khodjaiants - No need to set the source search path to the debugger. - * ICSourceLocation.java - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CDebugTarget.java - -2003-02-20 Mikhail Khodjaiants - Changed to 'public' the access modifier of the 'setAssocition' method. - * CDirectorySourceLocation.java - -2003-02-18 Mikhail Khodjaiants - Added persistency to the source locator. - * plugin.xml: added dependency on the 'org.apache.xerces' plugin - * ICSourceLocation.java - * CDebugUtils.java - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceLocator.java - * CSourceManager.java - -2003-02-13 Mikhail Khodjaiants - Undo changes because the 'asyncExec' method of the 'DebugPlugin' class has added since version 2.1. - * IAsyncExecutor.java: removed - * CDebugCorePlugin.java - -2003-02-13 Mikhail Khodjaiants - Use the 'asyncExec' method of the 'DebugPlugin' class. - * IAsyncExecutor.java: removed - * CDebugCorePlugin.java - -2003-02-12 Mikhail Khodjaiants - The gdb-specific 'setAutoSolibMethod' method is removed from ICDISharedLibraryManager. - * ICDISharedLibraryManager.java - * CSharedLibraryManager.java - -2003-02-12 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/mode/ICDITarget.java (getSharedLibraries): - Remove action done via the manager. - -2003-02-12 Mikhail Khodjaiants - Use ICDIRegisterManager instead of ICDITarget. - * ICDITarget.java - * CDebugTarget.java - * CRegisterGroup.java - -2003-02-11 Mikhail Khodjaiants - The 'auto load symbols' action support in ICSharedLibraryManager. - * ICSharedLibraryManager.java - * CSharedLibraryManager.java - -2003-02-11 Mikhail Khodjaiants - The 'load symbols' actions support in ICSharedLibraryManager. - * ICSharedLibraryManager.java - * CSharedLibraryManager.java - -2003-02-10 Mikhail Khodjaiants - Support of update ('Refresh', 'Auto-Refresh) actions. - * ICUpdateManager.java: new - * ICSharedLibraryManager.java - * CSharedLibraryManager.java - -2003-02-10 Mikhail Khodjaiants - Disable the address breakpoints to prevent the debugger to insert them prematurely. - * CDebugTarget.java - -2003-02-05 David Inglis - - Refactor Constants to debug.core - * src/org/eclipse/cdt/debug/core/ICDTLaunchConfigurationConstants.java - - -2003-02-05 Mikhail Khodjaiants - Support of the 'Resume At C/C++ Line' action. - * IJumpToLine.java: new - * IJumpToAddress.java: new - * ICDebugTarget.java - * CDebugTarget.java - -2003-02-04 Mikhail Khodjaiants - Support of the 'Resume Without Signal' action. - * IResumeWithoutSignal.java: new - * ICDebugTarget.java - * CDebugTarget.java - * CThread.java - * CStackFrame.java - * CSignal.java - -2003-02-03 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java: - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java: - Added methods, signal(), jump() stepReturn(boolean) to - mimic gdb "return/finish". - -2003-02-03 Mikhail Khodjaiants - Filter out breakpoints set in unrelated projects. - * CDebugTarget.java - * CDebugUtils.java - -2003-02-03 Mikhail Khodjaiants - Implemention of the 'handle' command of the 'Signals' view. - * ICDISignal.java: added the 'handle' method - * CSignal.java: implementation of the 'handle' command. - -2003-02-03 Mikhail Khodjaiants - Implementing the 'Signals' view. - * CSignalManager.java: new - * CSignal.java: new - -2003-02-03 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/event/ICDIExitEvent.java: - Extends ICDIDestroyedEvent. - (getReason): New method. - * src/org/eclipse/cdt/debug/core/cdi/ICDISignalExitInfo.java: - New file. - * src/org/eclipse/cdt/debug/internal/core/CDebugTarget.java (handleExitEvent): - Change to conform to new ICDIExitEvent changes. - -2003-02-03 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignal.java: - (getDescription): new Method replace getMeaning(). - (isStopSet): new method. - (isIgnore): new method. - -2003-01-31 Mikhail Khodjaiants - Implementing the 'Signals' view. - * ICSharedLibraryManager.java - * ICSignalManager.java: new - * ICSignal.java: new - * CSignalManager.java: new - * CSignal.java: new - * CDebugTarget.java - -2003-01-30 Mikhail Khodjaiants - Create an address breakpoint if the source locator can not find the file specified by gdb. - * CDebugTarget.java - -2003-01-29 Mikhail Khodjaiants - Managing breakpoints from the gdb console (fixes). - * CDebugModel.java - * CAddressBreakpoint.java - * CBreakpoint.java - * CFunctionBreakpoint.java - * CLineBreakpoint.java - * CWatchpoint.java - * CDebugTarget.java - -2003-01-29 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibraryManger.java (getSharedLibraryPaths): - New method. - (setSharedLibraryPaths): New method. - (setAutoLoadSymbols): New method. - -2003-01-28 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (setCurrentFrame): - New method. - -2003-01-27 Mikhail Khodjaiants - Managing breakpoints from the gdb console. - * CDebugCorePlugin.java - * CDebugModel.java - * IAsyncExecutor.java - * ICSourceLocator.java - * CAddressBreakpoint.java - * CBreakpoint.java - * CFunctionBreakpoint.java - * CLineBreakpoint.java - * CWatchpoint.java - * CDebugTarget.java - * CSourceLocator.java - * CSourceManager.java - -2003-01-27 Mikhail Khodjaiants - Use 'equals' to compare CDI variables instead of names. - * CStackFrame.java - -2003-01-27 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java: - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIArgumentObject.java: - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterObject.java: - Move to model package. - * src/org/eclipse/cdt/debug/core/cdi/ICDIRegisterManager.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: - * src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java: - * src/org/eclipse/cdt/debug/internal/core/model/CRegisterGroup.java: - Refactor/move of the ICDIRegisterObject and ICDIVariableObject - -2003-01-25 Alain Magloire - - Added new Managers: - ICDIVariableManager - ICDIExpressionManager - ICDIRegisterManager - ICDIManager. - - Refactor of CSession to Session, CTarget to Target - and CThread to Thread. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java (getGlobalVariables): - Removed. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (getCurrentStackFrame): - New method. - * src/org/eclipse/cdt/debug/core/cdi/ICDIManger.java: - New interface for the managers. - * src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManger.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDIExpressionManger.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManger.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDIRegisterManger.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDISignalManger.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDISourceManger.java: - * src/org/eclipse/cdt/debug/core/cdi/ICDISharedLibraryManger.java: - Extends ICDIManager. - * src/org/eclipse/cdt/debug/core/cdi/ICDISession.java: - New method to return the managers. - - * src/org/eclipse/cdt/debug/internal/core/model/CDebuTarget.java: - * src/org/eclipse/cdt/debug/internal/core/model/CFormattedMemoryBlock.java: - Use the destroyEvent - - -2003-01-21 Alain Magloire - * src/org/eclipse/cdt/debug/core/cdi/event/ICDIConfiguration.java - (supportsSharedLibary): New method. - -2003-01-21 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/event/ICDISuspendedEvent.java: - Use ICDISignalReceived instead. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignal.java: - New file, element of the SignalManager. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignalManager.java: - Return model/ICDISignal. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignalReceived.java: - New file. - * src/org/eclipse/cdt/debug/core/internal/core/model/CDebugTarget.java: - Use ICDISignalReceived. - * src/org/eclipse/cdt/debug/core/internal/core/model/CThread.java: - Use ICDISignalReceived. - -2003-01-21 Mikhail Khodjaiants - Retry to set breakpoints if shared library's symbols are loaded. - * CDebugTarget.java - * CThread.java - * CSharedLibraryManager.java - -2003-01-20 Mikhail Khodjaiants - Fix for the 'Show breakpoints supported by selected target' action. - * CDebugTarget.java - -2003-01-20 Alain Maglorei - - * src/build.properties: Add schema in soure.cdtdebugcore.jar - variable. - -2003-01-17 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDISharedLibraryManager.java - (loadSymbols): new method takes an array of IShareLibrary - (loadSymbols): no arguments. - -2003-01-16 Mikhail Khodjaiants - Implementing the Shared Libraries view. - * ICSharedLibrary.java - * ICSharedLibraryManager.java - * CDebugElement.java - * CDebugTarget.java - * CSharedLibrary.java - * CSharedLibraryManager.java - -2003-01-16 Mikhail Khodjaiants - * ICDILoadedEvent.java: Removed. - -2003-01-16 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIStringValue.java: Removed. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIArrayValue.java: Removed. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIStructureValue.java: Removed. - -2003-01-16 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDISession.java (getSharedLibraryManager): - New method. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibrary.java (areSymbolsLoaded): - Rename symbolsRead() to areSymbolsLoaded(). - -2003-01-15 Mikhail Khodjaiants - Added the 'ICDISharedLibraryManager' interface. - * ICDISharedLibraryManager.java - -2003-01-15 Mikhail Khodjaiants - Added new methods to the 'ICDISharedLibrary' interface. - * ICDISharedLibarary.java - -2003-01-14 Mikhail Khodjaiants - Check if thread is already disposed in the CDI event handler because the array of listeners used by EventManager - in some situations is not up to date. - * CThread.java - -2003-01-14 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: New file. - * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableObject.java: New file. - * src/org/eclipse/cdt/debug/core/cdi/ICDIArgumentObject.java: New file. - -2003-01-13 Mikhail Khodjaiants - Added the 'IRunToAddress' interface to support the 'Run To Line' action in disassembly. - * ICDebugTarget.java: extends IRunToAddress - * IRunToAddress.java: new interface - * CDebugTarget.java: implementation - -2003-01-13 Mikhail Khodjaiants - Fix in the thread created event handler: do nothing if thread has already created. - * CDebugTarget.java - -2003-01-10 Mikhail Khodjaiants - Implementation of address breakpoints. - * ICAddressBreakpoint.java - * ICDebugTarget.java - * IDisassemblyStorage.java - * CDebugModel.java - * ICBreakpointManager.java - * CAddressBreakpoint.java - * CFunctionBreakpoint.java - * CDebugTarget.java - * CStackFrame.java - * DisassemblyManager.java - * DisassemblyStorage.java - -2003-01-06 Alain Magloire - - * build.properties: Patch from Judy Green. - -2003-01-06 Mikhail Khodjaiants - Check if project exists when generating the source locations. - * CSourceLocator.java - -2003-01-06 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java (createLocation): - New method to take an address. - -2003-01-02 Mikhail Khodjaiants - The 'DisassemblyStorage' class implements an adapter for the 'IResource' class and returns the executable file. - * IExecFileInfo.java: added a new method: 'getExecFile' - * CDebugTarget.java - * DisassemblyStorage.java - -2003-01-02 Mikhail Khodjaiants - If breakpoint or watchpoint has been disabled before launching the debugger doesn't disable it. - * CDebugTarget.java - -2002-12-29 Mikhail Khodjaiants - Implementation of the 'Source Lookup' property page. - * IDirectorySourceLocation.java: new interface - * IProjectSourceLocation.java: new interface - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - * CSourceLocator.java - -2002-12-29 Mikhail Khodjaiants - Fix in the 'supportsBreakpoints' method of CDebugTarget - * CDebugTarget.java: No need to check if the breakpoint file belongs to the source locator. - -2002-12-18 Mikhail Khodjaiants - Implementing the 'Source Lookup' property page. - * CDirectorySourceLocation.java - * CProjectSourceLocation.java - -2002-12-18 Mikhail Khodjaiants - Check if CValue has variables before calling 'getCDIVariables'. - * CValue.java - -2002-12-17 Mikhail Khodjaiants - Formatting 'char' types. - * CValue.java - * CModificationVariable.java - -2002-12-17 Mikhail Khodjaiants - The core support of the prompting source locator. - * ICSourceLocator.java - * CDebugTarget.java - * CDirectorySourceLocation.java - * CSourceLocator.java - * CSourceManager.java - * DisassemblyManager.java - -2002-12-17 Mikhail Khodjaiants - The 'getLineNumber' method of CStackFrame should return the line number associated with the stack frame if the current source locator - does not implement 'ICSourceLocator'. - * CStackFrame.java - -2002-12-17 Mikhail Khodjaiants - Changed the implementation of the 'refresh' method of CVariable. - * CVariable.java - -2002-12-16 Mikhail Khodjaiants - Added support of variable formatting. - * ICValue.java: new type - TYPE_UNKNOWN - * ICVariable: new interface for object contribution, set/get format and refresh methods - * CValue.java - * CVariable.java - -2002-12-13 Mikhail Khodjaiants - Display message when 'getStackDepth' is timed out. - * CThread.java - -2002-12-10 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java (setFormat): - New method to change the variable formats(hexa, octal, etc..) - -2002-12-10 Mikhail Khodjaiants - If the given source file path is absolute and the source locator can not find it in the all specified locations return a FileStorage object. - * CSourceLocator.java - -2002-12-09 Mikhail Khodjaiants - Split the detail message of ICDIErrorInfo into tokens and trancate aech token if it is too long. - * CDebugTarget.java - -2002-12-08 Mikhail Khodjaiants - Display the error message with details when program is suspended because of ICDIErrorInfo. - * CDebugTarget.java - -2002-12-05 Alain Magloire - - Some debuggers like gdb/mi can provide detail information, for example - gdb/mi dumps errors in mi "log stream" output. - - * src/.../cdi/CDIException.java (getDetailMessage): New method to provide - more information it need be. - * src/.../cdi/ICDIErrorInfo.java (getDetailMessage: New method. - -2002-12-04 Mikhail Khodjaiants - Added the 'setChanged' method to ICValue. This method should common for CValue and - CArrayPartitionValue to implement 'setChanged' of CVariable correctly. - * ICValue.java - * CArrayPartitionValue.java - * CVariable.java - -2002-12-02 Mikhail Khodjaiants - Refactoring - files moved from org.eclipse.cdt.debug.core to the new package: org.eclipse.cdt.debug.core.model: - * ICBreakpoint.java - * ICDebugTarget.java - * ICExpressionEvaluator.java - * ICFunctionBreakpoint.java - * ICLineBreakpoint.java - * ICValue.java - * ICWatchpoint.java - * IDebuggerProcessSupport.java - * IDummyStackFrame.java - * IExecFileInfo.java - * IFormattedMemoryBlock.java - * IFormattedMemoryBlockRow.java - * IGlobalVariable.java - * IInstructionStep.java - * IRestart.java - * IRunToLine.java - * IStackFrameInfo.java - * IState.java - * ISwitchToFrame.java - * ISwitchToThread.java - * ICDebugTargetType.java: new interface - * IFormattedMemoryRetrieval: removed - - -2002-12-02 Mikhail Khodjaiants - Check if the underlying IFile exists when retrieving the path of global variable. - * CDebugTarget.java - -2002-12-02 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/ICDIErrorInfo.java: New file. - -2002-11-28 Mikhail Khodjaiants - 'exec-until' instead of temporary breakpoints for 'run to line'. - * CDebugTarget.java - * CThread.java - -2002-11-28 Mikhail Khodjaiants - Live editing of the memory view: removed support of the 'Save Changes' action. - * IFormattedMemoryBlock.java - * CFormattedMemoryBlock.java - -2002-11-27 Alain Magloire - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java (runUntil): new method. - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (runUntil): new method. - -2002-11-27 Mikhail Khodjaiants - Typo in plugin.properties. - -2002-11-27 Mikhail Khodjaiants - Fire suspend event for debug target that doesn't have threads. - * CDebugTarget.java - -2002-11-27 Alain Magloire - - * src/.../debug/internal/core/model/CDebugTarget.java (isLittleEndian): - Use CoreModel.getDefault(). - (getGlobals): Use CoreModel.getDefault(). - -2002-11-24 Mikhail Khodjaiants - Fix for watchpoints. - * CSourceLocator.java - -2002-11-22 Mikhail Khodjaiants - Cache source elements to optimize search. - * CProjectSourceLocator.java - -2002-11-22 Mikhail Khodjaiants - Fix in the source locator's search algorithm. - * CProjectSourceLocator.java - -2002-11-21 Mikhail Khodjaiants - The memory view does not display values if the address expression is '0xFFFFFFFF'. - * CFormattedMemoryBlock.java - -2002-11-21 Mikhail Khodjaiants - Added the handler of ICDIDestroyedEvent to 'CFormattedMemoryBlock. - * CFormattedMemoryBlock.java - -2002-11-20 Mikhail Khodjaiants - Fix for bug 26595. - The type of the address expression has been changed from String to ICDIExpression to handle - changes of the start address. - * CDebugModel.java - * CFormattedMemoryBlock.java - * IFormattedMemoryBlock.java: added the 'isStartAddressChanged' method. - -2002-11-15 Mikhail Khodjaiants - Partial fix for bug 25956. - * DisassemblyManager.java: Filter out the instructions that do not belong to the function. - -2002-11-15 Mikhail Khodjaiants - If the backtrace is very deep the debugger is unable to parse MI output. - The limited number of stack frames will be displayed. - * IDummyStackFrame.java - * CDummyStackFrame.java - * CStackFrame.java - * CThread.java - -2002-11-14 Alain Magloire - - This is needed in post-mortem, application doing a - very deep recursion and crashing the stack size, for example - on GNU/Linux it may reach 200000 levels deep. Trying to - bring in the UI a bactrace tree of 200000 nodes is useless. - The UI could check the count and do the appropriate action - by showing ranges etc .. - - * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (getStackFrames): - New method to provide a range lowFrame and highFrame. - (getStackFrameCount): New method returns the depth level - of the stackframes. - -2002-11-13 Mikhail Khodjaiants - Fix for the stepping problem if the selected stack frame is not the topmost one. - * CStackFrame.java: The 'stepToFrame' method is temporary replaced by corresponding step method. - -2002-11-13 - * schema/CDebugger.exsd - * src/org/eclipse/cdt/debug/core/ICDebugConfiguration.java - * src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java - Added supported CPU to Debugger extension. - -2002-11-07 Mikhail Khodjaiants - When a referenced project is deleted it's location is null. The source locator should - check this when it returns the path array. - * CProjectSourceLocation.java - -2002-11-05 Mikhail Khodjaiants - Added support of the 'Add Global Variables' action of the Expressions view. - * IExecFileInfo.java - * IGlobalVariable.java - * CDebugTarget.java - -2002-11-03 Mikhail Khodjaiants - Added support of the formatting actions of the Memory view. - * IFormattedMemoryBlock.java - * CFormattedMemoryBlock.java - * CDebugTarget.java - * CDebugUtils.java - -2002-11-01 Mikhail Khodjaiants - Added conversion utilities to support decimal format in the Memory View. - * CDebugUtils.java - -2002-11-01 Mikhail Khodjaiants - Added the 'IExecFileInfo' interface to provide access to the executable file information. - * IExecFileInfo.java: definition - * CDebugTarget.java: implementation - -2002-10-31 Mikhail Khodjaiants - Replaced the 'IProject' argument by 'IFile' in the debug target factory methods - second phase. - * CDebugModel.java: removed unused debug target factory methods. - * CDebugTarget.java: removed unused constructor. - -2002-10-31 Mikhail Khodjaiants - Replaced the 'IProject' argument by 'IFile' in the debug target factory methods. - * CDebugModel.java - * CDebugTarget.java - -2002-10-31 Mikhail Khodjaiants - Fixed the synchronization bug. - * CFormattedMemoryBlock.java - -2002-10-30 Mikhail Khodjaiants - Implementing the 'Refresh Memory' action. - * IFormattedMemoryBlock.java: added the 'refresh' method. - * CFormattedMemoryBlock.java: implementation of the 'refresh' method. - -2002-10-30 Mikhail Khodjaiants - Implementation of the 'SaveMemoryChanges' action. - * IFormattedMemoryBlock.java: added the 'saveChanges' method. - * CFormattedMemoryBlock.java: implementation of the 'saveChanges' method. - -2002-10-30 Mikhail Khodjaiants - Fix for bug 25283. - * CDebugTarget.java: in 'setCurrentThread' method set the 'isCurrent' flag to false for the currently current thread. - -2002-10-29 Mikhail Khodjaiants - Implementing editing features of the memory view. - * IFormattedMemoryBlockRow.java - * IFormattedMemoryBlock.java - * CFormattedMemoryBlock.java - -2002-10-28 Mikhail Khodjaiants - Implementing editing features of the memory view. - * IFormattedMemoryBlockRow.java - * CFormattedMemoryBlock.java - -2002-10-27 Mikhail Khodjaiants - * IFormattedMemoryBlock.java: added the 'setItemValue' method. - * CFormattedMemoryBlock.java: implementation of the 'setItemValue' method. - -2002-10-16 Alain Magloire - - * src/.../core/cdi/model/ICDIMemoryBlock.java (refresh): - New method. - -2002-10-25 Mikhail Khodjaiants - * CDebugUtils.java: Added utilities to convert textual presentation of memory to bytes. - -2002-10-25 Mikhail Khodjaiants - * IFormattedMemoryBlock.java: Replaced 'MEMORY_BYTES_PER_ROW_...' constants by 'MEMORY_NUMBER_OF_COLUMNS_...'. - -2002-10-25 Mikhail Khodjaiants - Remove the 'setWordSize' method from 'IFormattedMemoryBlock' and use 'reformat' instead. - * IFormattedMemoryBlock.java: removed the 'setWordSize' method. - * CFormattedMemoryBlock.java: removed the implementation of 'setWordSize' method. - -2002-10-24 Mikhail Khodjaiants - Support of the "Memory Unit Size" action. - * IFormattedMemoryBlock.java: added the 'setWordsize' method. - * CFormattedMemoryBlock.java: implementation of the 'setWordSize' method. - -2002-10-24 Mikhail Khodjaiants - Moved the memory format constants from IFormattedMemoryRetrieval.java - to IFormattedMemoryBlock.java. - * IFormattedMemoryRetrieval.java - * IFormattedMemoryBlock.java - -2002-10-24 David Inglis - * CDebugTarget.java - fix exception on shutdown with a connected target, CDI session - was not terminated. - -2002-10-23 Mikhail Khodjaiants - Support for debugger console. - * CDebugModel.java: new factory methods for CDebugTarget - * IDebuggerProcessSupport: new interface that defines the debugger - process support functionality. - * CDebugTarget.java: implementation of IDebuggerProcessSupport interface. - -2002-10-22 Alain Magloire - - * src/.../cdi/ICDISession.java (getSessionProcess): - New method to let user acess directly the debugger. - -2002-10-20 Mikhail Khodjaiants - Added a functionality needed to process ICDIMemoryChangedEvent. - * IFormattedMemoryBlock.java - * CFormattedMemoryBlock.java - -2002-10-20 Alain Magloire - - * src/.../cdi/model/ICDITarget.java (getMemoryBlock): Remove - we use the MemoryManager instead. - (evaluateExpressionToValue): Remove not used. - * src/.../cdi/model/ICDISourceManager.java (getFile): Remove not use. - (setFile): Remove not use. - (reset): Remove not use. - -2002-10-19 Alain Magloire - - The UI needs to be told when the memory changes - so it can update the memory view. The responsability - of this been push to the CDI implementation to generate - events(ICDIMemoryChangedEvent) for modified memories. The - getSource() method of the class should return an ICDIMemoryBlock. - Note that the CDI implementation will only try to generate - the event for ICDIMemoryBlock that are not frozen(setFrozen()) since this - is a potentially very time consuming operation. - - * src/.../cdi/event/ICDIMemoryChangedEvent.java: New Class. - -2002-10-17 Mikhail Khodjaiants - Implementing the memory view support: - * CFormattedMemoryBlock.java: implementation of the 'dispose' method added. - -2002-10-17 Mikhail Khodjaiants - Implementing the memory view support: - * CDebugModel.java - * ICMemoryManager.java - * IFormattedMemoryBlock.java - * CFormattedMemoryBlock.java - * CDebugUtils.java - * CMemoryManager.java - -2002-10-16 Alain Magloire - - In the memory manager a string should be allowed to - create a block since an expression can be use. - - * src/.../debug.core.cdi/ICDIMemoryManager.java (createMemoryBlock): - New method that takes a string as the first argument. - -2002-10-15 Mikhail Khodjaiants - * CDebugModel.java: Implementing the memory view support. - * ICMemoryManager: Implementing the memory view support. - * IFormattedMemoryBlock.java: Implementing the memory view support. - * CDebugTarget.java: Implementing the memory view support. - * CFormattedMemoryBlock.java: Implementing the memory view support. - * CMemoryManager.java: Implementing the memory view support. - -2002-10-15 Mikhail Khodjaiants - * ICDebugConstants.java: New interface that contains the constant definitions for C/C++ debug plug-in. - * CSourceManager.java: Implementation of the 'Automatically switch to disassembly mode' preference. - -2002-10-15 Mikhail Khodjaiants - * CThread.java: The previous fix should be done only when switching between frames of the same thread. - -2002-10-14 Mikhail Khodjaiants - * CThread.java: Reset the register's change flag before switching to another frame. - -2002-10-14 Mikhail Khodjaiants - * CThread.java: Set the correct detail for 'resume' event to prevent collapsing of the variable's and - register's trees after stepping. - -2002-10-14 Mikhail Khodjaiants - * ISwitchToThread.java: New method to get the current thread. - * CDebugTarget.java: Implemented the 'getCurrentThread' method of the 'ISwitchToThread' interface. - * CDebugTarget.java: Fix in the 'setCurrentThread' method. - -2002-10-12 Alain Magloire - - * core/cdi/model/ICDIMemoryBlock (supportValueModification): - Remove the method, it should be part of a ICDIConfiguration. - - * core/cdi/ICDIMemoryManager (getBlock): Rename to getMemoryBlock - (createMemoryBlock): New method to get a memory block. - -2002-10-12 Alain Magloire - - * core/cdi/ICDILocation (getInstructions): Methods - removed is now part of SourceManager. - -2002-10-11 Mikhail Khodjaiants - * CDebugTarget.java: Added return for ISourceMode to 'getAdapter'. - * CSourceManager.java: Set the real mode when setting the source mode. - -2002-10-11 Mikhail Khodjaiants - * DisassemblyStorage.java: Changed the format of the disassembly view's output. -2002-10-11 Alain Magloire - - * ICDISourceManager.java (getMixedInstructions): Three - new methods to get the src and the intructions. - - * ICIDMixedInstruction: New Class that return the mixed - of source location and assembly instructions. - -2002-10-10 Mikhail Khodjaiants - * CVariable.java: Made the 'fChanged' field protected to access to it from the derived class (CRegister). - * CRegister.java: Added the 'hasValueChanged' method to 'CRegister'. - -2002-10-10 Mikhail Khodjaiants - * CThread.java: Check if the selected frame is current before calling 'setCurrentStackFrame'. - -2002-10-10 Mikhail Khodjaiants - * CStackFrame.java: Added Getter and Setter for 'fRefreshVariables'. - -2002-10-10 Mikhail Khodjaiants - * DisassemblyManager.java: Replaced 'getInstructions( String fileName, int lineNumber )' - by 'getInstructions( String fileName, int lineNumber, int maxLineCount )'. - -2002-10-10 Mikhail Khodjaiants - * CDebugTarget.java: Implementing the disassembly mode. - * CThread.java: Implementing the disassembly mode. - -2002-10-10 Mikhail Khodjaiants - * CSourceManager.java: Implementing the disassembly mode. - * DisassemblyManager.java: Implementing the disassembly mode. - * DisassemblyStorage.java: Implementing the disassembly mode. - * CDebugUtils.java: Added the 'toHexAddressString' method. - -2002-10-10 Alain Magloire - - * ICDISourceManager.java: Changing the getInstructions() - method to take long instead of String. diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog-2003 b/debug/org.eclipse.cdt.debug.core/ChangeLog-2003 new file mode 100644 index 00000000000..905937a62dc --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog-2003 @@ -0,0 +1,1689 @@ +2003-12-23 Mikhail Khodjaiants + Fix for bug 49294: Source file doesn't change when switching between stack frames. + Do not use the breakpoint's markers for source lookup. + * CSourceManager.java + +2003-12-08 Mikhail Khodjaiants + Reset the 'terminating' flag if 'terminate' fails. + * CDebugTarget.java + +2003-11-26 Mikhail Khodjaiants + Extracted the main part of the 'breakpointAdded' method into a separate method to avoid + double checking. + * CDebugTarget.java + +2003-11-26 Mikhail Khodjaiants + Cleanup. + * CDebugModel.java + * CDebugUtils.java + * CRegisterManager.java + * CSharedLibraryManager.java + * CSignalManager.java + * CUpdateManager.java + * CDebugTarget.java + * CThread.java + * CVariable.java + +2003-11-10 Mikhail Khodjaiants + Ensure that all breakpoint creation and modification operations are running in the UI thread. + * CBreakpointManager.java + +2003-11-10 Mikhail Khodjaiants + Added synchronization to some of the 'CBreakpoint' methods. + * CBreakpoint.java + +2003-11-07 Mikhail Khodjaiants + Fix for PR 46358: NPE in the "setCurrentThread" method of "CDebugTarget". + 'setCurrentThread': check if the old current thread is not null. + * CDebugTarget.java + +2003-11-07 Mikhail Khodjaiants + Use the corresponding methods of 'ICBreakpoint' to set breakpoint properties. + * CBreakpointManager.java + +2003-11-07 Mikhail Khodjaiants + Fix for PR 46303: Exception when selecting Debug... menu. + Check if the string passed to the 'getCommonSourceLocationsFromMemento' method is not empty. + * SourceUtils.java + +2003-11-05 Mikhail Khodjaiants + 'getCDIBreakpointFile' returns wrong file for address breakpoints. + * CBreakpointManager.java + +2003-11-05 Mikhail Khodjaiants + Changed the handling of the breakpoint created event to reflect the CDI changes for deferred + breakpoints support. + * CBreakpointManager.java + * CSharedLibraryManager.java + * CDebugTarget.java + +2003-11-05 Mikhail Khodjaiants + Moved all breakpoint-related functionality to the new class - 'CBreakpointManager'. + * CBreakpointManager.java + +2003-11-05 Mikhail Khodjaiants + The argument type of the 'getBreakpointAddress' method of 'ICBreakpointManager' is changed from + 'ICBreakpoint' to 'ICBreakpointManager'. + * ICBreakpointMaanger.java + +2003-10-30 Mikhail Khodjaiants + * CSourceManager.java: implements adapters for 'ISourceMode' and 'IPersistableSourceLocator'. + +2003-10-30 Mikhail Khodjaiants + Fix for PR 45818 doesn't solve the problem. Fall back to the previous version. + * CDebugElement.java + +2003-10-30 Mikhail Khodjaiants + Fix for PR 45818: NPE when closing the workbench. + * CDebugElement.java + +2003-10-29 Mikhail Khodjaiants + * CProjectSourceLocation.java: check if the searched element name is not null or empty. + +2003-10-29 Mikhail Khodjaiants + Added the 'dispose' method to 'ICSourceLocation'. + * ICSourceLocation.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java: made 'dispose' public. + +2003-10-29 Mikhail Khodjaiants + * CProjectSourceLocation.java: added 'toString' method. + +2003-10-28 Mikhail Khodjaiants + Search only in the parent folders if the given file path is absolute. + Return a list only if the number of resulting files is > 1. + * CDirectorySourceLocation.java + +2003-10-27 Mikhail Khodjaiants + Renamed 'SourceLocationFactory' to 'SourceLookupFactory'. + Added the 'createSourceLocator' method to 'SourceLookupFactory'. + * SourceLookupFactory.java + * CSourceLocator.java + +2003-10-27 Mikhail Khodjaiants + Changed the 'getAdapter' method of 'CSourceManager' to return the adapter of + the 'ICSourceLocator' class. + * CSourceManager.java + +2003-10-26 Mikhail Khodjaiants + Fix for PR 45534: gdb/MI error in retrieving a register can lead to an empty register pane. + * CRegister.java + * CRegisterGroup.java + +2003-10-23 Mikhail Khodjaiants + Core support of the new workbench preferences: 'Source Locations' and 'Search + For Duplicate Source Files'. + * CDebugCorePlugin.java + * ICDebugConstants.java + * SourceUtils.java: new + +2003-10-20 Mikhail Khodjaiants + Core support of the "Search subfolders" option for directory source locations. + * IDirectorySourceLocation.java + * SourceLocationFactory.java + * CDirectorySourceLocation.java + +2003-10-20 Mikhail Khodjaiants + Do not interrupt the initialization of all additional source locations + if the initialization of one fails. + * CSourceLocator.java + +2003-10-17 Alain Magloire + + ICDIBreakpointManager new method + setLocationBreakpoint(...., deferred); + The new boolean "deferred" indicate if yes or not the breakpoint + should be on the deferred list if the setting fails. + + * ICDIBreakpointManager.java + +2003-10-17 Mikhail Khodjaiants + Core support of the 'Search for duplicate source files' option. + * ICSourceLocation.java + * ICSourceLocator.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceLocator.java + * CSourceManager.java + +2003-10-17 Mikhail Khodjaiants + If the target is suspended by a line breakpoint the source manager tries to retrieve + the file resource from the breakpoint marker. + * CSourceManager.java + * CDebugTarget.java + +2003-10-15 Mikhail Khodjaiants + Improving the source search algorithms. + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceLocator.java + +2003-10-14 Mikhail Khodjaiants + Improved the source search algorithm. + * CProjectSourceLocation.java + +2003-10-13 Mikhail Khodjaiants + Fix for bug 43372: changed the source lookup procedures to avoid the usage of 'getCanonicalPath'. + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + +2003-10-07 Mikhail Khodjaiants + All methods of 'IRuntimeOptions' should throw CDI exceptions in case of failure. + * ICDIRuntimeOptions.java + +2003-10-06 Mikhail Khodjaiants + Added the "isArgument" method to ICVariable. This method is used to distinguish + the arguments in the Variables View. + * ICVariable.java + * CVariable.java + +2003-09-30 Mikhail Khodjaiants + Use the new 'equals' method of ICDIVaraiableObject to compare variables. + * CVariable.java + +2003-09-30 Alain Magloire + + ICDIVariableObject been updated with a new method. + * CVariable.java + * ICDIVariable.java + +2003-09-29 Mikhail Khodjaiants + Fix for PR 43856: Format doesn't work for wchar_t. + * CValue.java + +2003-09-23 Mikhail Khodjaiants + Changed the 'hasStackFrames' method of the 'CThread' class to return true regardless if + the thread contains stack frames or not. This method is only used by UI to update the thread label. + * CThread.java + +2003-09-17 Mikhail Khodjaiants + Temporary fix for PR 39061: Attach source does not work for applications compiled in CygWin. + * CDirectorySourceLocation.java + +2003-09-16 Mikhail Khodjaiants + Fix for PR 38468: Error in files location. + Use the 'getCanonicalPath' method of the 'File' class to obtain the file name. + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceLocator.java + +2003-09-15 Mikhail Khodjaiants + Fix for PR 43101: Breakpoint exception when source doesn't exist. + The 'fireBreakpointChanged' method of 'BreakpointManager' is used to notify + the UI components that a breakpoint is added. This is a part of new implementation + to support deffered breakpoints. For new breakpoints the 'delta' argument is null. + Check if delta is not null to avoid this problem. + * CDebugTarget.java + +2003-09-11 Mikhail Khodjaiants + Detail Pane values for casted variables. + * CVariable.java: the qualified name should be chached in the InternalVariable instance + * CArrayPartition.java: added new field to store the chached value of the qualified name + +2003-10-11 Mikhail Khodjaiants + Moving the shared library search paths block to mi UI. + * ICDTLaunchConfigurationConstants.java: moved the 'ATTR_DEBUGGER_SOLIB_PATH' attribute to mi. + +2003-09-10 Mikhail Khodjaiants + If breakpoint is a line breakpoint check if source locator contains this file + instead of container project. + * CDebugTarget.java + +2003-09-10 Mikhail Khodjaiants + Fix for PR 42790: Memory view is not cleared when target is terminated. + * CFormattedMemoryBlock.java: fire 'terminate' event when block is disposing. + * CMemoryManager.java: implementation of 'dispose'. + +2003-09-09 Mikhail Khodjaiants + Fix for PR 39680: Gash in error message for memory view. + * CDebugModel.java + +2003-09-09 Mikhail Khodjaiants + Final fix for PR 39484: Move 'getType' method from ICDIVariable to ICDIVaraibleObject. + * CArrayPartition.java + * CVariable.java + +2003-09-09 Mikhail Khodjaiants + Regrouping the launch configuration constants. + * ICDTLaunchConfigurationConstants.java + +2003-09-09 Mikhail Khodjaiants + Removed the internal handling of the 'stop-on-shared-library-events' option - + will be moved to the mi. + Try to set the deferred breakpoints only when: + - a shared library is loaded + - the symbols of shared library are loaded + * CSharedLibararyManager.java + * CDebugTarget.java + * CThread.java + +2003-09-09 Mikhail Khodjaiants + Added the 'getSharedLibraryPaths' and 'setSharedLibraryPaths' methods + to the 'ICDISharedLibraryManager' interface. + * ICDISharedLibraryManager.java + +2003-08-29 Mikhail Khodjaiants + Implementation of deferred breakpoints. + * CDebugTarget.java + * CThread.java + +2003-08-29 Mikhail Khodjaiants + Moving shared library features from mi to CDI. + Added new launch configuration constants to ICDTLaunchConfigurationConstants. + +2003-08-29 Mikhail Khodjaiants + Moving shared library features from mi to CDI. + Added new methods to ICDISharedLibraryManager: + - isAutoLoadSymbols + - isStopOnSolibEvents + - setAutoLoadSymbols + - setStopOnSolibEvents + - supportsAutoLoadSymbols + - supportsStopOnSolibEvents + * ICDISharedLibraryManager.java + +2003-08-21 Mikhail Khodjaiants + Removed the 'isAccessSpecifier' method from CVaraiable. + * CArrayPartitionValue.java + * CValue.java + * CVariable.java + +2003-08-21 Mikhail Khodjaiants + Use the names of array's elements returned by CDI. + * CVariable.java + +2003-08-20 Mikhail Khodjaiants + Unable to terminate post mortem debugging session. + Extended the 'CDebugTarget' class to overload the 'terminate' and 'canTerminate' methods. + * CDebugModel.java + * CCoreFileDebugTarget.java: new + +2003-08-19 Mikhail Khodjaiants + Create ICDIVariableObject for each array partition to compute a detail panel's value. + * CArrayPartition.java + * CVariable.java + +2003-08-18 Alain Magloire + + ICDISharedLibraryEvent.java: + New file, to notify a breakpoint from a shared lib event. + +2003-08-13 Mikhail Khodjaiants + * ICDIVariableManager.java: removed the 'type' parameter from the 'getVariableObjectAsArray' method + * ICastToArray.java: removed the 'type' parameter from the 'castToArray' method + * CVariable.java: changed the implementation of the 'ICastToArray' interface + +2003-08-13 Mikhail Khodjaiants + * ICDIVariable.java: removed the 'isEditable' method + * ICDIVariableObject.java: added the 'isEditable', 'getQualifiedName' and 'sizeof' methods + * ICDIArrayValue.java: added the 'getVariables(int start, int length)' method + * ICType.java: added the 'isReference' method + * ICValue.java: added the 'dispose' method + * CArrayPartition.java + * CArrayPartitionValue.java + * CGlobalVariable.java + * CType.java + * CValue.java + * CValueFactory.java + * CVariable.java + Create 'var-objects' only for the requested array partitions. + +2003-08-07 Alain Magloire + + * ICDIVariableManager.java: + Remove the unused method getVariableObject(ICDIStackframe, String) + and getArgumentObject(ICDIStackframe, String). + Rename getVariableObject(String, String, String) to + getGlobalVariableObject. + + * CDebugModel.java: Refactoring of ICDIVariableManager. + +2003-08-06 Mikhail Khodjaiants + Added the implementation of the 'getType' and 'getTypeName' methods of the 'CVaraible:ErrorVariable' class. + * CVariable.java + +2003-08-06 Mikhail Khodjaiants + Uncommented the 'sizeof' method of 'ICDIVariableObject'. + * ICDIVariableObject.java + * CVariable.java + +2003-08-06 Alain Magloire + + Move some of the methods in ICDIVariableObject. + + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariable.java + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableObject.java + +2003-08-05 Mikhail Khodjaiants + Use the 'getReferencedProject' method to obtain all referenced projects. + * CDebugUtils.java + +2003-08-05 Mikhail Khodjaiants + Invalidate error variables when the session is resumed. + * CVariable.java + +2003-07-30 Mikhail Khodjaiants + Moved the 'getReferencedProject' method to 'CDebugUtils'. Added the cycle checking. + * CDebugUtils.java + * CSourceLocator.java + +2003-07-28 Mikhail Khodjaiants + Minimize the number of the "evaluate expression" requests when changing the value of the floating point types. + * CDebugUtils.java + +2003-07-28 Mikhail Khodjaiants + Refactoring: moved the 'isNaN', 'isPositiveInfinity' and 'isNegativeInfinity' to the 'CDebugUtils' class. + * ICValue.java + * CValue.java + * CDebugUtils.java + +2003-07-28 Mikhail Khodjaiants + Refactoring: moved the 'CDebugUtils' class to the 'org.eclipse.cdt.debug.core' package - + the methods of this class are mostly used in UI plugins. + * CDebugUtils.java + * CDebugModel.java + * DisassemblyStorage.java + * CAddressBreakpoint.java + * CDebugTarget.java + * CFormattedMemoryBlock.java + * CDebugElement.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceLocator.java + +2003-07-28 Mikhail Khodjaiants + Cleanup. Removed the unused 'getNumberOfChildren' method from the 'CValue' class. + * CValue.java + +2003-07-28 Mikhail Khodjaiants + Cleanup. Removed the 'reset' and 'getQualifiedName' methods from the 'ICVaraible' interface. + * ICVariable.java + * CVariable.java + +2003-07-24 Mikhail Khodjaiants + Fix for PR 40696. If the project contains the reference to a project that is + deleted from the workspace the source locator tries to get the location of deleted project. + * CProjectSourceLocation.java + +2003-07-22 Mikhail Khodjaiants + Create a special type of ICDIVariable (ErrorVariable) if request to gdb fails. + * CVariable.java + * CValue.java + +2003-07-22 Mikhail Khodjaiants + Use the 'getReferencedProjects' method of 'CSourceLocator' to obtain the list of referenced projects. + Use the correct tag for additional source locations. + * CSourceLocator.java + +2003-07-17 Mikhail Khodjaiants + Fix for PR 39936: GDB hits modified conditional breakpoints when condition not satisfied. + This is a work around for GDB PR MI/1289. + * CDebugTarget.java + +2003-07-17 Mikhail Khodjaiants + Automatically update the list of source locations when the list of the referenced + projects is modified. + * ICSourceLocator.java: added new method - 'getProject' + * IProjectSourceLocation.java: added new method - 'isGeneric' + * SourceLocationFactory.java: new class factory for source locations. + * CSourceLocator.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceManager.java + * CDebugTarget.java + +2003-06-30 Mikhail Khodjaiants + Fix for PR 39372: Breakpoints don't get activated when symbols are loaded. + +2003-06-30 Mikhail Khodjaiants + Fix for PR 39100: CDT/Debug core is asking value 16 times. + * CValue.java + +2003-06-30 Mikhail Khodjaiants + Fix for PR 39087: Cache the MI answer once we know if the variable is writable. + * CVariable.java + +2003-06-24 Mikhail Khodjaiants + All local var_objects are destroyed when a thread other than current is selected. + CVariable has to be invalidated if a "destroyed" event has been received. + * CVariable.java + +2003-06-23 Mikhail Khodjaiants + Fix for ClassCastException in CStackFrame. + * CStackFrame.java + +2003-06-20 Mikhail Khodjaiants + Variable bookkeeping (phase 0.1). + * ICDTLaunchConfigurationConstants.java: add a new attribute - ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING. + * ICVariable.java: added the 'canEnableDisable', 'isEnabled' and 'setEnabled' methods + * CArrayPartition.java + * CExpression.java + * CModificationVariable.java + * CRegister.java + * CStackFrame.java + * CVariable.java + +2003-06-18 Mikhail Khodjaiants + Incorrect casting in the 'setChanged' method of CVariable. + * CVariable.java + +2003-06-11 Mikhail Khodjaiants + The unused 'getUnderlyingValueString' method has been removed from ICValue and CValue. + The methods 'setChanged' and 'getUnderlyingValue' are only for internal usage and + have been removed from ICValue. + * ICValue.java + * CArrayPartitionValue.java + * CValueFactory.java + * CValue.java + * CVariable.java + +2003-06-10 Mikhail Khodjaiants + Refactoring: moved the type and value related methods from ICVariable to ICType and ICValue. + * ICType.java: new + * ICVariable.java + * ICValue.java + * CArrayPartitionValue.java + * CType.java + * CValue.java + * CVariable.java + +2003-06-09 Mikhail Khodjaiants + Added default format preferences for variables, registers and expressions. + * CExpression.java + * CRegister.java + * CVariable.java + +2003-06-09 Mikhail Khodjaiants + Renamed the 'refresh' method of ICVariable to 'reset'. Added new method - + 'reset' to CValue instead of using the 'setChanged' method. + * ICVariable.java + * CValue.java + * CVariable.java + +2003-06-06 Mikhail Khodjaiants + Mark as changed parent variables. + * CVariable.java + +2003-06-06 Mikhail Khodjaiants + Refresh only the state of variable when handling a change event. + * CVariable.java + +2003-06-06 Mikhail Khodjaiants + Correct presentation of the full names of variables that contain pointers. + * CVariable.java + +2003-06-06 Mikhail Khodjaiants + Changed the implementation of the'getName' method of CVariable to return + the actual names of array members. + * CArrayPartition.java + * CArrayPartitionValue.java + * CVariable.java + +2003-06-05 Mikhail Khodjaiants + Core support of infinite values of the floating point types. + * ICVariable.java + * CVariable.java + +2003-06-05 Mikhail Khodjaiants + Renamed the 'computeDetail' method of the 'ICValue' interface to 'evaluateAsExpression'. + * ICValue.java + * CArrayPartitionValue.java + * CValue.java + +2003-06-05 Mikhail Khodjaiants + Removed the redundant methods from the 'ICDIFloatingPointValue' interface. + * ICDIFloatingPointValue.java + * CValue.java + * CVariable.java + +2003-06-04 Mikhail Khodjaiants + Implementing the core support of the detail panel. + * ICValue.java + * ICVariable.java + * CArrayPartitionValue.java + * CValue.java + * CVariable.java + +2003-06-04 Mikhail Khodjaiants + Added the processing of reference values. + * CValue.java + +2003-06-04 Mikhail Khodjaiants + Implementing the core support of UI features for types and internal formating + (instead of using the format features provided by gdb). + * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIFloatingPointValue.java + * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIPointerValue.java + * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIReferenceValue.java + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIPointerValue.java: removed + * src/org/eclipse/cdt/debug/core/model/ICVariable.java + * src/org/eclipse/cdt/debug/internal/core/model/CVariable.java + * src/org/eclipse/cdt/debug/core/model/CValue.java + +2003-05-29 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIIntegralValue.java: + public long longValue() throws CDIException; + public int intValue() throws CDIException; + public short shortValue() throws CDIException; + public int byteValue() throws CDIException; + +2003-05-29 Mikhail Khodjaiants + Added new methods to ICVariable to vizualize arrays and structures based + on the new CDI types. + * ICVariable.java + * CVariable.java + +2003-05-27 Mikhail Khodjaiants + Check if the location of breakpoint is eligible for the target + when setting, removing or changing the propeties. + * CDebugTarget.java + +2003-03-23 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIVariable.java: + (getType): New method. + +2003-05-26 Mikhail Khodjaiants + First draft of the tracepoints in the CDI. + * ICDITraceManager.java + * ICDITraceSnapshot.java + * ICDITracepoint.java + +2003-05-23 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/type/ICDIType.java: extends + ICDIObject. + +2003-05-23 Alain Magloire + + First draft of the implementing the types, org.eclipse.cdt.debug.core.cdi.model.type.* + in the CDI interface. + +2003-05-14 Mikhail Khodjaiants + Created preference for the maximum number of disassembly instructions. + * CDebugTarget.java + * ICDebugConstants.java + * DisassemblyManager.java + +2003-05-12 Mikhail Khodjaiants + Moved the generation of expressions for global variables to the mi plugin. + * CDebugTarget.java + * CExpression.java + * CDebugModel.java + +2003-05-12 Mikhail Khodjaiants + When generating disassembly instructions by file name and line number check + if the frame address is in the address range of the instruction set. + If the instruction set doesn't contain the frame address generate a new instruction set + based on the frame address. + * DisassemblyManager.java + +2003-05-08 Mikhail Khodjaiants + In the "terminate" event handler of the session manager check the targets that + belong to the current session. + * SessionManager.java + +2003-05-07 Mikhail Khodjaiants + Set the error status if the debug target is suspended because of an error. + * CDebugTarget.java + +2003-05-06 Mikhail Khodjaiants + Check if the underlying debugger supports expression evaluation in the "canEvaluate" method. + * CDebugTarget.java + +2003-05-06 Mikhail Khodjaiants + Added tooltips to breakpoints and watchpoints. + * CAddressBreakpoint.java + * CBreakpoint.java + * CFunctionBreakpoint.java + * CLineBreakpoint.java + * CWatchpoint.java + +2003-05-05 Mikhail Khodjaiants + Added a status functionality to the CDebugElement class. + This allows to reflect the problems occured in the element in UI. + * ICDebugElementErrorStatus.java: new + * CDebugElement.java: implementation + * CThread.java + * CDebugTarget.java + +2003-05-05 Mikhail Khodjaiants + New method in ICBreakpoint - "isConditional". + * ICBreakpoint.java + * CBreakpoint.java + +2003-05-02 Mikhail Khodjaiants + Notify the Launch view about stack changes when handling the 'Resumed' event. + * CThread.java + +2003-05-01 Mikhail Khodjaiants + Implementation of termination policy. + * ICDIConfiguration.java: new "terminateSessionOnExit" method added. + * SessionManager.java: terminates the launch when all targets are terminated or disconnected. + * CDebugCorePlugin.java: provides an access to the current session managers. + * CDebugTarget.java + +2003-04-25 Mikhail Khodjaiants + Fix for bug 36909 + * DisassemblyManager.java: check if the address of a stack frame is not 0; + +2003-04-23 Mikhail Khodjaiants + Check for null pointer in 'isCharacter' and 'isCharPointer'. + * CValue.java + +2003-04-23 Mikhail Khodjaiants + Throw DebugException when getSignals() fails. + * CSignalManager.java + +2003-04-23 Mikhail Khodjaiants + Additional checks for the situation when the stack depth is not 0 and + the frame array is empty. + * CThread.java + +2003-04-22 Mikhail Khodjaiants + Disconnect: terminate should be called from the disconnect event handler. + * CDebugTarget.java + +2003-04-21 Mikhail Khodjaiants + Disconnnect: target should be disconnected before terminate the session + because of race condition. + * CDebugTarget.java + +2003-04-21 Mikhail Khodjaiants + Unnecessary error logging (bug 36682). + * CValue.java + +2003-04-21 Mikhail Khodjaiants + Temporary fix for character values. + * CValue.java + +2003-04-20 Alain Magloire + + * CValue.java: + Was throwing a IndexOutOfBoundException. + +2003-04-17 Mikhail Khodjaiants + Check if the underlying cdi variable is not null before accessing it. + * CVariable.java + +2003-04-16 Mikhail Khodjaiants + Quick fix for variable values. + * CValue.java + +2003-04-14 Alain Magloire + + StringBuffer.indexOf() is 1.4.x only + + * CDebugUtils.java + +2003-04-11 Mikhail Khodjaiants + Core support of function and method breakpoints. + * CDebugModel.java + * ICFunctionBreakpoint.java + * CDebugUtils.java + * CFunctionBreakpoint.java + * CDebugTarget.java + +2003-04-09 Mikhail Khodjaiants + Core support of function breakpoints. + * CDebugModel.java + * ICFunctionBreakpoint.java + * CDebugTarget.java + +2003-04-07 Mikhail Khodjaiants + Changed the message text in the 'getStackDepth' method. + * CThread.java + +2003-04-07 Mikhail Khodjaiants + Changed the message generated in the 'targetRequestFailed' methods of CDebugElement. + * CDebugElement.java + +2003-04-07 Mikhail Khodjaiants + Replaced 'toString()' by 'getMessage()' for CDI exceptions. + * CSharedLibraryManager.java + * CUpdateManager.java + * CDebugTarget.java + * CStackFrame.java + * CThread.java + * CVariable.java + +2003-04-01 Mikhail Khodjaiants + Moved the 'Auto-Refresh' preferences from CDebugUIPlugin to use it for initialization of update managers. + * ICDebugConstants.java + * CRegisterManager.java + * CSharedLibraryManager.java + +2003-04-01 Mikhail Khodjaiants + Removed the 'fDebugTarget' field from CSharedLibraryManager. + * CSharedLibraryManager.java + +2003-03-31 Mikhail Khodjaiants + The new abstract class ('CUpdateManager') is added to provide a basic implementation of ICUpdateManager. + CSignalManager, CSharedLibraryManager and CRegisterManager extend this class. + * ICRegisterManager.java: new + * CRegisterManager.java: new + * CSharedLibraryManager.java + * CSignalManager.java + * CUpdateManager.java: new + * CDebugTarget.java + * CRegisterGroup.java + +2003-03-28 Mikhail Khodjaiants + Use the 'exists' method of the 'IFile' interface instead of using 'toFile().exists()' for 'IPath'. + * CDirectorySourceLocation.java + * CSourceLocator.java + +2003-03-28 Mikhail Khodjaiants + Do not log the exceptions thrown by the breakpoint setting methods. + * CDebugTarget.java + +2003-03-28 Mikhail Khodjaiants + Added default format preference constants for variables, expressions and registers. + * ICDebugConstants.java + +2003-03-28 Mikhail Khodjaiants + Core support of the 'Run To C/C++ Line' and 'Resume At C/C++ Line' actions for external files. + * IJumpToLine.java + * IRunToLine.java + * CDebugTarget.java + * CThread.java + +2003-03-27 Mikhail Khodjaiants + Applied patch from Chris Songer: Assembly View Fixups + * ICDIInstruction.java + * DisassemblyStorage.java + +2003-03027 Alain Magloire + + Adjust the code refactor in the CoreModel for IBinary + * CDebugTarget.java + +2003-03-18 Mikhail Khodjaiants + Removed the gdb-specific variable parsing. + * ICValue.java + * CArrayPartition.java + * CArrayPartitionValue.java + * CModificationVariable.java + * CStackFrame.java + * CValue.java + * CVariable.java + * CArrayEntryVariable.java: removed + * CLocalVariable.java: removed + +2003-03-17 Mikhail Khodjaiants + Replace range by start index and length in 'Display As Array' action. + * ICDIVariableManager.java + * ICastToArray.java + * CVariable.java + +2003-03-14 Mikhail Khodjaiants + Added the 'isEditable' and 'hasChildren' methods to the 'ICVariable' interface. + * ICVariable.java + * CVariable.java + * CModificationVariable.java + +2003-03-14 Mikhail Khodjaiants + Cross-referencing projects cause the debugger to go into a stack overflow exception. + Make sure that there is only one source location for each referenced project. + * CSourceLocator.java + +2003-03-13 Alain Magloire + + No longer throw exceptions. + * src/org/eclipse/cdt/internal/core/model/CFormattedMemoryBlock.java + * src/org/eclipse/cdt/internal/core/model/CVariable.java + +2003-03-13 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java: + Also extends ICDIVariableObject. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIArgument.java: + Also extends ICDIArgumentObject. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIRegister.java: + Also extends ICDIRegisterObject + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: + getLocalVariableObject() new method. + +2003-03-09 Mikhail Khodjaiants + New ICDIVariableManager methods for the 'DisplayAsArray' and 'CastToType' actions. + * CVariable.java + +2003-03-11 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: + New methods getVariableObjectAsArray(), getVariableObjectAsType(). + +2003-03-09 Mikhail Khodjaiants + Core support of the "Display As Array" action. + * ICastToArray.java + * CLocalVariable.java + * CVariable.java + +2003-03-09 Mikhail Khodjaiants + Core support of the "Cast To Type" and "Restore Default Type" actions. + * ICastToType.java: new + * CLocalVariable.java + * CStackFrame.java + * CVariable.java + +2003-02-24 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDIRegisterObject.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDIArgumentObject.java: + Reorganized imports. + +2003-02-20 Mikhail Khodjaiants + No need to set the source search path to the debugger. + * ICSourceLocation.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CDebugTarget.java + +2003-02-20 Mikhail Khodjaiants + Changed to 'public' the access modifier of the 'setAssocition' method. + * CDirectorySourceLocation.java + +2003-02-18 Mikhail Khodjaiants + Added persistency to the source locator. + * plugin.xml: added dependency on the 'org.apache.xerces' plugin + * ICSourceLocation.java + * CDebugUtils.java + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceLocator.java + * CSourceManager.java + +2003-02-13 Mikhail Khodjaiants + Undo changes because the 'asyncExec' method of the 'DebugPlugin' class has added since version 2.1. + * IAsyncExecutor.java: removed + * CDebugCorePlugin.java + +2003-02-13 Mikhail Khodjaiants + Use the 'asyncExec' method of the 'DebugPlugin' class. + * IAsyncExecutor.java: removed + * CDebugCorePlugin.java + +2003-02-12 Mikhail Khodjaiants + The gdb-specific 'setAutoSolibMethod' method is removed from ICDISharedLibraryManager. + * ICDISharedLibraryManager.java + * CSharedLibraryManager.java + +2003-02-12 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/mode/ICDITarget.java (getSharedLibraries): + Remove action done via the manager. + +2003-02-12 Mikhail Khodjaiants + Use ICDIRegisterManager instead of ICDITarget. + * ICDITarget.java + * CDebugTarget.java + * CRegisterGroup.java + +2003-02-11 Mikhail Khodjaiants + The 'auto load symbols' action support in ICSharedLibraryManager. + * ICSharedLibraryManager.java + * CSharedLibraryManager.java + +2003-02-11 Mikhail Khodjaiants + The 'load symbols' actions support in ICSharedLibraryManager. + * ICSharedLibraryManager.java + * CSharedLibraryManager.java + +2003-02-10 Mikhail Khodjaiants + Support of update ('Refresh', 'Auto-Refresh) actions. + * ICUpdateManager.java: new + * ICSharedLibraryManager.java + * CSharedLibraryManager.java + +2003-02-10 Mikhail Khodjaiants + Disable the address breakpoints to prevent the debugger to insert them prematurely. + * CDebugTarget.java + +2003-02-05 David Inglis + + Refactor Constants to debug.core + * src/org/eclipse/cdt/debug/core/ICDTLaunchConfigurationConstants.java + + +2003-02-05 Mikhail Khodjaiants + Support of the 'Resume At C/C++ Line' action. + * IJumpToLine.java: new + * IJumpToAddress.java: new + * ICDebugTarget.java + * CDebugTarget.java + +2003-02-04 Mikhail Khodjaiants + Support of the 'Resume Without Signal' action. + * IResumeWithoutSignal.java: new + * ICDebugTarget.java + * CDebugTarget.java + * CThread.java + * CStackFrame.java + * CSignal.java + +2003-02-03 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java: + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java: + Added methods, signal(), jump() stepReturn(boolean) to + mimic gdb "return/finish". + +2003-02-03 Mikhail Khodjaiants + Filter out breakpoints set in unrelated projects. + * CDebugTarget.java + * CDebugUtils.java + +2003-02-03 Mikhail Khodjaiants + Implemention of the 'handle' command of the 'Signals' view. + * ICDISignal.java: added the 'handle' method + * CSignal.java: implementation of the 'handle' command. + +2003-02-03 Mikhail Khodjaiants + Implementing the 'Signals' view. + * CSignalManager.java: new + * CSignal.java: new + +2003-02-03 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/event/ICDIExitEvent.java: + Extends ICDIDestroyedEvent. + (getReason): New method. + * src/org/eclipse/cdt/debug/core/cdi/ICDISignalExitInfo.java: + New file. + * src/org/eclipse/cdt/debug/internal/core/CDebugTarget.java (handleExitEvent): + Change to conform to new ICDIExitEvent changes. + +2003-02-03 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignal.java: + (getDescription): new Method replace getMeaning(). + (isStopSet): new method. + (isIgnore): new method. + +2003-01-31 Mikhail Khodjaiants + Implementing the 'Signals' view. + * ICSharedLibraryManager.java + * ICSignalManager.java: new + * ICSignal.java: new + * CSignalManager.java: new + * CSignal.java: new + * CDebugTarget.java + +2003-01-30 Mikhail Khodjaiants + Create an address breakpoint if the source locator can not find the file specified by gdb. + * CDebugTarget.java + +2003-01-29 Mikhail Khodjaiants + Managing breakpoints from the gdb console (fixes). + * CDebugModel.java + * CAddressBreakpoint.java + * CBreakpoint.java + * CFunctionBreakpoint.java + * CLineBreakpoint.java + * CWatchpoint.java + * CDebugTarget.java + +2003-01-29 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibraryManger.java (getSharedLibraryPaths): + New method. + (setSharedLibraryPaths): New method. + (setAutoLoadSymbols): New method. + +2003-01-28 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (setCurrentFrame): + New method. + +2003-01-27 Mikhail Khodjaiants + Managing breakpoints from the gdb console. + * CDebugCorePlugin.java + * CDebugModel.java + * IAsyncExecutor.java + * ICSourceLocator.java + * CAddressBreakpoint.java + * CBreakpoint.java + * CFunctionBreakpoint.java + * CLineBreakpoint.java + * CWatchpoint.java + * CDebugTarget.java + * CSourceLocator.java + * CSourceManager.java + +2003-01-27 Mikhail Khodjaiants + Use 'equals' to compare CDI variables instead of names. + * CStackFrame.java + +2003-01-27 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java: + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIArgumentObject.java: + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterObject.java: + Move to model package. + * src/org/eclipse/cdt/debug/core/cdi/ICDIRegisterManager.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: + * src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java: + * src/org/eclipse/cdt/debug/internal/core/model/CRegisterGroup.java: + Refactor/move of the ICDIRegisterObject and ICDIVariableObject + +2003-01-25 Alain Magloire + + Added new Managers: + ICDIVariableManager + ICDIExpressionManager + ICDIRegisterManager + ICDIManager. + + Refactor of CSession to Session, CTarget to Target + and CThread to Thread. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java (getGlobalVariables): + Removed. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (getCurrentStackFrame): + New method. + * src/org/eclipse/cdt/debug/core/cdi/ICDIManger.java: + New interface for the managers. + * src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManger.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDIExpressionManger.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManger.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDIRegisterManger.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDISignalManger.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDISourceManger.java: + * src/org/eclipse/cdt/debug/core/cdi/ICDISharedLibraryManger.java: + Extends ICDIManager. + * src/org/eclipse/cdt/debug/core/cdi/ICDISession.java: + New method to return the managers. + + * src/org/eclipse/cdt/debug/internal/core/model/CDebuTarget.java: + * src/org/eclipse/cdt/debug/internal/core/model/CFormattedMemoryBlock.java: + Use the destroyEvent + + +2003-01-21 Alain Magloire + * src/org/eclipse/cdt/debug/core/cdi/event/ICDIConfiguration.java + (supportsSharedLibary): New method. + +2003-01-21 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/event/ICDISuspendedEvent.java: + Use ICDISignalReceived instead. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignal.java: + New file, element of the SignalManager. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignalManager.java: + Return model/ICDISignal. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDISignalReceived.java: + New file. + * src/org/eclipse/cdt/debug/core/internal/core/model/CDebugTarget.java: + Use ICDISignalReceived. + * src/org/eclipse/cdt/debug/core/internal/core/model/CThread.java: + Use ICDISignalReceived. + +2003-01-21 Mikhail Khodjaiants + Retry to set breakpoints if shared library's symbols are loaded. + * CDebugTarget.java + * CThread.java + * CSharedLibraryManager.java + +2003-01-20 Mikhail Khodjaiants + Fix for the 'Show breakpoints supported by selected target' action. + * CDebugTarget.java + +2003-01-20 Alain Maglorei + + * src/build.properties: Add schema in soure.cdtdebugcore.jar + variable. + +2003-01-17 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDISharedLibraryManager.java + (loadSymbols): new method takes an array of IShareLibrary + (loadSymbols): no arguments. + +2003-01-16 Mikhail Khodjaiants + Implementing the Shared Libraries view. + * ICSharedLibrary.java + * ICSharedLibraryManager.java + * CDebugElement.java + * CDebugTarget.java + * CSharedLibrary.java + * CSharedLibraryManager.java + +2003-01-16 Mikhail Khodjaiants + * ICDILoadedEvent.java: Removed. + +2003-01-16 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIStringValue.java: Removed. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIArrayValue.java: Removed. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIStructureValue.java: Removed. + +2003-01-16 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDISession.java (getSharedLibraryManager): + New method. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDISharedLibrary.java (areSymbolsLoaded): + Rename symbolsRead() to areSymbolsLoaded(). + +2003-01-15 Mikhail Khodjaiants + Added the 'ICDISharedLibraryManager' interface. + * ICDISharedLibraryManager.java + +2003-01-15 Mikhail Khodjaiants + Added new methods to the 'ICDISharedLibrary' interface. + * ICDISharedLibarary.java + +2003-01-14 Mikhail Khodjaiants + Check if thread is already disposed in the CDI event handler because the array of listeners used by EventManager + in some situations is not up to date. + * CThread.java + +2003-01-14 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java: New file. + * src/org/eclipse/cdt/debug/core/cdi/ICDIVariableObject.java: New file. + * src/org/eclipse/cdt/debug/core/cdi/ICDIArgumentObject.java: New file. + +2003-01-13 Mikhail Khodjaiants + Added the 'IRunToAddress' interface to support the 'Run To Line' action in disassembly. + * ICDebugTarget.java: extends IRunToAddress + * IRunToAddress.java: new interface + * CDebugTarget.java: implementation + +2003-01-13 Mikhail Khodjaiants + Fix in the thread created event handler: do nothing if thread has already created. + * CDebugTarget.java + +2003-01-10 Mikhail Khodjaiants + Implementation of address breakpoints. + * ICAddressBreakpoint.java + * ICDebugTarget.java + * IDisassemblyStorage.java + * CDebugModel.java + * ICBreakpointManager.java + * CAddressBreakpoint.java + * CFunctionBreakpoint.java + * CDebugTarget.java + * CStackFrame.java + * DisassemblyManager.java + * DisassemblyStorage.java + +2003-01-06 Alain Magloire + + * build.properties: Patch from Judy Green. + +2003-01-06 Mikhail Khodjaiants + Check if project exists when generating the source locations. + * CSourceLocator.java + +2003-01-06 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDIBreakpointManager.java (createLocation): + New method to take an address. + +2003-01-02 Mikhail Khodjaiants + The 'DisassemblyStorage' class implements an adapter for the 'IResource' class and returns the executable file. + * IExecFileInfo.java: added a new method: 'getExecFile' + * CDebugTarget.java + * DisassemblyStorage.java + +2003-01-02 Mikhail Khodjaiants + If breakpoint or watchpoint has been disabled before launching the debugger doesn't disable it. + * CDebugTarget.java + +2002-12-29 Mikhail Khodjaiants + Implementation of the 'Source Lookup' property page. + * IDirectorySourceLocation.java: new interface + * IProjectSourceLocation.java: new interface + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + * CSourceLocator.java + +2002-12-29 Mikhail Khodjaiants + Fix in the 'supportsBreakpoints' method of CDebugTarget + * CDebugTarget.java: No need to check if the breakpoint file belongs to the source locator. + +2002-12-18 Mikhail Khodjaiants + Implementing the 'Source Lookup' property page. + * CDirectorySourceLocation.java + * CProjectSourceLocation.java + +2002-12-18 Mikhail Khodjaiants + Check if CValue has variables before calling 'getCDIVariables'. + * CValue.java + +2002-12-17 Mikhail Khodjaiants + Formatting 'char' types. + * CValue.java + * CModificationVariable.java + +2002-12-17 Mikhail Khodjaiants + The core support of the prompting source locator. + * ICSourceLocator.java + * CDebugTarget.java + * CDirectorySourceLocation.java + * CSourceLocator.java + * CSourceManager.java + * DisassemblyManager.java + +2002-12-17 Mikhail Khodjaiants + The 'getLineNumber' method of CStackFrame should return the line number associated with the stack frame if the current source locator + does not implement 'ICSourceLocator'. + * CStackFrame.java + +2002-12-17 Mikhail Khodjaiants + Changed the implementation of the 'refresh' method of CVariable. + * CVariable.java + +2002-12-16 Mikhail Khodjaiants + Added support of variable formatting. + * ICValue.java: new type - TYPE_UNKNOWN + * ICVariable: new interface for object contribution, set/get format and refresh methods + * CValue.java + * CVariable.java + +2002-12-13 Mikhail Khodjaiants + Display message when 'getStackDepth' is timed out. + * CThread.java + +2002-12-10 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java (setFormat): + New method to change the variable formats(hexa, octal, etc..) + +2002-12-10 Mikhail Khodjaiants + If the given source file path is absolute and the source locator can not find it in the all specified locations return a FileStorage object. + * CSourceLocator.java + +2002-12-09 Mikhail Khodjaiants + Split the detail message of ICDIErrorInfo into tokens and trancate aech token if it is too long. + * CDebugTarget.java + +2002-12-08 Mikhail Khodjaiants + Display the error message with details when program is suspended because of ICDIErrorInfo. + * CDebugTarget.java + +2002-12-05 Alain Magloire + + Some debuggers like gdb/mi can provide detail information, for example + gdb/mi dumps errors in mi "log stream" output. + + * src/.../cdi/CDIException.java (getDetailMessage): New method to provide + more information it need be. + * src/.../cdi/ICDIErrorInfo.java (getDetailMessage: New method. + +2002-12-04 Mikhail Khodjaiants + Added the 'setChanged' method to ICValue. This method should common for CValue and + CArrayPartitionValue to implement 'setChanged' of CVariable correctly. + * ICValue.java + * CArrayPartitionValue.java + * CVariable.java + +2002-12-02 Mikhail Khodjaiants + Refactoring - files moved from org.eclipse.cdt.debug.core to the new package: org.eclipse.cdt.debug.core.model: + * ICBreakpoint.java + * ICDebugTarget.java + * ICExpressionEvaluator.java + * ICFunctionBreakpoint.java + * ICLineBreakpoint.java + * ICValue.java + * ICWatchpoint.java + * IDebuggerProcessSupport.java + * IDummyStackFrame.java + * IExecFileInfo.java + * IFormattedMemoryBlock.java + * IFormattedMemoryBlockRow.java + * IGlobalVariable.java + * IInstructionStep.java + * IRestart.java + * IRunToLine.java + * IStackFrameInfo.java + * IState.java + * ISwitchToFrame.java + * ISwitchToThread.java + * ICDebugTargetType.java: new interface + * IFormattedMemoryRetrieval: removed + + +2002-12-02 Mikhail Khodjaiants + Check if the underlying IFile exists when retrieving the path of global variable. + * CDebugTarget.java + +2002-12-02 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/ICDIErrorInfo.java: New file. + +2002-11-28 Mikhail Khodjaiants + 'exec-until' instead of temporary breakpoints for 'run to line'. + * CDebugTarget.java + * CThread.java + +2002-11-28 Mikhail Khodjaiants + Live editing of the memory view: removed support of the 'Save Changes' action. + * IFormattedMemoryBlock.java + * CFormattedMemoryBlock.java + +2002-11-27 Alain Magloire + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java (runUntil): new method. + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (runUntil): new method. + +2002-11-27 Mikhail Khodjaiants + Typo in plugin.properties. + +2002-11-27 Mikhail Khodjaiants + Fire suspend event for debug target that doesn't have threads. + * CDebugTarget.java + +2002-11-27 Alain Magloire + + * src/.../debug/internal/core/model/CDebugTarget.java (isLittleEndian): + Use CoreModel.getDefault(). + (getGlobals): Use CoreModel.getDefault(). + +2002-11-24 Mikhail Khodjaiants + Fix for watchpoints. + * CSourceLocator.java + +2002-11-22 Mikhail Khodjaiants + Cache source elements to optimize search. + * CProjectSourceLocator.java + +2002-11-22 Mikhail Khodjaiants + Fix in the source locator's search algorithm. + * CProjectSourceLocator.java + +2002-11-21 Mikhail Khodjaiants + The memory view does not display values if the address expression is '0xFFFFFFFF'. + * CFormattedMemoryBlock.java + +2002-11-21 Mikhail Khodjaiants + Added the handler of ICDIDestroyedEvent to 'CFormattedMemoryBlock. + * CFormattedMemoryBlock.java + +2002-11-20 Mikhail Khodjaiants + Fix for bug 26595. + The type of the address expression has been changed from String to ICDIExpression to handle + changes of the start address. + * CDebugModel.java + * CFormattedMemoryBlock.java + * IFormattedMemoryBlock.java: added the 'isStartAddressChanged' method. + +2002-11-15 Mikhail Khodjaiants + Partial fix for bug 25956. + * DisassemblyManager.java: Filter out the instructions that do not belong to the function. + +2002-11-15 Mikhail Khodjaiants + If the backtrace is very deep the debugger is unable to parse MI output. + The limited number of stack frames will be displayed. + * IDummyStackFrame.java + * CDummyStackFrame.java + * CStackFrame.java + * CThread.java + +2002-11-14 Alain Magloire + + This is needed in post-mortem, application doing a + very deep recursion and crashing the stack size, for example + on GNU/Linux it may reach 200000 levels deep. Trying to + bring in the UI a bactrace tree of 200000 nodes is useless. + The UI could check the count and do the appropriate action + by showing ranges etc .. + + * src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java (getStackFrames): + New method to provide a range lowFrame and highFrame. + (getStackFrameCount): New method returns the depth level + of the stackframes. + +2002-11-13 Mikhail Khodjaiants + Fix for the stepping problem if the selected stack frame is not the topmost one. + * CStackFrame.java: The 'stepToFrame' method is temporary replaced by corresponding step method. + +2002-11-13 + * schema/CDebugger.exsd + * src/org/eclipse/cdt/debug/core/ICDebugConfiguration.java + * src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java + Added supported CPU to Debugger extension. + +2002-11-07 Mikhail Khodjaiants + When a referenced project is deleted it's location is null. The source locator should + check this when it returns the path array. + * CProjectSourceLocation.java + +2002-11-05 Mikhail Khodjaiants + Added support of the 'Add Global Variables' action of the Expressions view. + * IExecFileInfo.java + * IGlobalVariable.java + * CDebugTarget.java + +2002-11-03 Mikhail Khodjaiants + Added support of the formatting actions of the Memory view. + * IFormattedMemoryBlock.java + * CFormattedMemoryBlock.java + * CDebugTarget.java + * CDebugUtils.java + +2002-11-01 Mikhail Khodjaiants + Added conversion utilities to support decimal format in the Memory View. + * CDebugUtils.java + +2002-11-01 Mikhail Khodjaiants + Added the 'IExecFileInfo' interface to provide access to the executable file information. + * IExecFileInfo.java: definition + * CDebugTarget.java: implementation + +2002-10-31 Mikhail Khodjaiants + Replaced the 'IProject' argument by 'IFile' in the debug target factory methods - second phase. + * CDebugModel.java: removed unused debug target factory methods. + * CDebugTarget.java: removed unused constructor. + +2002-10-31 Mikhail Khodjaiants + Replaced the 'IProject' argument by 'IFile' in the debug target factory methods. + * CDebugModel.java + * CDebugTarget.java + +2002-10-31 Mikhail Khodjaiants + Fixed the synchronization bug. + * CFormattedMemoryBlock.java + +2002-10-30 Mikhail Khodjaiants + Implementing the 'Refresh Memory' action. + * IFormattedMemoryBlock.java: added the 'refresh' method. + * CFormattedMemoryBlock.java: implementation of the 'refresh' method. + +2002-10-30 Mikhail Khodjaiants + Implementation of the 'SaveMemoryChanges' action. + * IFormattedMemoryBlock.java: added the 'saveChanges' method. + * CFormattedMemoryBlock.java: implementation of the 'saveChanges' method. + +2002-10-30 Mikhail Khodjaiants + Fix for bug 25283. + * CDebugTarget.java: in 'setCurrentThread' method set the 'isCurrent' flag to false for the currently current thread. + +2002-10-29 Mikhail Khodjaiants + Implementing editing features of the memory view. + * IFormattedMemoryBlockRow.java + * IFormattedMemoryBlock.java + * CFormattedMemoryBlock.java + +2002-10-28 Mikhail Khodjaiants + Implementing editing features of the memory view. + * IFormattedMemoryBlockRow.java + * CFormattedMemoryBlock.java + +2002-10-27 Mikhail Khodjaiants + * IFormattedMemoryBlock.java: added the 'setItemValue' method. + * CFormattedMemoryBlock.java: implementation of the 'setItemValue' method. + +2002-10-16 Alain Magloire + + * src/.../core/cdi/model/ICDIMemoryBlock.java (refresh): + New method. + +2002-10-25 Mikhail Khodjaiants + * CDebugUtils.java: Added utilities to convert textual presentation of memory to bytes. + +2002-10-25 Mikhail Khodjaiants + * IFormattedMemoryBlock.java: Replaced 'MEMORY_BYTES_PER_ROW_...' constants by 'MEMORY_NUMBER_OF_COLUMNS_...'. + +2002-10-25 Mikhail Khodjaiants + Remove the 'setWordSize' method from 'IFormattedMemoryBlock' and use 'reformat' instead. + * IFormattedMemoryBlock.java: removed the 'setWordSize' method. + * CFormattedMemoryBlock.java: removed the implementation of 'setWordSize' method. + +2002-10-24 Mikhail Khodjaiants + Support of the "Memory Unit Size" action. + * IFormattedMemoryBlock.java: added the 'setWordsize' method. + * CFormattedMemoryBlock.java: implementation of the 'setWordSize' method. + +2002-10-24 Mikhail Khodjaiants + Moved the memory format constants from IFormattedMemoryRetrieval.java + to IFormattedMemoryBlock.java. + * IFormattedMemoryRetrieval.java + * IFormattedMemoryBlock.java + +2002-10-24 David Inglis + * CDebugTarget.java + fix exception on shutdown with a connected target, CDI session + was not terminated. + +2002-10-23 Mikhail Khodjaiants + Support for debugger console. + * CDebugModel.java: new factory methods for CDebugTarget + * IDebuggerProcessSupport: new interface that defines the debugger + process support functionality. + * CDebugTarget.java: implementation of IDebuggerProcessSupport interface. + +2002-10-22 Alain Magloire + + * src/.../cdi/ICDISession.java (getSessionProcess): + New method to let user acess directly the debugger. + +2002-10-20 Mikhail Khodjaiants + Added a functionality needed to process ICDIMemoryChangedEvent. + * IFormattedMemoryBlock.java + * CFormattedMemoryBlock.java + +2002-10-20 Alain Magloire + + * src/.../cdi/model/ICDITarget.java (getMemoryBlock): Remove + we use the MemoryManager instead. + (evaluateExpressionToValue): Remove not used. + * src/.../cdi/model/ICDISourceManager.java (getFile): Remove not use. + (setFile): Remove not use. + (reset): Remove not use. + +2002-10-19 Alain Magloire + + The UI needs to be told when the memory changes + so it can update the memory view. The responsability + of this been push to the CDI implementation to generate + events(ICDIMemoryChangedEvent) for modified memories. The + getSource() method of the class should return an ICDIMemoryBlock. + Note that the CDI implementation will only try to generate + the event for ICDIMemoryBlock that are not frozen(setFrozen()) since this + is a potentially very time consuming operation. + + * src/.../cdi/event/ICDIMemoryChangedEvent.java: New Class. + +2002-10-17 Mikhail Khodjaiants + Implementing the memory view support: + * CFormattedMemoryBlock.java: implementation of the 'dispose' method added. + +2002-10-17 Mikhail Khodjaiants + Implementing the memory view support: + * CDebugModel.java + * ICMemoryManager.java + * IFormattedMemoryBlock.java + * CFormattedMemoryBlock.java + * CDebugUtils.java + * CMemoryManager.java + +2002-10-16 Alain Magloire + + In the memory manager a string should be allowed to + create a block since an expression can be use. + + * src/.../debug.core.cdi/ICDIMemoryManager.java (createMemoryBlock): + New method that takes a string as the first argument. + +2002-10-15 Mikhail Khodjaiants + * CDebugModel.java: Implementing the memory view support. + * ICMemoryManager: Implementing the memory view support. + * IFormattedMemoryBlock.java: Implementing the memory view support. + * CDebugTarget.java: Implementing the memory view support. + * CFormattedMemoryBlock.java: Implementing the memory view support. + * CMemoryManager.java: Implementing the memory view support. + +2002-10-15 Mikhail Khodjaiants + * ICDebugConstants.java: New interface that contains the constant definitions for C/C++ debug plug-in. + * CSourceManager.java: Implementation of the 'Automatically switch to disassembly mode' preference. + +2002-10-15 Mikhail Khodjaiants + * CThread.java: The previous fix should be done only when switching between frames of the same thread. + +2002-10-14 Mikhail Khodjaiants + * CThread.java: Reset the register's change flag before switching to another frame. + +2002-10-14 Mikhail Khodjaiants + * CThread.java: Set the correct detail for 'resume' event to prevent collapsing of the variable's and + register's trees after stepping. + +2002-10-14 Mikhail Khodjaiants + * ISwitchToThread.java: New method to get the current thread. + * CDebugTarget.java: Implemented the 'getCurrentThread' method of the 'ISwitchToThread' interface. + * CDebugTarget.java: Fix in the 'setCurrentThread' method. + +2002-10-12 Alain Magloire + + * core/cdi/model/ICDIMemoryBlock (supportValueModification): + Remove the method, it should be part of a ICDIConfiguration. + + * core/cdi/ICDIMemoryManager (getBlock): Rename to getMemoryBlock + (createMemoryBlock): New method to get a memory block. + +2002-10-12 Alain Magloire + + * core/cdi/ICDILocation (getInstructions): Methods + removed is now part of SourceManager. + +2002-10-11 Mikhail Khodjaiants + * CDebugTarget.java: Added return for ISourceMode to 'getAdapter'. + * CSourceManager.java: Set the real mode when setting the source mode. + +2002-10-11 Mikhail Khodjaiants + * DisassemblyStorage.java: Changed the format of the disassembly view's output. +2002-10-11 Alain Magloire + + * ICDISourceManager.java (getMixedInstructions): Three + new methods to get the src and the intructions. + + * ICIDMixedInstruction: New Class that return the mixed + of source location and assembly instructions. + +2002-10-10 Mikhail Khodjaiants + * CVariable.java: Made the 'fChanged' field protected to access to it from the derived class (CRegister). + * CRegister.java: Added the 'hasValueChanged' method to 'CRegister'. + +2002-10-10 Mikhail Khodjaiants + * CThread.java: Check if the selected frame is current before calling 'setCurrentStackFrame'. + +2002-10-10 Mikhail Khodjaiants + * CStackFrame.java: Added Getter and Setter for 'fRefreshVariables'. + +2002-10-10 Mikhail Khodjaiants + * DisassemblyManager.java: Replaced 'getInstructions( String fileName, int lineNumber )' + by 'getInstructions( String fileName, int lineNumber, int maxLineCount )'. + +2002-10-10 Mikhail Khodjaiants + * CDebugTarget.java: Implementing the disassembly mode. + * CThread.java: Implementing the disassembly mode. + +2002-10-10 Mikhail Khodjaiants + * CSourceManager.java: Implementing the disassembly mode. + * DisassemblyManager.java: Implementing the disassembly mode. + * DisassemblyStorage.java: Implementing the disassembly mode. + * CDebugUtils.java: Added the 'toHexAddressString' method. + +2002-10-10 Alain Magloire + + * ICDISourceManager.java: Changing the getInstructions() + method to take long instead of String. diff --git a/debug/org.eclipse.cdt.debug.core/plugin.xml b/debug/org.eclipse.cdt.debug.core/plugin.xml index 075e30b1733..add662f2ba0 100644 --- a/debug/org.eclipse.cdt.debug.core/plugin.xml +++ b/debug/org.eclipse.cdt.debug.core/plugin.xml @@ -16,7 +16,7 @@ - + diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java index 109952b5c0f..91e471ba9b6 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java @@ -14,7 +14,6 @@ import java.text.MessageFormat; import java.util.HashMap; import java.util.MissingResourceException; import java.util.ResourceBundle; - import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocation; import org.eclipse.cdt.debug.internal.core.DebugConfiguration; import org.eclipse.cdt.debug.internal.core.ListenerList; @@ -26,21 +25,26 @@ import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.core.runtime.IExtensionPoint; -import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Plugin; import org.eclipse.core.runtime.Status; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.IBreakpointManager; import org.eclipse.debug.core.model.IBreakpoint; -import org.eclipse.cdt.debug.core.CDebugCorePlugin; +import org.osgi.framework.BundleContext; /** * The plugin class for C/C++ debug core. */ public class CDebugCorePlugin extends Plugin { + /** + * The plug-in identifier (value "org.eclipse.cdt.debug.core"). + */ + public static final String PLUGIN_ID = "org.eclipse.cdt.debug.core" ; //$NON-NLS-1$ + /** * Status code indicating an unexpected internal error. */ @@ -73,8 +77,8 @@ public class CDebugCorePlugin extends Plugin { /** * The constructor. */ - public CDebugCorePlugin( IPluginDescriptor descriptor ) { - super( descriptor ); + public CDebugCorePlugin() { + super(); plugin = this; } @@ -106,9 +110,9 @@ public class CDebugCorePlugin extends Plugin { // If the default instance is not yet initialized, // return a static identifier. This identifier must // match the plugin id defined in plugin.xml - return "org.eclipse.cdt.debug.core"; //$NON-NLS-1$ + return PLUGIN_ID; } - return getDefault().getDescriptor().getUniqueIdentifier(); + return getDefault().getBundle().getSymbolicName(); } public static String getResourceString( String key ) { @@ -173,8 +177,7 @@ public class CDebugCorePlugin extends Plugin { } private void initializeDebugConfiguration() { - IPluginDescriptor descriptor = getDefault().getDescriptor(); - IExtensionPoint extensionPoint = descriptor.getExtensionPoint( "CDebugger" ); //$NON-NLS-1$ + IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint( getUniqueIdentifier(), "CDebugger" ); //$NON-NLS-1$ IConfigurationElement[] infos = extensionPoint.getConfigurationElements(); fDebugConfigurations = new HashMap( infos.length ); for( int i = 0; i < infos.length; i++ ) { @@ -203,26 +206,6 @@ public class CDebugCorePlugin extends Plugin { return dbgCfg; } - /* (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#shutdown() - */ - public void shutdown() throws CoreException { - setSessionManager( null ); - disposeBreakpointListenersList(); - resetBreakpointsInstallCount(); - super.shutdown(); - } - - /* (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#startup() - */ - public void startup() throws CoreException { - super.startup(); - createBreakpointListenersList(); - resetBreakpointsInstallCount(); - setSessionManager( new SessionManager() ); - } - protected void resetBreakpointsInstallCount() { IBreakpointManager bm = DebugPlugin.getDefault().getBreakpointManager(); IBreakpoint[] breakpoints = bm.getBreakpoints( getUniqueIdentifier() ); @@ -291,4 +274,24 @@ public class CDebugCorePlugin extends Plugin { fBreakpointListeners.removeAll(); fBreakpointListeners = null; } + + /* (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start( BundleContext context ) throws Exception { + super.start( context ); + createBreakpointListenersList(); + resetBreakpointsInstallCount(); + setSessionManager( new SessionManager() ); + } + + /* (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop( BundleContext context ) throws Exception { + setSessionManager( null ); + disposeBreakpointListenersList(); + resetBreakpointsInstallCount(); + super.stop( context ); + } } \ No newline at end of file diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/ICDebugConstants.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/ICDebugConstants.java index 3734fb53c1e..eb36169f894 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/ICDebugConstants.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/ICDebugConstants.java @@ -16,7 +16,7 @@ public interface ICDebugConstants /** * C/C++ debug plug-in identifier (value "org.eclipse.cdt.debug.core"). */ - public static final String PLUGIN_ID = CDebugCorePlugin.getDefault().getDescriptor().getUniqueIdentifier(); + public static final String PLUGIN_ID = CDebugCorePlugin.getUniqueIdentifier(); /** * The identifier of the default variable format to use in the variables view diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java index 6c0d7dffe6f..f5f9c5a9aaf 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java @@ -210,11 +210,9 @@ public class CBreakpointManager implements ICDIEventListener, IAdaptable { ICSourceLocator sl = getSourceLocator(); if ( sl != null ) return sl.contains( project ); - else { - if ( project.equals( getExecFile().getProject() ) ) - return true; - return CDebugUtils.isReferencedProject( getExecFile().getProject(), project ); - } + if ( project.equals( getExecFile().getProject() ) ) + return true; + return CDebugUtils.isReferencedProject( getExecFile().getProject(), project ); } } return true; diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java index 6c3af672438..a43dc8d23ee 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java @@ -7,12 +7,11 @@ package org.eclipse.cdt.debug.internal.core; import java.util.HashSet; import java.util.Set; import java.util.StringTokenizer; - import org.eclipse.cdt.debug.core.ICDebugConfiguration; import org.eclipse.cdt.debug.core.ICDebugger; -import org.eclipse.core.boot.BootLoader; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.Platform; public class DebugConfiguration implements ICDebugConfiguration { /** @@ -64,7 +63,7 @@ public class DebugConfiguration implements ICDebugConfiguration { } public boolean supportsCPU(String cpu) { - String nativeCPU = BootLoader.getOSArch(); + String nativeCPU = Platform.getOSArch(); boolean ret = false; if ( nativeCPU.startsWith(cpu) ) { ret = getCPUs().contains(PLATFORM_NATIVE); @@ -99,7 +98,7 @@ public class DebugConfiguration implements ICDebugConfiguration { fCPUs.add(PLATFORM_NATIVE); } else { - String nativeCPU = BootLoader.getOSArch(); + String nativeCPU = Platform.getOSArch(); StringTokenizer tokenizer = new StringTokenizer(cpus, ","); //$NON-NLS-1$ fCPUs = new HashSet(tokenizer.countTokens()); while (tokenizer.hasMoreTokens()) { diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java index 29a50b659ee..f233e53d44b 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java @@ -753,9 +753,7 @@ public class CThread extends CDebugElement { CStackFrame frame = (CStackFrame)(((IAdaptable)it.next()).getAdapter( CStackFrame.class )); if ( frame != null ) - { - ((CStackFrame)frame).dispose(); - } + frame.dispose(); } fStackFrames.clear(); setLastStackDepth( 0 ); diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java index 3c98924908e..6a1ee7a586b 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java @@ -345,8 +345,7 @@ public class CValue extends CDebugElement implements ICValue BigInteger bigValue = new BigInteger( value.getValueString() ); return bigValue.toString(); } - else - return Long.toString( value.longValue() ); + return Long.toString( value.longValue() ); } case ICDIFormat.HEXADECIMAL: { diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java index 72e58fb12f7..c1a732005e5 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java @@ -199,7 +199,7 @@ public abstract class CVariable extends CDebugElement { if ( getCDIVariableObject() instanceof ICDIArgumentObject ) fCDIVariable = getCDISession().getVariableManager().createArgument( (ICDIArgumentObject)getCDIVariableObject() ); - else if ( getCDIVariableObject() instanceof ICDIVariableObject ) + else fCDIVariable = getCDISession().getVariableManager().createVariable( getCDIVariableObject() ); } catch( CDIException e ) diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CDirectorySourceLocation.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CDirectorySourceLocation.java index 7717fe82b42..ade0d4f0986 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CDirectorySourceLocation.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CDirectorySourceLocation.java @@ -214,10 +214,11 @@ public class CDirectorySourceLocation implements IDirectorySourceLocation LinkedList list = new LinkedList(); for ( int j = 0; j < wsFiles.length; ++j ) if ( wsFiles[j].exists() ) + { if ( !searchForDuplicateFiles() ) return wsFiles[j]; - else - list.add( wsFiles[j] ); + list.add( wsFiles[j] ); + } if ( list.size() > 0 ) return ( list.size() == 1 ) ? list.getFirst() : list; @@ -271,14 +272,14 @@ public class CDirectorySourceLocation implements IDirectorySourceLocation LinkedList list = new LinkedList(); for ( int j = 0; j < wsFiles.length; ++j ) if ( wsFiles[j].exists() ) + { if ( !searchForDuplicateFiles() ) return wsFiles[j]; - else - list.add( wsFiles[j] ); + list.add( wsFiles[j] ); + } if ( list.size() > 0 ) return ( list.size() == 1 ) ? list.getFirst() : list; - else - return createExternalFileStorage( path ); + return createExternalFileStorage( path ); } return null; } diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java index 8ebc98fee80..f0c438016e7 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CProjectSourceLocation.java @@ -163,10 +163,11 @@ public class CProjectSourceLocation implements IProjectSourceLocation IFile[] wsFiles = CDebugCorePlugin.getWorkspace().getRoot().findFilesForLocation( path ); for ( int i = 0; i < wsFiles.length; ++i ) if ( wsFiles[i].getProject().equals( getProject() ) && wsFiles[i].exists() ) + { if ( !searchForDuplicateFiles() ) return wsFiles[i]; - else - list.add( wsFiles[i] ); + list.add( wsFiles[i] ); + } } return ( list.size() > 0 ) ? ( ( list.size() == 1 ) ? list.getFirst() : list ) : null; } @@ -186,10 +187,11 @@ public class CProjectSourceLocation implements IProjectSourceLocation IFile[] wsFiles = CDebugCorePlugin.getWorkspace().getRoot().findFilesForLocation( path ); for ( int j = 0; j < wsFiles.length; ++j ) if ( wsFiles[j].exists() ) + { if ( !searchForDuplicateFiles() ) return wsFiles[j]; - else - list.add( wsFiles[j] ); + list.add( wsFiles[j] ); + } } } return ( list.size() > 0 ) ? ( ( list.size() == 1 ) ? list.getFirst() : list ) : null; diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/SourceUtils.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/SourceUtils.java index 523e41a2679..a19dffb7e62 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/SourceUtils.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/SourceUtils.java @@ -123,8 +123,6 @@ public class SourceUtils public static ICSourceLocation[] initializeSourceLocations( Element root ) { List sourceLocations = new LinkedList(); - ClassLoader classLoader = CDebugCorePlugin.getDefault() .getDescriptor().getPluginClassLoader(); - NodeList list = root.getChildNodes(); int length = list.getLength(); for ( int i = 0; i < length; ++i ) @@ -146,7 +144,7 @@ public class SourceUtils Class clazz = null; try { - clazz = classLoader.loadClass( className ); + clazz = CDebugCorePlugin.getDefault().getBundle().loadClass( className ); } catch( ClassNotFoundException e ) { diff --git a/debug/org.eclipse.cdt.debug.mi.ui/ChangeLog b/debug/org.eclipse.cdt.debug.mi.ui/ChangeLog index b2fc3070fb5..09136bf8d67 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.ui/ChangeLog @@ -1,3 +1,14 @@ +2004-05-21 Mikhail Khodjaiants + Removed dependencies on the compatibility plugin and replaced deprecated classes and methods. + Warning cleanup. + * GDBServerDebuggerPage.java + * IMIUIConstants.java + * MIUIPlugin.java + * SerialPortSettingsBlock.java + * TCPSettingsBlock.java + * SelectionButtonDialogFieldGroup.java + * plugin.xml + 2004-04-29 Mikhail Khodjaiants Fix for bug 59083: Two short cut keys in one sentence. * MIUIPluginResources.properties diff --git a/debug/org.eclipse.cdt.debug.mi.ui/plugin.xml b/debug/org.eclipse.cdt.debug.mi.ui/plugin.xml index f27c176b45a..ef6e84f878e 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/plugin.xml +++ b/debug/org.eclipse.cdt.debug.mi.ui/plugin.xml @@ -21,7 +21,7 @@ - + diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBServerDebuggerPage.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBServerDebuggerPage.java index fa93fefa7ba..d1a347565e2 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBServerDebuggerPage.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBServerDebuggerPage.java @@ -193,7 +193,7 @@ public class GDBServerDebuggerPage extends GDBDebuggerPage field.setDialogFieldListener( new IDialogFieldListener() { - public void dialogFieldChanged( DialogField field ) + public void dialogFieldChanged( DialogField f ) { connectionTypeChanged(); } diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/IMIUIConstants.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/IMIUIConstants.java index 462eeca6e46..86bbf9f450f 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/IMIUIConstants.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/IMIUIConstants.java @@ -14,7 +14,7 @@ package org.eclipse.cdt.debug.mi.internal.ui; public interface IMIUIConstants { /** - * C/C++ Debug UI plug-in identifier (value "org.eclipse.cdt.debug.ui"). + * Plug-in identifier (value "org.eclipse.cdt.debug.mi.ui"). */ - public static final String PLUGIN_ID = MIUIPlugin.getDefault().getDescriptor().getUniqueIdentifier(); + public static final String PLUGIN_ID = MIUIPlugin.getUniqueIdentifier(); } diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MIUIPlugin.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MIUIPlugin.java index d942590d22b..ff26dfa0351 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MIUIPlugin.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MIUIPlugin.java @@ -1,14 +1,21 @@ package org.eclipse.cdt.debug.mi.internal.ui; -import org.eclipse.ui.plugin.*; -import org.eclipse.core.runtime.*; -import org.eclipse.core.resources.*; -import java.util.*; +import java.util.MissingResourceException; +import java.util.ResourceBundle; +import org.eclipse.core.resources.IWorkspace; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.ui.plugin.AbstractUIPlugin; /** * The main plugin class to be used in the desktop. */ public class MIUIPlugin extends AbstractUIPlugin { + + /** + * The plug-in identifier (value "org.eclipse.cdt.debug.mi.ui"). + */ + public static final String PLUGIN_ID = "org.eclipse.cdt.debug.mi.ui" ; //$NON-NLS-1$ + //The shared instance. private static MIUIPlugin plugin; //Resource bundle. @@ -23,8 +30,8 @@ public class MIUIPlugin extends AbstractUIPlugin { /** * The constructor. */ - public MIUIPlugin(IPluginDescriptor descriptor) { - super(descriptor); + public MIUIPlugin() { + super(); plugin = this; } @@ -62,4 +69,19 @@ public class MIUIPlugin extends AbstractUIPlugin { public ResourceBundle getResourceBundle() { return resourceBundle; } + + /** + * Convenience method which returns the unique identifier of this plugin. + * + * @return the unique identifier of this plugin + */ + public static String getUniqueIdentifier() { + if ( getDefault() == null ) { + // If the default instance is not yet initialized, + // return a static identifier. This identifier must + // match the plugin id defined in plugin.xml + return PLUGIN_ID; //$NON-NLS-1$ + } + return getDefault().getBundle().getSymbolicName(); + } } diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/SerialPortSettingsBlock.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/SerialPortSettingsBlock.java index 2de930d1b45..cfe4e5d3e5f 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/SerialPortSettingsBlock.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/SerialPortSettingsBlock.java @@ -114,7 +114,7 @@ public class SerialPortSettingsBlock extends Observable field.setDialogFieldListener( new IDialogFieldListener() { - public void dialogFieldChanged( DialogField field ) + public void dialogFieldChanged( DialogField f ) { deviceFieldChanged(); } @@ -130,7 +130,7 @@ public class SerialPortSettingsBlock extends Observable field.setDialogFieldListener( new IDialogFieldListener() { - public void dialogFieldChanged( DialogField field ) + public void dialogFieldChanged( DialogField f ) { speedFieldChanged(); } diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/TCPSettingsBlock.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/TCPSettingsBlock.java index 28f9762fc0a..112996e48f7 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/TCPSettingsBlock.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/TCPSettingsBlock.java @@ -108,7 +108,7 @@ public class TCPSettingsBlock extends Observable field.setDialogFieldListener( new IDialogFieldListener() { - public void dialogFieldChanged( DialogField field ) + public void dialogFieldChanged( DialogField f ) { hostNameFieldChanged(); } @@ -123,7 +123,7 @@ public class TCPSettingsBlock extends Observable field.setDialogFieldListener( new IDialogFieldListener() { - public void dialogFieldChanged( DialogField field ) + public void dialogFieldChanged( DialogField f ) { portNumberFieldChanged(); } diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java index d387dc4fb24..4232916cfff 100644 --- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java +++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java @@ -87,14 +87,13 @@ public class SelectionButtonDialogFieldGroup extends DialogField { buttonsgroup.setLayoutData(gd); return new Control[] { label, buttonsgroup }; - } else { - Composite buttonsgroup= getSelectionButtonsGroup(parent); - GridData gd= new GridData(); - gd.horizontalSpan= nColumns; - buttonsgroup.setLayoutData(gd); - - return new Control[] { buttonsgroup }; - } + } + Composite buttonsgroup= getSelectionButtonsGroup(parent); + GridData gd= new GridData(); + gd.horizontalSpan= nColumns; + buttonsgroup.setLayoutData(gd); + + return new Control[] { buttonsgroup }; } /* diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog index 8f94814a92f..0f0c3820be9 100644 --- a/debug/org.eclipse.cdt.debug.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog @@ -1,3 +1,23 @@ +2004-05-21 Mikhail Khodjaiants + Removed dependencies on the compatibility plugin and replaced deprecated classes and methods. + Warning cleanup. + * CDebugImageDescriptorRegistry.java + * CDebugImages.java + * LineBreakingReader.java + * SingleCharReader.java + * SubstitutionTextReader.java + * AbstractDebugActionDelegate.java + * AddAddressBreakpointActionDelegate.java + * AddExpressionActionDelegate.java + * ToggleBreakpointAdapter.java + * SelectionButtonDialogFieldGroup.java + * SourcePreferencePage.java + * DisassemblyView.java + * SourceLocationSelectionPage.java + * CDebugUIPlugin.java + * plugin.xml + * ChangeLog-2003: new + 2004-05-20 Mikhail Khodjaiants The "IStackFrameInfo" interface is removed and it's methods moved to "ICStackFrame". * CDTDebugModelPresentation.java @@ -419,1271 +439,3 @@ 2004-01-06 Mikhail Khodjaiants Fix for bug 49587: Unable to set breakpoints in the editors that extend CEditor. * ManageBreakpointRulerActionDelegate.java - -2003-12-05 Mikhail Khodjaiants - 'performApply' of 'SourceLookupBlock' should check if the project in configuration is the same as - project saved in the block. - * SourceLookupBlock.java - -2003-12-04 Mikhail Khodjaiants - Changed the message displayed when the source file is not found. - * CDebugEditor.java - -2003-11-26 Mikhail Khodjaiants - Fix for PR 47595: Referenced projects are not checked in the list of generic source locations. - * SourceLookupBlock.java - -2003-11-26 Mikhail Khodjaiants - Cleanup. - * CDTDebugModelPresentation.java - * AddExpressionActionDelegate.java - * AddGlobalsActionDelegate.java - * AddWatchpointActionDelegate.java - * AddWatchpointDialog.java - * AutoRefreshAction.java - * CBreakpointPreferencePage.java - * ExpressionDialog.java - * ManageBreakpointRulerAction.java - * MemoryFormatAction.java - * MemoryNumberOfColumnAction.java - * MemorySizeAction.java - * RunToLineRulerAction.java - * ShowRegisterTypesAction.java - * ComboDialogField.java - * DisassemblyMarkerAnnotationModel.java - * MemoryViewer.java - * AddProjectSourceLocationBlock.java - * CDebugUIPlugin.java - * SourceLookupBlock.java - * SourcePropertyPage.java - -2003-11-21 Mikhail Khodjaiants - Use "symbol not available" for empty function names when generating a stack frame label. - * CDTDebugModelPresentation.java - -2003-11-13 Mikhail Khodjaiants - Use 'StringBuffer' instead of 'String' when generating stack frame labels. - Added a label for dummy stack frames instead of using the name provided by the rendered object. - * CDTDebugModelPresentation.java - -2003-11-05 Mikhail Khodjaiants - The argument type of the 'getBreakpointAddress' of 'ICBreakpointManager' is changed from - 'ICBreakpoint' to 'ICBreakpointManager'. - * DisassemblyMarkerAnnotationModel.java - -2003-11-03 Mikhail Khodjaiants - Fix for PR 45957: Memory view: last column does not show updates. - * MemoryPresentation.java - -2003-10-31 Mikhail Khodjaiants - Applied the changes made to the corresponding classes of 'org.eclipse.debug.ui'. - * AbstractDebugActionDelegate.java - * AbstractListenerActionDelegate.java - * AddAddressBreakpointActionDelegate.java - * DebuggerConsoleActionDelegate.java - * SwitchToDisassemblyActionDelegate.java - * SignalZeroWorkbenchActionDelegate.java - -2003-10-28 Mikhail Khodjaiants - Changed name of source lookup preference page. - * plugin.properties - -2003-10-27 Mikhail Khodjaiants - Added support of the old launch configurations. - * plugin.xml - * plugin.properties - -2003-10-27 Mikhail Khodjaiants - Changed the initialization of 'SourceLookupBlock'. - * SourceLookupBlock.java - * SourcePropertyPage.java - -2003-10-27 Mikhail Khodjaiants - Moved the 'org.eclipse.debug.core.sourceLocators' extension from the launcher. - * plugin.xml - * plugin.properties - -2003-10-27 Mikhail Khodjaiants - Added dependency to 'org.apache.xerces'. - * plugin.xml - * .classpath - * .project - -2003-10-27 Mikhail Khodjaiants - Moved 'DefaultSourceLocator' from the 'org.eclipse.cdt.launch' plugin and merge it with 'CUISourceLocator'. - * CUISourceLocator.java: removed - * DefaultSourceLocator.java: moved from the launcher. - * CDebugUIPlugin.java: added the 'createSourceLocator' method. - -2003-10-27 Mikhail Khodjaiants - Renamed 'SourceLocationFactory' to 'SourceLookupFactory'. - * AddDirectorySourceLocationBlock.java - * AddProjectSourceLocationBlock.java - -2003-10-23 Mikhail Khodjaiants - Added a preference page for the source lookup. - It includes two new preferences: 'Source Locations' and 'Search For Duplicate Source Files'. - * plugin.properties - * plugin.xml - * ICDebugHelpContextIds.java - * SourcePreferencePage.java - * SourceListDialogField.java - * SourceLookupBlock.java - -2003-10-22 Mikhail Khodjaiants - Refactoring: converting nested types 'SourceListDialogField' and 'SourceLookupLabelProvider' - of 'SourceLookupBlock' to the top level types. - Added 'dispose' method to 'SourceLookupBlock'. - * SourceLookupBlock.java - * SourcePropertyPage.java - * SourceListDialogField.java - * SourceLookupLabelProvider.java - -2003-10-20 Mikhail Khodjaiants - Implementation of the "Search subfolders" option for directory source locations. - * AddDirectorySourceLocationBlock.java - * SourceLookupBlock.java - -2003-10-17 Mikhail Khodjaiants - UI support of the 'Search for duplicate source files' option. - * icons/full/obj16/prj_file_obj.gif: new - * icons/full/obj16/ext_file_obj.gif: new - * CDebugImages.java - * CUISourceLocator.java - * SourceLookupBlock.java - * SourcePropertyPage.java - -2003-10-17 Mikhail Khodjaiants - * CDebugEditor.java: changed the message displayed when the source file not found. - -2003-10-14 Mikhail Khodjaiants - * DebugTextHover.java: check if the result of 'evaluateExpression' is not null before trim it. - -2003-10-06 Mikhail Khodjaiants - Mark the function arguments in the Variables View. - * icons\full\ovr16\argument_ovr.gif: new - * icons\full\ovr16\castarray_ovr.gif: new - * icons\full\ovr16\casttype_ovr.gif: new - * CDebugImages.java - * CDTDebugModelPresentation.java - -2003-09-30 Mikhail Khodjaiants - Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly. - Added an internal constant to limit the hover text size. - Present the hover text in HTML format. - * DebugTextHover.java - -2003-09-24 Mikhail Khodjaiants - Fix for PR 43624: The "Show Types Name" action of the Registers view doesn't work. - * ShowRegisterTypesAction.java - * RegistersView.java - -2003-09-22 Mikhail Khodjaiants - Moved the 'AddAddressBreakpointActionDelegate' action - to the 'org.eclipse.cdt.debug.internal.ui.actions' package. - * AddAddressBreakpointActionDelegate.java - * plugin.xml - -2003-09-16 Mikhail Khodjaiants - Cleanup. - * CUISourceLocator.java - -2003-09-11 Mikhail Khodjaiants - Reset the selection of variable after casting. - * CastToArrayActionDelegate.java - * CastToTypeActionDelegate.java - -2003-10-11 Mikhail Khodjaiants - Moving the shared library search paths block to mi UI. - * SolibSearchPathBlock.java: moved to mi UI. - -2003-09-09 Mikhail Khodjaiants - New class - SolibSearchPathBlock. Implements the UI control block to set the shared library search path. - * SolibSearchPathBlock.java - -2003-08-29 Mikhail Khodjaiants - Label for target suspended by shared library event. - * CDTDebugModelPresentation.java - -2003-08-19 Mikhail Khodjaiants - * plugin.properties: "Restore Default Type" changed to "Restore Original Type". - -2003-08-13 Mikhail Khodjaiants - * CDebugImages.java: new images for the 'Cast to type" and 'Display As Array' dialogs - * CastToTypeActionDelegate.java: new image - * CastToArrayActionDelegate.java: removed the 'type' field, added new image - -2003-08-13 Mikhail Khodjaiants - Display the proper image for reference types. - * CDTDebugModelPresentation.java - -2003-07-30 Mikhail Khodjaiants - Moved the 'getReferencedProject' method to 'CDebugUtils'. Added the cycle checking. - * SourceLookupBlock.java - -2003-07-29 Mikhail Khodjaiants - Fix for PR 40911: Double clicking on breakpoint with no source causes internal error. - * CDTDebugModelPresentation.java: check if the resource associated with breakpoint is a file. - -2003-07-28 Mikhail Khodjaiants - Minimize the number of the "evaluate expression" requests when changing the value of the floating point types. - * CDTDebugModelPresentation.java - -2003-07-28 Mikhail Khodjaiants - Refactoring: moved the 'isNaN', 'isPositiveInfinity' and 'isNegativeInfinity' to the 'CDebugUtils' class. - * CDTDebugModelPresentation.java - -2003-07-28 Mikhail Khodjaiants - Refactoring: moved the 'CDebugUtils' class to the 'org.eclipse.cdt.debug.core' package - - the methods of this class are mostly used in UI plugins. - * CDTDebugModelPresentation.java - * CBreakpointPreferencePage.java - * MemoryPresentation.java - * SharedLibrariesView.java - -2003-07-28 Mikhail Khodjaiants - Cleanup. Removed the 'reset' method from the 'ICVaraible' interface. - * VariableFormatActionDelegate.java - -2003-07-24 Mikhail Khodjaiants - New icon for closed projects. - * icons/full/obj16/cproject_obj.gif: new - * CDebugImages.java - * SourceLookupBlock.java - -2003-07-24 Mikhail Khodjaiants - When initializing the generic source locations list filter out non-generic locations. - * SourceLookupBlock.java - -2003-07-22 Mikhail Khodjaiants - Check if the value that getName returns is not null. - * CDTDebugModelPresentation.java - -2003-07-17 Mikhail Khodjaiants - Automatically update the list of source locations when the list of the referenced - projects is modified. - * CheckedListDialogField.java - * AddDirectorySourceLocationBlock.java - * AddProjectSourceLocationBlock.java - * CUISourceLocator.java - * SourceLookupBlock.java - -2003-06-29 Mikhail Khodjaiants - Fix for PR 39101: No hilight when changing the value of register. - * RegistersView.java - * RegistersViewer.java - -2003-06-26 Mikhail Khodjaiants - New icon for shared libraries with loaded symbols. - * icons/full/ovr16/symbols_ovr.gif: new - * CDebugImages.java - * CDTDebugModelPresentation.java - -2003-06-24 Mikhail Khodjaiants - Warnings cleanup. - * CDebugPreferencePage.java - * MemoryControlArea.java - -2003-06-20 Mikhail Khodjaiants - In the 'getVariableText' and 'getVariableImage' methods of CDTDebugModelPresentation - ignore exceptions thrown by getType. - * CDTDebugModelPresentation.java - -2003-06-20 Mikhail Khodjaiants - Variable bookkeeping (phase 0.1). - The 'Enable' and 'Disable' actions added to the Variables view. - * plugin.properties - * plugin.xml - * icons/full/obj16/vard_aggr.gif: new - * icons/full/obj16/vard_pointer.gif: new - * icons/full/obj16/vard_simple.gif: new - * icons/full/clc16/disabled_co.gif: new - * icons/full/clc16/enabled_co.gif: new - * CDebugImages.java - * CDTDebugModelPresentation.java - * DisableVariablesActionDelegate.java: new - * EnableVariablesActionDelegate.java: new - -2003-06-13 Mikhail Khodjaiants - Fix for PR 38788: Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A, Ctrl-Z and Ctrl-Y keys don't work - in the address field of the Memory view. - Note: Ctrl-Z still doesn't work because there is no support of it in the Text widget. - * MemoryViewAction.java: moved to the org.eclipse.cdt.debug.internal.ui.views.memory package. - * MemoryControlArea.java - * MemoryView.java - -2003-06-12 Mikhail Khodjaiants - Fixing "trivial" PR 38788: Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A, Ctrl-Z and Ctrl-Y keys don't work - in the address field of the Memory view. - * MemoryViewAction.java: new - * MemoryControlArea.java - * MemoryView.java - * MemoryViewer.java - -2003-06-10 Mikhail Khodjaiants - Refactoring: moved the type and value related methods from ICVariable to ICType and ICValue. - * CDTDebugModelPresentation.java - -2003-06-09 Mikhail Khodjaiants - Added default format preferences for variables, registers and expressions. - * CDebugPreferencePage.java - -2003-06-09 Mikhail Khodjaiants - Renamed the 'refresh' method of ICVariable to 'reset'. - * VariableFormatActionDelegate.java - -2003-06-05 Mikhail Khodjaiants - Changed the presentation of arrays and array types. - * CDTDebugModelPresentation.java - -2003-06-05 Mikhail Khodjaiants - UI support of infinite values of the floating point types. - * CDTDebugModelPresentation.java - -2003-06-05 Mikhail Khodjaiants - Evaluate expressions of detail panel asynchronously. - * CDTValueDetailProvider.java - -2003-06-04 Mikhail Khodjaiants - Implementing the UI support of the detail panel. - * CDTDebugModelPresentation.java - * CDTValueDetailProvider.java: new - -2003-06-04 Mikhail Khodjaiants - The presentation of the new types. - * CDTDebugModelPresentation.java - -2003-05-23 Mikhail Khodjaiants - Fix for PR 38047: Unable to save changes in C/C++ debug editor. - * CDebugEditor.java - * EditorInputDelegate.java - * CDebugUIPlugin.java - -2003-05-29 Mikhail Khodjaiants - PR 38268: added the image cache for overlay images. - * OverlayImageCache.java: new - * CDTDebugModelPresentation.java - -2003-05-29 Mikhail Khodjaiants - Changed the vizualization of arrays and structures. - * CDTDebugModelPresentation.java - -2003-05-14 Mikhail Khodjaiants - Created preference for the maximum number of disassembly instructions. - * CDebugPreferencePage.java - -2003-05-13 Mikhail Khodjaiants - Enable/disable the 'Add Globals' action when the 'Expressions' view is initializing. - * AddGlobalsActionDelegate.java - -2003-05-12 Mikhail Khodjaiants - Accumulate the status information when adding multiple globals to the Expression view. - * AddGlobalsActionDelegate.java - -2003-05-12 Mikhail Khodjaiants - Moved the generation of expressions for global variables to the mi plugin. - * AddGlobalsActionDelegate.java - -2003-05-07 Mikhail Khodjaiants - Display the error message and error image in the debug target's label - if the error status is set. - * CDTDebugModelPresentation.java - -2003-05-06 Mikhail Khodjaiants - Ruler tooltips in the dissassembly editor. - * DisassemblyEditor.java - * DisassemblySourceViewerConfiguration.java: new - -2003-05-05 Mikhail Khodjaiants - New implementation of overlayed images. - * OverlayImageDescriptor.java: new - * CImageDescriptor.java: removed - * CDebugImages.java: new overlay images - * CDTDebugModelPresentation.java: presentation of breakpoints and debug elements. - * icons/full/ovr16/address_ovr.gif: new - * icons/full/ovr16/address_ovr_disabled.gif: new - * icons/full/ovr16/function_ovr.gif: new - * icons/full/ovr16/function_ovr_disabled.gif: new - * icons/full/ovr16/conditional_ovr.gif: new - * icons/full/ovr16/conditional_ovr_disabled.gif: new - * icons/full/ovr16/error_ovr.gif: new - * icons/full/ovr16/warning_ovr.gif: new - -2003-04-29 Alain Magloire - - * src/org/eclipse/cdt/debug/internal/ui/editor/CDebugDocumentProvider.java (doSetInput): - Disconnect the old input from the working manager. - -2003-04-27 Alain Magloire - - Bug PR 36759, the outliner was not updated, when using - the CDebugEditor. - - * src/org/eclipse/cdt/debug/internal/ui/editor/CDebugDocumentProvider.java (getBufferFactory): - New method overload getBufferFactory() to return the factory of - CUIPlugin.getDefault().getDocumentProvider().getBufferFactory(). - -2003-04-25 Mikhail Khodjaiants - Fix for bug 36909. - * NoSymbolOrSourceElement.java: new file. - * CDTDebugModelPresentation.java - * CUISourceLocator.java - -2003-04-24 Mikhail Khodjaiants - Display error messages in the 'Registers' view. - * RegistersView.java - -2003-04-24 Mikhail Khodjaiants - Added shortcuts for the C/C++ Debug specific views. - * plugin.xml - -2003-04-24 Mikhail Khodjaiants - Update the actions of the 'Shared Libraries' view even if the viewer's input - is the same as before. - * SharedLibrariesView.java - -2003-04-23 Mikhail Khodjaiants - If error occurs when acquiring the signal information from gdb - the error message should be displayed in the 'Signals' view. - * SignalsView.java - * SignalsViewer.java - * SignalsViewEventHandler.java - -2003-04-21 Mikhail Khodjaiants - Fix for bug 36682. - * CDTDebugModelPresentation.java - -2003-04-21 Mikhail Khodjaiants - Temporary fix for character values. - * CDTDebugModelPresentation.java - -2003-04-16 Mikhail Khodjaiants - Quick fix for variable values. - * CDTDebugModelPresentation.java - -2003-04-14 Mikhail Khodjaiants - Added icon to the 'Add/Remove Breakpoint' action for functions and methods. - * plugin.xml - -2003-04-14 Mikhail Khodjaiants - Commented default format preferences. - * CDebugPreferencePage.java - -2003-04-14 Mikhail Khodjaiants - Fixes for toggle actions. - * plugin.xml - * MemoryFormatAction.java - * MemoryNumberOfColumnAction.java - * MemorySizeAction.java - -2003-04-11 Mikhail Khodjaiants - Method and function breakpoints. - * plugin.properties - * plugin.xml - * icons/full/obj16/brkpd_obj.gif: new - * icons/full/obj16/funbrkp_obj.gif: new - * icons/full/obj16/funbrkpd_obj.gif: new - * CDTDebugModelPresentation.java - * CDebugImages.java - * CBreakpointPreferencePage.java - * ManageFunctionBreakpointActionDelegate.java: new - * DisassemblyMarkerAnnotation.java - * DisassemblyMarkerAnnotationModel.java - -2003-04-08 Mikhail Khodjaiants - Removed unused private methods and members. - * CDebugEditor.java - * MemoryPresentation.java - * MemoryText.java - * MemoryViewer.java - -2003-04-08 Mikhail Khodjaiants - Preserving the registers tree structure during the debug session. - * ViewerState.java: new - * RegistersView.java - * RegistersViewEventHandler.java - -2003-04-07 Mikhail Khodjaiants - No dialog if switch to frame failed. - * CDebugUIPlugin.java - -2003-04-05 Alain Magloire - - * CDebugEditor.java - Change to make the ContentOutline work. - -2003-04-01 Mikhail Khodjaiants - Changed the labels of the C/C++ specific actions. - * plugin.properties - * plugin.xml - -2003-04-01 Mikhail Khodjaiants - The 'Auto-Refresh' preferences were moved to the code plugin. Changed the preference - pages for the Registers and Shared Libraries views to reflect this. - * ICDebugPreferenceConstants.java - * RegistersViewPreferencePage.java - * SharedLibrariesViewPreferencePage.java - -2003-04-01 Mikhail Khodjaiants - Changed implementation and initialization of 'AutoRefreshAction'. - * AutoRefreshAction.java - * RegistersView.java - * SharedLibrariesView.java - -2003-04-01 Mikhail Khodjaiants - Removed the 'Show Type Names' preference from the Registers view's preference page. - * ShowRegisterTypesAction.java - * RegistersViewPreferencePage.java - * RegistersView.java - -2003-03-31 Mikhail Khodjaiants - 'Auto-Refresh' and 'Refresh' actions for registers view. - * ICDebugHelpContextIds.java - * RefreshAction.java - * ICDebugPreferenceConstants.java - * RegistersViewPreferencePage.java - * RegistersView.java - * RegistersViewContentProvider.java - -2003-03-28 Mikhail Khodjaiants - Added the default format section for variables, registers and expressions - to the debugger preference page. - * CDebugPreferencePage.java - -2003-03-28 Mikhail Khodjaiants - 'Run To C/C++ Line' and 'Resume At C/C++ Line' actions for external files. - * JumpToLineActionDelegate.java - * RunToLineActionDelegate.java - * RunToLineRulerAction.java - -2003-03-25 Mikhail Khodjaiants - Fix for bug 35092. - * CDebugImages.java - -2003-03-25 Mikhail Khodjaiants - Added the 'logErrorMessage' static method to the 'CDebugUIPlugin' class. - * CDebugUIPlugin.java - -2003-03-18 Mikhail Khodjaiants - Removed the gdb-specific variable parsing. - * VariableFormatActionDelegate.java - * CDTDebugModelPresentation.java - -2003-03-17 Mikhail Khodjaiants - Replace range by start index and length in 'Display As Array' action. - * CastToArrayActionDelegate.java - -2003-03-14 Mikhail Khodjaiants - Fix for the 'Restore Default Type' action. - * RestoreDefaultTypeActionDelegate.java - -2003-03-11 Mikhail Khodjaiants - The implementation of the "Display As Array" action. - * CastToArrayActionDelegate.java - * CastToTypeActionDelegate.java - -2003-03-10 Mikhail Khodjaiants - Implementing the "Display As Array" action. - * plugin.xml - * plugin.propeties - * CastToArrayActionDelegate.java: new - -2003-03-09 Mikhail Khodjaiants - The implementation of the "Cast To Type" and "Restore Default Type" actions. - * plugin.xml - * plugin.propeties - * CastToTypeActionDelegate.java: new - * RestoreDefaultTypeActionDelegate.java: new - -2003-03-05 Mikhail Khodjaiants - The extension of CEditor that displays the 'Source Not Found' form. - * plugin.properties - * plugin.xml - * CDTDebugModelPresentation.java - * AttachSourceEditor.java: removed - * AttachSourceEditorInput.java: removed - * FileNotFoundElement.java: new - * CDebugDocumentProvider.java: new - * CDebugEditor.java: new - * EditorInputDelegate.java: new - * ManageBreakpointRulerActionDelegate.java - -2003-02-28 Mikhail Khodjaiants - Check if part is not null when set the selection. - * AddExpressionActionDelegate.java - * AddGlobalsActionDelegate.java - * JumpToLineActionDelegate.java - * RunToLineActionDelegate.java - -2003-02-28 Mikhail Khodjaiants - Check if page exists before adding a listener. - * AbstractListenerActionDelegate.java - -2003-02-21 Mikhail Khodjaiants - Implementing the 'Attach Source' editor. - * plugin.properties - * plugin.xml - * icons/full/obj16/filenotfound_obj.gif: new - * CDTDebugModelPresentation.java - * AttachSourceEditor.java: new - * AttachSourceEditorInput.java: new - * FileNotFoundElement.java: new - * CUISourceLocator.java - -2003-02-20 Mikhail Khodjaiants - Added the 'Association' column and the 'Restore Defaults' button to the SourceLookupBlock. - * SourceLookupBlock.java - * SourcePropertyPage.java - -2003-02-18 Mikhail Khodjaiants - Added persistency to the source locator. - * CUISourceLocator.java - * SourceLookupBlock.java - * SourcePropertyPage.java - -2003-02-14 Mikhail Khodjaiants - Enable the 'Resume With Signal' action only if target is suspended. - * SignalActionDelegate.java - -2003-02-14 Mikhail Khodjaiants - Change the 'Deliver Signal' action name to 'Resume With Signal'. - * plugin.properties - -2003-02-13 Mikhail Khodjaiants - Undo changes because the 'asyncExec' method of the 'DebugPlugin' class has added since version 2.1. - * CDebugUIPlugin.java - -2003-02-13 Mikhail Khodjaiants - Use the 'asyncExec' method of the 'DebugPlugin' class. - * CDebugUIPlugin.java - -2003-02-11 Mikhail Khodjaiants - The 'Load Symbole For All' action is added to the 'Shared Libraries' view - * CDebugImages.java - * ICDebugHelpContextIds.java - * LoadSymbolsForAllAction.java: new - * SharedLibrariesView.java - * ICDebugUIConstants.java - * icons/full/clcl16/load_all_symbols_co.gif: new - * icons/full/dlcl16/load_all_symbols_co.gif: new - * icons/full/elcl16/load_all_symbols_co.gif: new - -2003-02-10 Mikhail Khodjaiants - The 'Auto-Refresh' and 'Refresh' actions are added to the 'Shared Libraries' view. - * RefreshAction.java: new - * AutoRefreshAction.java: new - * RefreshMemoryAction.java - * AutoRefreshMemoryAction.java - * SharedLibrariesView.java - * CDebugImages.java - * ICDebugHelpContextIds.java - -2003-02-09 Alain Magloire - - Changing the scope of methods to protected to let inner class - have access to it. - * StringDialogField.java - * CheckedListDialogField.java - * ComboDialogField.java - * ListDialogField.java - * SelectionButtonDialogField.java - * SelectionButtonDialogFieldGroup.java - -2003-02-07 Mikhail Khodjaiants - Implementing the preference page for the 'Shared Libraries' view. - * ICDebugHelpContextIds.java - * ICDebugPreferenceConstants.java - * SharedLibrariesViewPreferencePage.java: new - * CDebugUIPlugin.java - * plugin.xml - * plugin.properties - -2003-02-07 Mikhail Khodjaiants - The viewer type of the 'Shared Libraries' view changed to 'TableTreeViewer'. - * CDTDebugModelPresentation.java - * AbstractDebugEventHandler.java - * SharedLibrariesView.java - * SharedLibrariesViewContentProvider.java - * SharedLibrariesViewEventHandler.java - -2003-02-07 Mikhail Khodjaiants - The 'Resume Without Signal' action added to the 'Run' menu of the workbench window. - * SignalZeroWorkbenchActionDelegate.java: new - * plugin.xml - -2003-02-07 Mikhail Khodjaiants - Rename 'SignalZeroActionDelegate' to 'SignalZeroObjectActionDelegate'. - * SignalZeroObjectActionDelegate.java - * plugin.xml - -2003-02-05 Mikhail Khodjaiants - Removed warnings. - * AddAddressBreakpointActionDelegate.java - * AddExpressionActionDelegate.java - * CBreakpointPropertiesDialog.java - * CUISourceLocator.java - * SourceLookupBlock.java - -2003-02-05 Mikhail Khodjaiants - Implementation of the 'Resume At C/C++ Line' action. - * RunToLineActionDelegate.java - * JumpToLineActionDelegate.java - * plugin.properties - * plugin.xml - icons/full/clcl16/jump_co.gif - icons/full/dlcl16/jump_co.gif - icons/full/elcl16/jump_co.gif - -2003-02-04 Mikhail Khodjaiants - Implementation of the 'Resume Without Signal' action. - * SignalZeroActionDelegate.java - * plugin.properties - * plugin.xml - icons/full/clcl16/signal0_co.gif - icons/full/dlcl16/signal0_co.gif - icons/full/elcl16/signal0_co.gif - -2003-02-04 Mikhail Khodjaiants - 'DebugException' handling in the 'Signals' view. - * SignalsView.java - * SignalsViewer.java - -2003-02-04 Mikhail Khodjaiants - Changed the 'Signal' action name to 'Deliver Signal'. - * plugin.properties - -2003-02-03 Mikhail Khodjaiants - Implementing the 'Signals' view. - * SignalActionDelegate.java - * SignalsViewer.java: new - * CDTDebugModelPresentation.java - -2003-01-31 Mikhail Khodjaiants - Implementing the 'Signals' view. - * CDebugImages.java - * ICDebugHelpContextIds.java - * SignalActionDelegate.java - * SignalsView.java: new - * SignalsViewContentProvider.java: new - * SignalsViewer.java: new - * SignalsViewEventHandler.java: new - * AbstractDebugEventHandler.java - * plugin.xml - * plugin.properties - icons/full/clcl16/signal_co.gif - icons/full/dlcl16/signal_co.gif - icons/full/elcl16/signal_co.gif - icons/full/eview6/signals_view.gif - icons/full/cview6/signals_view.gif - -2003-01-30 Mikhail Khodjaiants - Disassembly editor input fix. - * CDTDebugModelPresentation.java - -2003-01-27 Mikhail Khodjaiants - Managing breakpoints from the gdb console. - * AddAddressBreakpointActionDelegate.java - * ManageBreakpointRulerAction.java - * CDebugUIPlugin.java - -2003-01-23 Mikhail Khodjaiants - Ignore the text selection when hovering. - * DebugTextHovering.java - -2003-01-21 Mikhail Khodjaiants - Changed the viewer of the Shared Libraries view to TreeViewer. - * SharedLibrariesView.java - * SharedLibrariesViewContentProvider.java - * SharedLibrariesViewEventHandler.java - -2003-01-21 Mikhail Khodjaiants - - * src/org/eclipse/cdt/debu/internal/ui/CDTDebugModelPresentation.java - (getTargetText): Use Signal. - -2003-01-20 Mikhail Khodjaiants - Changed the icon for the 'Load Symbols' action. - icons/full/clcl16/load_symbols_co.gif - icons/full/dlcl16/load_symbols_co.gif - icons/full/elcl16/load_symbols_co.gif - -2003-01-19 Mikhail Khodjaiants - Set the start or end address value in the shared libraries view to 'Not available' if the address value is 0. - * CDTDebugModelPresentation.java - -2003-01-17 Mikhail Khodjaiants - Use the C editor instead of the default editor for files without extensions. - * CDTDebugModelPresentation.java - -2003-01-17 Mikhail Khodjaiants - Added the handlers for the 'Create' and 'Terminate' events to the 'Shared Libraries' view. - * SharedLibrariesViewEventHandler.java - -2003-01-17 Mikhail Khodjaiants - Implementation of the shared library view. - * LoadSymbolsActionDelegate.java - * SharedLibrariesView.java - * SharedLibrariesViewEventHandler.java - * CDTDebugModelPresentation.java - * CDebugImages.java - * plugin.properties - * plugin.xml - -2003-01-16 Mikhail Khodjaiants - Implementing the Shared Libraries view. - * SharedLibrariesView.java - * SharedLibrariesViewContentProvider.java - * SharedLibrariesViewEventHandler.java - * CDebugImages.java - * ICDebugHelpContextIds.java - * plugin.properties - * plugin.xml - * icons/full/cview16/sharedlibraries_view.gif - * icons/full/eview16/sharedlibraries_view.gif - * icons/full/obj16/sharedlibraryl_obj.gif - * icons/full/obj16/sharedlibraryu_obj.gif - -2003-01-15 Mikhail Khodjaiants - The 'getDefaultEditor' method returns 'null' for file names that don't have an extension and - are not registered with some editor. Use the default text editor in this case. - * CDTDebugModelPresentation.java - -2003-01-14 Mikhail Khodjaiants - Added the 'Add Address Breakpoint' action to the workbench 'Run' menu. - * AddAddressBreakpointActionDelegate.java - * plugin.properties - * plugin.xml - * icons/full/obj16/brkp_obj.gif - -2003-01-13 Mikhail Khodjaiants - Implementation of the 'Run To Line' action for disassembly. - * RunToLineActionDelegate.java - -2003-01-13 Alain Magloire - - * src/org/eclipse/cdt/debug/internal/ui/editors/DebugTextHover.java (getHoverInfo): - IndexArrayOutOfBound exception, do no use the index when doing targetList.add(). - -2003-01-10 Mikhail Khodjaiants - Added contributions of the breakpoint actions to the disassembly editor. - * DisassemblyEditor.java - * plugin.xml - -2003-01-10 Mikhail Khodjaiants - Implementation of address breakpoints. - * CDebugImages.java - * CDTDebugModelPresentation.java - * BreakpointLocationVerifier.java - * CBreakpointPreferencePage.java - * ManageBreakpointActionDelegate.java - * ManageBreakpointRulerAction.java - * ManageBreakpointRulerActionDelegate.java - * DisassemblyDocumentProvider.java - * DisassemblyEditor.java - * DisassemblyEditorInput.java - * DisassemblyMarkerAnnotation.java - * DisassemblyMarkerAnnotationModel.java - * CDebugUIPlugin.java - * plugin.properties - * plugin.xml - - New icons: - * full/obj16/addrbrkp_obj.gif - * full/obj16/addrbrkpd_obj.gif - -2003-01-06 Alain Magloire - - * build.properties: Patch from Judy Green. - -2003-01-06 Mikhail Khodjaiants - Fix for bug 28977: Unable to set breakpoint properties from the Breakpoint view. - * plugin.xml - -2003-01-02 Mikhail Khodjaiants - Adapter for 'IResource' in 'DisassemblyEditorInput'. - * DisassemblyEditorInput.java - -2002-12-29 Mikhail Khodjaiants - Implementation of the 'Source Lookup' property page. - * AddDirectorySourceLocationBlock.java (new) - * AddDirectorySourceLocationWizard.java (new) - * AddProjectSourceLocationBlock.java (new) - * AddProjectSourceLocationWizard.java (new) - * AddSourceLocationWizard.java - * SourceLocationSelectionPage.java (new) - * SourceLocationWizardNode.java (new) - * CDebugImages.java - * AttachSourceLocationBlock.java renamed to AddDirectorySourceLocationBlock.java - * AttachSourceLocationDialog.java (deleted - dialog replaced by wizard). - * INewSourceLocationWizard.java (new) - * SourceLookupBlock.java - Added new wizard and tool icons. - -2002-12-19 Mikhail Khodjaiants - Implementing the 'Source Lookup' property page. - * AddSourceLocationWizard.java - * SourceLookupBlock.java - * SourcePropertyPage.java - icons/full/obj16/project_obj.gif - icons/full/obj16/folder_obj.gif - -2002-12-19 Mikhail Khodjaiants - Added the 'org.eclipse.cdt.debug.internal.ui.dialogfields' package. - -2002-12-19 Mikhail Khodjaiants - Added new utility class - SWTUtil - * SWTUtil.java - * AttachSourceLocationBlock.java - -2002-12-19 Mikhail Khodjaiants - Added new utility class - PixelConverter - * PixelCoverter.java - * AttachSourceLocationBlock.java - -2002-12-18 Mikhail Khodjaiants - Implementing the "Source Lookup" property page. - * SourceLookupBlock.java: common control block. - * SourcePropertyPage.java: implementation - * plugin.properties: page name - * plugin.xml: contribution to ICDebugTarget properties - -2002-12-18 Mikhail Khodjaiants - Do not show the source lookup dialog if file name is not specified. - * CUISourceLocator.java - -2002-12-17 Mikhail Khodjaiants - Disable the association controls in the 'Attach Source Location" dialog if path is not absolute. - * AttachSourceLocationBlock.java - * CUISourceLocator.java - -2002-12-17 Mikhail Khodjaiants - Formatting 'char' types. - * VariableFormatActionDelegate.java - -2002-12-17 Mikhail Khodjaiants - Removed the "Primitive type display options" section from the C/C++ Debug preference page because of the different formattong strategy. - * CDebugPreferencePage.java - -2002-12-17 Mikhail Khodjaiants - The UI part of the prompting source locator. - * AttachSourceLocationBlock.java - * AttachSourceLocationDialog.java - * CUISourceLocator.java - * plugin.xml - -2002-12-16 Mikhail Khodjaiants - New formating actions for variables, registers, and expressions - * VariableFormatActionDelegate.java - * DecVariableFormatActionDelegate.java - * HexVariableFormatActionDelegate.java - * NaturalVariableFormatActionDelegate.java - * plugin.xml - * plugin.properties - -2002-12-10 Mikhail Khodjaiants - Added new case in the 'getEditorInput' method of CDTDebugModelPresentation for FileStorage objects. - * CDTDebugModelPresentation.java - -2002-12-08 Mikhail Khodjaiants - Implementation of the status handler for core errors. - * ErrorStatusHandler.java - -2002-12-04 Mikhail Khodjaiants - Small fix for the Registers view. - * RegistersView.java - -2002-12-02 Mikhail Khodjaiants - If the target is suspended because of error display the error message in the Launch view. - * CDTDebugModelPresentation.java - -2002-12-02 Mikhail Khodjaiants - Refactoring org.eclipse.cdt.debug.core - UI changes. - -2002-12-02 Mikhail Khodjaiants - 'Run to line' and 'Add expression' actions for assembly editor. - *plugin.xml - -2002-12-01 Mikhail Khodjaiants - Contributing breakpoint actions to asm editor. - * plugin.xml - * ManageBreakpointRulerActionDelegate.java - -2002-11-29 Mikhail Khodjaiants - Cosmetic change for the MemoryView preference page. - * plugin.properties - * MemoryViewPreferencePage.java - -2002-11-29 Mikhail Khodjaiants - Cosmetic fix for the memory view tab's tooltips. - * MemoryControlArea.java - -2002-11-28 Mikhail Khodjaiants - Fixes for 'Run to line' actions. - * RunToLineActionDelegate.java - * RunToLineRulerAction.java - -2002-11-28 Mikhail Khodjaiants - Live editing of the memory view. - * SaveMemoryChangesAction.java - removed - * MemoryPresentation.java - * MemoryControlArea.java - * MemoryText.java - * MemoryViewer.java - * MemoryView.java - -2002-11-27 Mikhail Khodjaiants - Render debug target as suspended if no reason is specified. - * CDTDebugModelPresentation.java - -2002-11-26 Mikhail Khodjaiants - Fix for evaluation of expression to address in the Memory view. - GDB evaluates the array of chars to a string not an address. - * MemoryControlArea.java - -2002-11-21 Mikhail Khodjaiants - Added the 'Evaluate' button to the Memory view. - * MemoryControlArea.java - -2002-11-20 Mikhail Khodjaiants - Reset the tooltips of the memory view tabs on terminate. - * MemoryControlArea.java - -2002-11-20 Mikhail Khodjaiants - Added the TERMINATE event handler to MemoryViewEventHandler. - * MemoryViewer.java - * MemoryViewEventHandler.java - -2002-11-20 Mikhail Khodjaiants - Fix for bug 26595. - Highlight the addresses if the start address of a memory expression has changed. - *MemoryPresentation.java - *MemoryText.java - -2002-11-19 Mikhail Khodjaiants - Added enablement condition to some actions. - *plugin.xml - -2002-11-19 Mikhail Khodjaiants - Fix for bug 26693. - * SwitchToDisassemblyActionDelegate.java - -2002-11-19 Mikhail Khodjaiants - Fix for bug 26401. - * ExpressionDialog.java: Highlight the content of the expression field on intialization. - -2002-11-18 Mikhail Khodjaiants - Fixes for the 'Add Global Variables' action's bugs. - The action disabled after 'Remove All'. - Error message after adding a valid expression. - * AddGlobalsActionDelegate.java - -2002-11-15 Mikhail Khodjaiants - Added presentation for dummy stack frames. - * CDTDebugModelPresentation.java - -2002-11-13 Mikhail Khodjaiants - Added tooltips to the Memory view's tabs. - * MemoryControlArea.java - -2002-11-13 Mikhail Khodjaiants - Added the 'Auto-Refresh by default' and 'Show ASCII by default' preferences - to the 'Memory Views' preference page. - * ICDebugPreferenceConstants.java - * MemoryViewPreferencePage.java - * MemoryControlArea.java - * MemoryView.java - -2002-11-11 Mikhail Khodjaiants - Fix for PR 25988: The 'Padding Character' preference of the Memory view doesn't work. - * MemoryControlArea.java - * MemoryViewPreferencePage.java - -2002-11-05 Mikhail Khodjaiants - Implementation of the "Add Global Variables" action of the Expressions view. - Action images: - watch_globals.gif (clcl, dlcl, elcl). - * AddGlobalsActionDelegate.java: implementation. - * plugin.xml: contribution to the Expression view - * plugin.xml: added dependency to org.eclipse.cdt.core - * .classpath: added dependency to org.eclipse.cdt.core - * .project: added dependency to org.eclipse.cdt.core - * plugin.properties: action's label and tooltip text - -2002-11-03 Mikhail Khodjaiants - Implementation of the "Format/Decimal" and "Format/Unsigned Decimal" actions of the Memory view. - * MemoryFormataction.java - * MemorySizeAction.java - * MemoryNumberOfColumnsAction.java - * MemoryPresentation.java - * MemoryViewer.java - * MemoryView.java - -2002-11-01 Mikhail Khodjaiants - Implementing decimal format support of the Memory view. - * MemoryPresentation.java - -2002-10-31 Mikhail Khodjaiants - Removed the 'Modified Value Color' field from the 'Debug/Memory Views' - preference page. - * MemoryViewPreferencePage.java - -2002-10-30 Mikhail Khodjaiants - Implementing the 'Refresh Memory' action. - * RefreshMemoryAction.java - * MemoryControlArea.java - * MemoryViewer.java - -2002-10-30 Mikhail Khodjaiants - Implementation of the 'SaveMemoryChanges' action. - * SaveMemoryChangesAction.java - * CDebugImages.java - * ICDebugHelpConstants.java - * MemoryControlArea.java - * MemoryText.java - * MemoryViewer.java - * MemoryView.java - -2002-10-30 Alain Magloire - - * src/.../ui/CDebugUIPlugin.java (selectionChanged): - sameThread() code is commented out amd we let the underlying - implementation swith thread. - -2002-10-29 Mikhail Khodjaiants - Implementing editing features of the memory view. - * MemoryPresentation.java - * MemoryControlArea.java - * MemoryText.java - -2002-10-28 Mikhail Khodjaiants - Implementing editing features of the memory view. - * MemoryPresentation.java - * MemoryControlArea.java - * MemoryText.java - -2002-10-27 Mikhail Khodjaiants - * MemoryPresentation.java: adding editing features to the memory view. - -2002-10-25 Mikhail Khodjaiants - Implementation of the 'Number Of Columns' action. - * MemoryNumberOfColumnAction.java: the action class - * MemoryViewer.java: support of the action - * MemoryView.java: support of the action - -2002-10-25 Mikhail Khodjaiants - Replaced the usage of 'setWordSize' method by the 'reformat' method of 'IFormattedMemoryBlock'. - * MemorySizeAction.java - * MemoryViewer.java - -2002-10-24 Mikhail Khodjaiants - Set the 'relationship' attribute value to 'stack' for the 'MemoryView' perspective extension. - * plugin.xml - -2002-10-24 Mikhail Khodjaiants - Implementation of the 'Memory Unit Size' action. - * MemorySizeAction.java - * MemoryView.java - -2002-10-24 Mikhail Khodjaiants - Implementing Memory view formatting actions. - * MemoryActionSelectionGroup.java: implementation of a toggle action group. - * MemorySizeAction.java: implementation of the "Memory Unit Size" menu item. - * MemoryView.java: add new actions to the view. - * MemoryViewer.java: support for new action. - * ICDebugHelpContextIds.java: help context id for the new action. - * ICDebugUIConstants.java: new menu group - "Format". - -2002-10-23 Mikhail Khodjaiants - * DebuggerConsoleActionDelegate.java: The debugger/inferrior console should become visible when checking "Show Debug Console". - -2002-10-23 Mikhail Khodjaiants - "Show Debugger Console" action. - Action images: - debugger_console.gif (clcl, dlcl, elcl); - * DebuggerConsoleActionDelegate.java: implementation of action delegate. - * plugin.xml: action extenions - * plugin.properties: action label and tooltip text. - -2002-10-22 Mikhail Khodjaiants - Implementation of the "Show ASCII" action. - Action images: - show_ascii.gif (clcl, dlcl, elcl). - * ShowAsciiAction.java - * MemoryPresentation.java - * MemoryText.java - * MemoryView.java - * MemoryViewer.java - * CDebugImages.java - * ICDebugHelpContextIds.java - -2002-10-21 Mikhail Khodjaiants - Framework tries to refresh memory view before the view controls are created. - * MemoryViewer.java: Check if CTabFolder has already created when refreshing the view. - -2002-10-21 Mikhail Khodjaiants - Implementation of the "Clear" action for the memory view. - * ClearMemoryAction.java - * ICDebugHelpContextIds.java - * MemoryControlArea.java - * MemoryView.java - * MemoryViewer.java - -2002-10-21 Mikhail Khodjaiants - Implementation of the "Auto-Refresh" and "Refresh" actions for the memory view. - * AutoRefreshMemoryAction.java - * RefreshMemoryAction.java - * ICDebugHelpContextIds.java - * MemoryControlArea.java - * MemoryView.java - * MemoryViewer.java - * MemoryViewEventHandler.java - -2002-10-20 Mikhail Khodjaiants - Display the memory changes in different color in the memory view. - * MemoryControlArea.java - * MemoryPresentation.java - * MemoryText.java - * MemoryViewer.java - * MemoryViewEventHandler.java - -2002-10-18 Mikhail Khodjaiants - Implementing the memory view support: - Images for the view's actions: - autorefresh_mem.gif (clcl, dlcl, elcl), - refresh_mem.gif (clcl, dlcl, elcl), - memory_save.gif (clcl, dlcl, elcl), - memory_clear.gif (clcl, dlcl, elcl). - * RefreshMemoryAction.java - * MemoryControlArea.java - * MemoryPresentation.java - * MemoryText.java - * MemoryView.java - * MemoryViewer.java - * CDebugImages.java - * ICDebugHelpContextIds.java - * ICDebugUIConstants.java - -2002-10-17 Mikhail Khodjaiants - Implementing the memory view support: - * MemoryControlArea.java - * MemoryPresentation.java - * MemoryView.java - * MemoryViewer.java - -2002-10-15 Mikhail Khodjaiants - * CDebugUIPlugin.java: Moved the memory management functionality to the core. - * MemoryControlArea.java: Moved the memory management functionality to the core. - -2002-10-15 Mikhail Khodjaiants - * CDebugPreferencePage.java: Implementation of the 'Automatically switch to disassembly mode' preference. - -2002-10-14 Mikhail Khodjaiants - * CDebugUIPlugin.java: In the 'selectionChanged' method check if the thread of the new frame is current. If not make it current. - -2002-10-11 Mikhail Khodjaiants - * SwitchToDisassemblyActionDelegate.java: Implementation of the 'Switch to disassembly mode' action. - * plugin.properties: Action label and tooltip. - * plugin.xml: Contribution to the 'Launch View'. - * icons/full/clcl16/disassembly.gif: Hover icon. - * icons/full/dlcl16/disassembly.gif: Disabled icon. - * icons/full/elcl16/disassembly.gif: Enabled icon. diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog-2003 b/debug/org.eclipse.cdt.debug.ui/ChangeLog-2003 new file mode 100644 index 00000000000..6513cbe866d --- /dev/null +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog-2003 @@ -0,0 +1,1267 @@ +2003-12-05 Mikhail Khodjaiants + 'performApply' of 'SourceLookupBlock' should check if the project in configuration is the same as + project saved in the block. + * SourceLookupBlock.java + +2003-12-04 Mikhail Khodjaiants + Changed the message displayed when the source file is not found. + * CDebugEditor.java + +2003-11-26 Mikhail Khodjaiants + Fix for PR 47595: Referenced projects are not checked in the list of generic source locations. + * SourceLookupBlock.java + +2003-11-26 Mikhail Khodjaiants + Cleanup. + * CDTDebugModelPresentation.java + * AddExpressionActionDelegate.java + * AddGlobalsActionDelegate.java + * AddWatchpointActionDelegate.java + * AddWatchpointDialog.java + * AutoRefreshAction.java + * CBreakpointPreferencePage.java + * ExpressionDialog.java + * ManageBreakpointRulerAction.java + * MemoryFormatAction.java + * MemoryNumberOfColumnAction.java + * MemorySizeAction.java + * RunToLineRulerAction.java + * ShowRegisterTypesAction.java + * ComboDialogField.java + * DisassemblyMarkerAnnotationModel.java + * MemoryViewer.java + * AddProjectSourceLocationBlock.java + * CDebugUIPlugin.java + * SourceLookupBlock.java + * SourcePropertyPage.java + +2003-11-21 Mikhail Khodjaiants + Use "symbol not available" for empty function names when generating a stack frame label. + * CDTDebugModelPresentation.java + +2003-11-13 Mikhail Khodjaiants + Use 'StringBuffer' instead of 'String' when generating stack frame labels. + Added a label for dummy stack frames instead of using the name provided by the rendered object. + * CDTDebugModelPresentation.java + +2003-11-05 Mikhail Khodjaiants + The argument type of the 'getBreakpointAddress' of 'ICBreakpointManager' is changed from + 'ICBreakpoint' to 'ICBreakpointManager'. + * DisassemblyMarkerAnnotationModel.java + +2003-11-03 Mikhail Khodjaiants + Fix for PR 45957: Memory view: last column does not show updates. + * MemoryPresentation.java + +2003-10-31 Mikhail Khodjaiants + Applied the changes made to the corresponding classes of 'org.eclipse.debug.ui'. + * AbstractDebugActionDelegate.java + * AbstractListenerActionDelegate.java + * AddAddressBreakpointActionDelegate.java + * DebuggerConsoleActionDelegate.java + * SwitchToDisassemblyActionDelegate.java + * SignalZeroWorkbenchActionDelegate.java + +2003-10-28 Mikhail Khodjaiants + Changed name of source lookup preference page. + * plugin.properties + +2003-10-27 Mikhail Khodjaiants + Added support of the old launch configurations. + * plugin.xml + * plugin.properties + +2003-10-27 Mikhail Khodjaiants + Changed the initialization of 'SourceLookupBlock'. + * SourceLookupBlock.java + * SourcePropertyPage.java + +2003-10-27 Mikhail Khodjaiants + Moved the 'org.eclipse.debug.core.sourceLocators' extension from the launcher. + * plugin.xml + * plugin.properties + +2003-10-27 Mikhail Khodjaiants + Added dependency to 'org.apache.xerces'. + * plugin.xml + * .classpath + * .project + +2003-10-27 Mikhail Khodjaiants + Moved 'DefaultSourceLocator' from the 'org.eclipse.cdt.launch' plugin and merge it with 'CUISourceLocator'. + * CUISourceLocator.java: removed + * DefaultSourceLocator.java: moved from the launcher. + * CDebugUIPlugin.java: added the 'createSourceLocator' method. + +2003-10-27 Mikhail Khodjaiants + Renamed 'SourceLocationFactory' to 'SourceLookupFactory'. + * AddDirectorySourceLocationBlock.java + * AddProjectSourceLocationBlock.java + +2003-10-23 Mikhail Khodjaiants + Added a preference page for the source lookup. + It includes two new preferences: 'Source Locations' and 'Search For Duplicate Source Files'. + * plugin.properties + * plugin.xml + * ICDebugHelpContextIds.java + * SourcePreferencePage.java + * SourceListDialogField.java + * SourceLookupBlock.java + +2003-10-22 Mikhail Khodjaiants + Refactoring: converting nested types 'SourceListDialogField' and 'SourceLookupLabelProvider' + of 'SourceLookupBlock' to the top level types. + Added 'dispose' method to 'SourceLookupBlock'. + * SourceLookupBlock.java + * SourcePropertyPage.java + * SourceListDialogField.java + * SourceLookupLabelProvider.java + +2003-10-20 Mikhail Khodjaiants + Implementation of the "Search subfolders" option for directory source locations. + * AddDirectorySourceLocationBlock.java + * SourceLookupBlock.java + +2003-10-17 Mikhail Khodjaiants + UI support of the 'Search for duplicate source files' option. + * icons/full/obj16/prj_file_obj.gif: new + * icons/full/obj16/ext_file_obj.gif: new + * CDebugImages.java + * CUISourceLocator.java + * SourceLookupBlock.java + * SourcePropertyPage.java + +2003-10-17 Mikhail Khodjaiants + * CDebugEditor.java: changed the message displayed when the source file not found. + +2003-10-14 Mikhail Khodjaiants + * DebugTextHover.java: check if the result of 'evaluateExpression' is not null before trim it. + +2003-10-06 Mikhail Khodjaiants + Mark the function arguments in the Variables View. + * icons\full\ovr16\argument_ovr.gif: new + * icons\full\ovr16\castarray_ovr.gif: new + * icons\full\ovr16\casttype_ovr.gif: new + * CDebugImages.java + * CDTDebugModelPresentation.java + +2003-09-30 Mikhail Khodjaiants + Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly. + Added an internal constant to limit the hover text size. + Present the hover text in HTML format. + * DebugTextHover.java + +2003-09-24 Mikhail Khodjaiants + Fix for PR 43624: The "Show Types Name" action of the Registers view doesn't work. + * ShowRegisterTypesAction.java + * RegistersView.java + +2003-09-22 Mikhail Khodjaiants + Moved the 'AddAddressBreakpointActionDelegate' action + to the 'org.eclipse.cdt.debug.internal.ui.actions' package. + * AddAddressBreakpointActionDelegate.java + * plugin.xml + +2003-09-16 Mikhail Khodjaiants + Cleanup. + * CUISourceLocator.java + +2003-09-11 Mikhail Khodjaiants + Reset the selection of variable after casting. + * CastToArrayActionDelegate.java + * CastToTypeActionDelegate.java + +2003-10-11 Mikhail Khodjaiants + Moving the shared library search paths block to mi UI. + * SolibSearchPathBlock.java: moved to mi UI. + +2003-09-09 Mikhail Khodjaiants + New class - SolibSearchPathBlock. Implements the UI control block to set the shared library search path. + * SolibSearchPathBlock.java + +2003-08-29 Mikhail Khodjaiants + Label for target suspended by shared library event. + * CDTDebugModelPresentation.java + +2003-08-19 Mikhail Khodjaiants + * plugin.properties: "Restore Default Type" changed to "Restore Original Type". + +2003-08-13 Mikhail Khodjaiants + * CDebugImages.java: new images for the 'Cast to type" and 'Display As Array' dialogs + * CastToTypeActionDelegate.java: new image + * CastToArrayActionDelegate.java: removed the 'type' field, added new image + +2003-08-13 Mikhail Khodjaiants + Display the proper image for reference types. + * CDTDebugModelPresentation.java + +2003-07-30 Mikhail Khodjaiants + Moved the 'getReferencedProject' method to 'CDebugUtils'. Added the cycle checking. + * SourceLookupBlock.java + +2003-07-29 Mikhail Khodjaiants + Fix for PR 40911: Double clicking on breakpoint with no source causes internal error. + * CDTDebugModelPresentation.java: check if the resource associated with breakpoint is a file. + +2003-07-28 Mikhail Khodjaiants + Minimize the number of the "evaluate expression" requests when changing the value of the floating point types. + * CDTDebugModelPresentation.java + +2003-07-28 Mikhail Khodjaiants + Refactoring: moved the 'isNaN', 'isPositiveInfinity' and 'isNegativeInfinity' to the 'CDebugUtils' class. + * CDTDebugModelPresentation.java + +2003-07-28 Mikhail Khodjaiants + Refactoring: moved the 'CDebugUtils' class to the 'org.eclipse.cdt.debug.core' package - + the methods of this class are mostly used in UI plugins. + * CDTDebugModelPresentation.java + * CBreakpointPreferencePage.java + * MemoryPresentation.java + * SharedLibrariesView.java + +2003-07-28 Mikhail Khodjaiants + Cleanup. Removed the 'reset' method from the 'ICVaraible' interface. + * VariableFormatActionDelegate.java + +2003-07-24 Mikhail Khodjaiants + New icon for closed projects. + * icons/full/obj16/cproject_obj.gif: new + * CDebugImages.java + * SourceLookupBlock.java + +2003-07-24 Mikhail Khodjaiants + When initializing the generic source locations list filter out non-generic locations. + * SourceLookupBlock.java + +2003-07-22 Mikhail Khodjaiants + Check if the value that getName returns is not null. + * CDTDebugModelPresentation.java + +2003-07-17 Mikhail Khodjaiants + Automatically update the list of source locations when the list of the referenced + projects is modified. + * CheckedListDialogField.java + * AddDirectorySourceLocationBlock.java + * AddProjectSourceLocationBlock.java + * CUISourceLocator.java + * SourceLookupBlock.java + +2003-06-29 Mikhail Khodjaiants + Fix for PR 39101: No hilight when changing the value of register. + * RegistersView.java + * RegistersViewer.java + +2003-06-26 Mikhail Khodjaiants + New icon for shared libraries with loaded symbols. + * icons/full/ovr16/symbols_ovr.gif: new + * CDebugImages.java + * CDTDebugModelPresentation.java + +2003-06-24 Mikhail Khodjaiants + Warnings cleanup. + * CDebugPreferencePage.java + * MemoryControlArea.java + +2003-06-20 Mikhail Khodjaiants + In the 'getVariableText' and 'getVariableImage' methods of CDTDebugModelPresentation + ignore exceptions thrown by getType. + * CDTDebugModelPresentation.java + +2003-06-20 Mikhail Khodjaiants + Variable bookkeeping (phase 0.1). + The 'Enable' and 'Disable' actions added to the Variables view. + * plugin.properties + * plugin.xml + * icons/full/obj16/vard_aggr.gif: new + * icons/full/obj16/vard_pointer.gif: new + * icons/full/obj16/vard_simple.gif: new + * icons/full/clc16/disabled_co.gif: new + * icons/full/clc16/enabled_co.gif: new + * CDebugImages.java + * CDTDebugModelPresentation.java + * DisableVariablesActionDelegate.java: new + * EnableVariablesActionDelegate.java: new + +2003-06-13 Mikhail Khodjaiants + Fix for PR 38788: Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A, Ctrl-Z and Ctrl-Y keys don't work + in the address field of the Memory view. + Note: Ctrl-Z still doesn't work because there is no support of it in the Text widget. + * MemoryViewAction.java: moved to the org.eclipse.cdt.debug.internal.ui.views.memory package. + * MemoryControlArea.java + * MemoryView.java + +2003-06-12 Mikhail Khodjaiants + Fixing "trivial" PR 38788: Ctrl-X, Ctrl-C, Ctrl-V, Ctrl-A, Ctrl-Z and Ctrl-Y keys don't work + in the address field of the Memory view. + * MemoryViewAction.java: new + * MemoryControlArea.java + * MemoryView.java + * MemoryViewer.java + +2003-06-10 Mikhail Khodjaiants + Refactoring: moved the type and value related methods from ICVariable to ICType and ICValue. + * CDTDebugModelPresentation.java + +2003-06-09 Mikhail Khodjaiants + Added default format preferences for variables, registers and expressions. + * CDebugPreferencePage.java + +2003-06-09 Mikhail Khodjaiants + Renamed the 'refresh' method of ICVariable to 'reset'. + * VariableFormatActionDelegate.java + +2003-06-05 Mikhail Khodjaiants + Changed the presentation of arrays and array types. + * CDTDebugModelPresentation.java + +2003-06-05 Mikhail Khodjaiants + UI support of infinite values of the floating point types. + * CDTDebugModelPresentation.java + +2003-06-05 Mikhail Khodjaiants + Evaluate expressions of detail panel asynchronously. + * CDTValueDetailProvider.java + +2003-06-04 Mikhail Khodjaiants + Implementing the UI support of the detail panel. + * CDTDebugModelPresentation.java + * CDTValueDetailProvider.java: new + +2003-06-04 Mikhail Khodjaiants + The presentation of the new types. + * CDTDebugModelPresentation.java + +2003-05-23 Mikhail Khodjaiants + Fix for PR 38047: Unable to save changes in C/C++ debug editor. + * CDebugEditor.java + * EditorInputDelegate.java + * CDebugUIPlugin.java + +2003-05-29 Mikhail Khodjaiants + PR 38268: added the image cache for overlay images. + * OverlayImageCache.java: new + * CDTDebugModelPresentation.java + +2003-05-29 Mikhail Khodjaiants + Changed the vizualization of arrays and structures. + * CDTDebugModelPresentation.java + +2003-05-14 Mikhail Khodjaiants + Created preference for the maximum number of disassembly instructions. + * CDebugPreferencePage.java + +2003-05-13 Mikhail Khodjaiants + Enable/disable the 'Add Globals' action when the 'Expressions' view is initializing. + * AddGlobalsActionDelegate.java + +2003-05-12 Mikhail Khodjaiants + Accumulate the status information when adding multiple globals to the Expression view. + * AddGlobalsActionDelegate.java + +2003-05-12 Mikhail Khodjaiants + Moved the generation of expressions for global variables to the mi plugin. + * AddGlobalsActionDelegate.java + +2003-05-07 Mikhail Khodjaiants + Display the error message and error image in the debug target's label + if the error status is set. + * CDTDebugModelPresentation.java + +2003-05-06 Mikhail Khodjaiants + Ruler tooltips in the dissassembly editor. + * DisassemblyEditor.java + * DisassemblySourceViewerConfiguration.java: new + +2003-05-05 Mikhail Khodjaiants + New implementation of overlayed images. + * OverlayImageDescriptor.java: new + * CImageDescriptor.java: removed + * CDebugImages.java: new overlay images + * CDTDebugModelPresentation.java: presentation of breakpoints and debug elements. + * icons/full/ovr16/address_ovr.gif: new + * icons/full/ovr16/address_ovr_disabled.gif: new + * icons/full/ovr16/function_ovr.gif: new + * icons/full/ovr16/function_ovr_disabled.gif: new + * icons/full/ovr16/conditional_ovr.gif: new + * icons/full/ovr16/conditional_ovr_disabled.gif: new + * icons/full/ovr16/error_ovr.gif: new + * icons/full/ovr16/warning_ovr.gif: new + +2003-04-29 Alain Magloire + + * src/org/eclipse/cdt/debug/internal/ui/editor/CDebugDocumentProvider.java (doSetInput): + Disconnect the old input from the working manager. + +2003-04-27 Alain Magloire + + Bug PR 36759, the outliner was not updated, when using + the CDebugEditor. + + * src/org/eclipse/cdt/debug/internal/ui/editor/CDebugDocumentProvider.java (getBufferFactory): + New method overload getBufferFactory() to return the factory of + CUIPlugin.getDefault().getDocumentProvider().getBufferFactory(). + +2003-04-25 Mikhail Khodjaiants + Fix for bug 36909. + * NoSymbolOrSourceElement.java: new file. + * CDTDebugModelPresentation.java + * CUISourceLocator.java + +2003-04-24 Mikhail Khodjaiants + Display error messages in the 'Registers' view. + * RegistersView.java + +2003-04-24 Mikhail Khodjaiants + Added shortcuts for the C/C++ Debug specific views. + * plugin.xml + +2003-04-24 Mikhail Khodjaiants + Update the actions of the 'Shared Libraries' view even if the viewer's input + is the same as before. + * SharedLibrariesView.java + +2003-04-23 Mikhail Khodjaiants + If error occurs when acquiring the signal information from gdb + the error message should be displayed in the 'Signals' view. + * SignalsView.java + * SignalsViewer.java + * SignalsViewEventHandler.java + +2003-04-21 Mikhail Khodjaiants + Fix for bug 36682. + * CDTDebugModelPresentation.java + +2003-04-21 Mikhail Khodjaiants + Temporary fix for character values. + * CDTDebugModelPresentation.java + +2003-04-16 Mikhail Khodjaiants + Quick fix for variable values. + * CDTDebugModelPresentation.java + +2003-04-14 Mikhail Khodjaiants + Added icon to the 'Add/Remove Breakpoint' action for functions and methods. + * plugin.xml + +2003-04-14 Mikhail Khodjaiants + Commented default format preferences. + * CDebugPreferencePage.java + +2003-04-14 Mikhail Khodjaiants + Fixes for toggle actions. + * plugin.xml + * MemoryFormatAction.java + * MemoryNumberOfColumnAction.java + * MemorySizeAction.java + +2003-04-11 Mikhail Khodjaiants + Method and function breakpoints. + * plugin.properties + * plugin.xml + * icons/full/obj16/brkpd_obj.gif: new + * icons/full/obj16/funbrkp_obj.gif: new + * icons/full/obj16/funbrkpd_obj.gif: new + * CDTDebugModelPresentation.java + * CDebugImages.java + * CBreakpointPreferencePage.java + * ManageFunctionBreakpointActionDelegate.java: new + * DisassemblyMarkerAnnotation.java + * DisassemblyMarkerAnnotationModel.java + +2003-04-08 Mikhail Khodjaiants + Removed unused private methods and members. + * CDebugEditor.java + * MemoryPresentation.java + * MemoryText.java + * MemoryViewer.java + +2003-04-08 Mikhail Khodjaiants + Preserving the registers tree structure during the debug session. + * ViewerState.java: new + * RegistersView.java + * RegistersViewEventHandler.java + +2003-04-07 Mikhail Khodjaiants + No dialog if switch to frame failed. + * CDebugUIPlugin.java + +2003-04-05 Alain Magloire + + * CDebugEditor.java + Change to make the ContentOutline work. + +2003-04-01 Mikhail Khodjaiants + Changed the labels of the C/C++ specific actions. + * plugin.properties + * plugin.xml + +2003-04-01 Mikhail Khodjaiants + The 'Auto-Refresh' preferences were moved to the code plugin. Changed the preference + pages for the Registers and Shared Libraries views to reflect this. + * ICDebugPreferenceConstants.java + * RegistersViewPreferencePage.java + * SharedLibrariesViewPreferencePage.java + +2003-04-01 Mikhail Khodjaiants + Changed implementation and initialization of 'AutoRefreshAction'. + * AutoRefreshAction.java + * RegistersView.java + * SharedLibrariesView.java + +2003-04-01 Mikhail Khodjaiants + Removed the 'Show Type Names' preference from the Registers view's preference page. + * ShowRegisterTypesAction.java + * RegistersViewPreferencePage.java + * RegistersView.java + +2003-03-31 Mikhail Khodjaiants + 'Auto-Refresh' and 'Refresh' actions for registers view. + * ICDebugHelpContextIds.java + * RefreshAction.java + * ICDebugPreferenceConstants.java + * RegistersViewPreferencePage.java + * RegistersView.java + * RegistersViewContentProvider.java + +2003-03-28 Mikhail Khodjaiants + Added the default format section for variables, registers and expressions + to the debugger preference page. + * CDebugPreferencePage.java + +2003-03-28 Mikhail Khodjaiants + 'Run To C/C++ Line' and 'Resume At C/C++ Line' actions for external files. + * JumpToLineActionDelegate.java + * RunToLineActionDelegate.java + * RunToLineRulerAction.java + +2003-03-25 Mikhail Khodjaiants + Fix for bug 35092. + * CDebugImages.java + +2003-03-25 Mikhail Khodjaiants + Added the 'logErrorMessage' static method to the 'CDebugUIPlugin' class. + * CDebugUIPlugin.java + +2003-03-18 Mikhail Khodjaiants + Removed the gdb-specific variable parsing. + * VariableFormatActionDelegate.java + * CDTDebugModelPresentation.java + +2003-03-17 Mikhail Khodjaiants + Replace range by start index and length in 'Display As Array' action. + * CastToArrayActionDelegate.java + +2003-03-14 Mikhail Khodjaiants + Fix for the 'Restore Default Type' action. + * RestoreDefaultTypeActionDelegate.java + +2003-03-11 Mikhail Khodjaiants + The implementation of the "Display As Array" action. + * CastToArrayActionDelegate.java + * CastToTypeActionDelegate.java + +2003-03-10 Mikhail Khodjaiants + Implementing the "Display As Array" action. + * plugin.xml + * plugin.propeties + * CastToArrayActionDelegate.java: new + +2003-03-09 Mikhail Khodjaiants + The implementation of the "Cast To Type" and "Restore Default Type" actions. + * plugin.xml + * plugin.propeties + * CastToTypeActionDelegate.java: new + * RestoreDefaultTypeActionDelegate.java: new + +2003-03-05 Mikhail Khodjaiants + The extension of CEditor that displays the 'Source Not Found' form. + * plugin.properties + * plugin.xml + * CDTDebugModelPresentation.java + * AttachSourceEditor.java: removed + * AttachSourceEditorInput.java: removed + * FileNotFoundElement.java: new + * CDebugDocumentProvider.java: new + * CDebugEditor.java: new + * EditorInputDelegate.java: new + * ManageBreakpointRulerActionDelegate.java + +2003-02-28 Mikhail Khodjaiants + Check if part is not null when set the selection. + * AddExpressionActionDelegate.java + * AddGlobalsActionDelegate.java + * JumpToLineActionDelegate.java + * RunToLineActionDelegate.java + +2003-02-28 Mikhail Khodjaiants + Check if page exists before adding a listener. + * AbstractListenerActionDelegate.java + +2003-02-21 Mikhail Khodjaiants + Implementing the 'Attach Source' editor. + * plugin.properties + * plugin.xml + * icons/full/obj16/filenotfound_obj.gif: new + * CDTDebugModelPresentation.java + * AttachSourceEditor.java: new + * AttachSourceEditorInput.java: new + * FileNotFoundElement.java: new + * CUISourceLocator.java + +2003-02-20 Mikhail Khodjaiants + Added the 'Association' column and the 'Restore Defaults' button to the SourceLookupBlock. + * SourceLookupBlock.java + * SourcePropertyPage.java + +2003-02-18 Mikhail Khodjaiants + Added persistency to the source locator. + * CUISourceLocator.java + * SourceLookupBlock.java + * SourcePropertyPage.java + +2003-02-14 Mikhail Khodjaiants + Enable the 'Resume With Signal' action only if target is suspended. + * SignalActionDelegate.java + +2003-02-14 Mikhail Khodjaiants + Change the 'Deliver Signal' action name to 'Resume With Signal'. + * plugin.properties + +2003-02-13 Mikhail Khodjaiants + Undo changes because the 'asyncExec' method of the 'DebugPlugin' class has added since version 2.1. + * CDebugUIPlugin.java + +2003-02-13 Mikhail Khodjaiants + Use the 'asyncExec' method of the 'DebugPlugin' class. + * CDebugUIPlugin.java + +2003-02-11 Mikhail Khodjaiants + The 'Load Symbole For All' action is added to the 'Shared Libraries' view + * CDebugImages.java + * ICDebugHelpContextIds.java + * LoadSymbolsForAllAction.java: new + * SharedLibrariesView.java + * ICDebugUIConstants.java + * icons/full/clcl16/load_all_symbols_co.gif: new + * icons/full/dlcl16/load_all_symbols_co.gif: new + * icons/full/elcl16/load_all_symbols_co.gif: new + +2003-02-10 Mikhail Khodjaiants + The 'Auto-Refresh' and 'Refresh' actions are added to the 'Shared Libraries' view. + * RefreshAction.java: new + * AutoRefreshAction.java: new + * RefreshMemoryAction.java + * AutoRefreshMemoryAction.java + * SharedLibrariesView.java + * CDebugImages.java + * ICDebugHelpContextIds.java + +2003-02-09 Alain Magloire + + Changing the scope of methods to protected to let inner class + have access to it. + * StringDialogField.java + * CheckedListDialogField.java + * ComboDialogField.java + * ListDialogField.java + * SelectionButtonDialogField.java + * SelectionButtonDialogFieldGroup.java + +2003-02-07 Mikhail Khodjaiants + Implementing the preference page for the 'Shared Libraries' view. + * ICDebugHelpContextIds.java + * ICDebugPreferenceConstants.java + * SharedLibrariesViewPreferencePage.java: new + * CDebugUIPlugin.java + * plugin.xml + * plugin.properties + +2003-02-07 Mikhail Khodjaiants + The viewer type of the 'Shared Libraries' view changed to 'TableTreeViewer'. + * CDTDebugModelPresentation.java + * AbstractDebugEventHandler.java + * SharedLibrariesView.java + * SharedLibrariesViewContentProvider.java + * SharedLibrariesViewEventHandler.java + +2003-02-07 Mikhail Khodjaiants + The 'Resume Without Signal' action added to the 'Run' menu of the workbench window. + * SignalZeroWorkbenchActionDelegate.java: new + * plugin.xml + +2003-02-07 Mikhail Khodjaiants + Rename 'SignalZeroActionDelegate' to 'SignalZeroObjectActionDelegate'. + * SignalZeroObjectActionDelegate.java + * plugin.xml + +2003-02-05 Mikhail Khodjaiants + Removed warnings. + * AddAddressBreakpointActionDelegate.java + * AddExpressionActionDelegate.java + * CBreakpointPropertiesDialog.java + * CUISourceLocator.java + * SourceLookupBlock.java + +2003-02-05 Mikhail Khodjaiants + Implementation of the 'Resume At C/C++ Line' action. + * RunToLineActionDelegate.java + * JumpToLineActionDelegate.java + * plugin.properties + * plugin.xml + icons/full/clcl16/jump_co.gif + icons/full/dlcl16/jump_co.gif + icons/full/elcl16/jump_co.gif + +2003-02-04 Mikhail Khodjaiants + Implementation of the 'Resume Without Signal' action. + * SignalZeroActionDelegate.java + * plugin.properties + * plugin.xml + icons/full/clcl16/signal0_co.gif + icons/full/dlcl16/signal0_co.gif + icons/full/elcl16/signal0_co.gif + +2003-02-04 Mikhail Khodjaiants + 'DebugException' handling in the 'Signals' view. + * SignalsView.java + * SignalsViewer.java + +2003-02-04 Mikhail Khodjaiants + Changed the 'Signal' action name to 'Deliver Signal'. + * plugin.properties + +2003-02-03 Mikhail Khodjaiants + Implementing the 'Signals' view. + * SignalActionDelegate.java + * SignalsViewer.java: new + * CDTDebugModelPresentation.java + +2003-01-31 Mikhail Khodjaiants + Implementing the 'Signals' view. + * CDebugImages.java + * ICDebugHelpContextIds.java + * SignalActionDelegate.java + * SignalsView.java: new + * SignalsViewContentProvider.java: new + * SignalsViewer.java: new + * SignalsViewEventHandler.java: new + * AbstractDebugEventHandler.java + * plugin.xml + * plugin.properties + icons/full/clcl16/signal_co.gif + icons/full/dlcl16/signal_co.gif + icons/full/elcl16/signal_co.gif + icons/full/eview6/signals_view.gif + icons/full/cview6/signals_view.gif + +2003-01-30 Mikhail Khodjaiants + Disassembly editor input fix. + * CDTDebugModelPresentation.java + +2003-01-27 Mikhail Khodjaiants + Managing breakpoints from the gdb console. + * AddAddressBreakpointActionDelegate.java + * ManageBreakpointRulerAction.java + * CDebugUIPlugin.java + +2003-01-23 Mikhail Khodjaiants + Ignore the text selection when hovering. + * DebugTextHovering.java + +2003-01-21 Mikhail Khodjaiants + Changed the viewer of the Shared Libraries view to TreeViewer. + * SharedLibrariesView.java + * SharedLibrariesViewContentProvider.java + * SharedLibrariesViewEventHandler.java + +2003-01-21 Mikhail Khodjaiants + + * src/org/eclipse/cdt/debu/internal/ui/CDTDebugModelPresentation.java + (getTargetText): Use Signal. + +2003-01-20 Mikhail Khodjaiants + Changed the icon for the 'Load Symbols' action. + icons/full/clcl16/load_symbols_co.gif + icons/full/dlcl16/load_symbols_co.gif + icons/full/elcl16/load_symbols_co.gif + +2003-01-19 Mikhail Khodjaiants + Set the start or end address value in the shared libraries view to 'Not available' if the address value is 0. + * CDTDebugModelPresentation.java + +2003-01-17 Mikhail Khodjaiants + Use the C editor instead of the default editor for files without extensions. + * CDTDebugModelPresentation.java + +2003-01-17 Mikhail Khodjaiants + Added the handlers for the 'Create' and 'Terminate' events to the 'Shared Libraries' view. + * SharedLibrariesViewEventHandler.java + +2003-01-17 Mikhail Khodjaiants + Implementation of the shared library view. + * LoadSymbolsActionDelegate.java + * SharedLibrariesView.java + * SharedLibrariesViewEventHandler.java + * CDTDebugModelPresentation.java + * CDebugImages.java + * plugin.properties + * plugin.xml + +2003-01-16 Mikhail Khodjaiants + Implementing the Shared Libraries view. + * SharedLibrariesView.java + * SharedLibrariesViewContentProvider.java + * SharedLibrariesViewEventHandler.java + * CDebugImages.java + * ICDebugHelpContextIds.java + * plugin.properties + * plugin.xml + * icons/full/cview16/sharedlibraries_view.gif + * icons/full/eview16/sharedlibraries_view.gif + * icons/full/obj16/sharedlibraryl_obj.gif + * icons/full/obj16/sharedlibraryu_obj.gif + +2003-01-15 Mikhail Khodjaiants + The 'getDefaultEditor' method returns 'null' for file names that don't have an extension and + are not registered with some editor. Use the default text editor in this case. + * CDTDebugModelPresentation.java + +2003-01-14 Mikhail Khodjaiants + Added the 'Add Address Breakpoint' action to the workbench 'Run' menu. + * AddAddressBreakpointActionDelegate.java + * plugin.properties + * plugin.xml + * icons/full/obj16/brkp_obj.gif + +2003-01-13 Mikhail Khodjaiants + Implementation of the 'Run To Line' action for disassembly. + * RunToLineActionDelegate.java + +2003-01-13 Alain Magloire + + * src/org/eclipse/cdt/debug/internal/ui/editors/DebugTextHover.java (getHoverInfo): + IndexArrayOutOfBound exception, do no use the index when doing targetList.add(). + +2003-01-10 Mikhail Khodjaiants + Added contributions of the breakpoint actions to the disassembly editor. + * DisassemblyEditor.java + * plugin.xml + +2003-01-10 Mikhail Khodjaiants + Implementation of address breakpoints. + * CDebugImages.java + * CDTDebugModelPresentation.java + * BreakpointLocationVerifier.java + * CBreakpointPreferencePage.java + * ManageBreakpointActionDelegate.java + * ManageBreakpointRulerAction.java + * ManageBreakpointRulerActionDelegate.java + * DisassemblyDocumentProvider.java + * DisassemblyEditor.java + * DisassemblyEditorInput.java + * DisassemblyMarkerAnnotation.java + * DisassemblyMarkerAnnotationModel.java + * CDebugUIPlugin.java + * plugin.properties + * plugin.xml + + New icons: + * full/obj16/addrbrkp_obj.gif + * full/obj16/addrbrkpd_obj.gif + +2003-01-06 Alain Magloire + + * build.properties: Patch from Judy Green. + +2003-01-06 Mikhail Khodjaiants + Fix for bug 28977: Unable to set breakpoint properties from the Breakpoint view. + * plugin.xml + +2003-01-02 Mikhail Khodjaiants + Adapter for 'IResource' in 'DisassemblyEditorInput'. + * DisassemblyEditorInput.java + +2002-12-29 Mikhail Khodjaiants + Implementation of the 'Source Lookup' property page. + * AddDirectorySourceLocationBlock.java (new) + * AddDirectorySourceLocationWizard.java (new) + * AddProjectSourceLocationBlock.java (new) + * AddProjectSourceLocationWizard.java (new) + * AddSourceLocationWizard.java + * SourceLocationSelectionPage.java (new) + * SourceLocationWizardNode.java (new) + * CDebugImages.java + * AttachSourceLocationBlock.java renamed to AddDirectorySourceLocationBlock.java + * AttachSourceLocationDialog.java (deleted - dialog replaced by wizard). + * INewSourceLocationWizard.java (new) + * SourceLookupBlock.java + Added new wizard and tool icons. + +2002-12-19 Mikhail Khodjaiants + Implementing the 'Source Lookup' property page. + * AddSourceLocationWizard.java + * SourceLookupBlock.java + * SourcePropertyPage.java + icons/full/obj16/project_obj.gif + icons/full/obj16/folder_obj.gif + +2002-12-19 Mikhail Khodjaiants + Added the 'org.eclipse.cdt.debug.internal.ui.dialogfields' package. + +2002-12-19 Mikhail Khodjaiants + Added new utility class - SWTUtil + * SWTUtil.java + * AttachSourceLocationBlock.java + +2002-12-19 Mikhail Khodjaiants + Added new utility class - PixelConverter + * PixelCoverter.java + * AttachSourceLocationBlock.java + +2002-12-18 Mikhail Khodjaiants + Implementing the "Source Lookup" property page. + * SourceLookupBlock.java: common control block. + * SourcePropertyPage.java: implementation + * plugin.properties: page name + * plugin.xml: contribution to ICDebugTarget properties + +2002-12-18 Mikhail Khodjaiants + Do not show the source lookup dialog if file name is not specified. + * CUISourceLocator.java + +2002-12-17 Mikhail Khodjaiants + Disable the association controls in the 'Attach Source Location" dialog if path is not absolute. + * AttachSourceLocationBlock.java + * CUISourceLocator.java + +2002-12-17 Mikhail Khodjaiants + Formatting 'char' types. + * VariableFormatActionDelegate.java + +2002-12-17 Mikhail Khodjaiants + Removed the "Primitive type display options" section from the C/C++ Debug preference page because of the different formattong strategy. + * CDebugPreferencePage.java + +2002-12-17 Mikhail Khodjaiants + The UI part of the prompting source locator. + * AttachSourceLocationBlock.java + * AttachSourceLocationDialog.java + * CUISourceLocator.java + * plugin.xml + +2002-12-16 Mikhail Khodjaiants + New formating actions for variables, registers, and expressions + * VariableFormatActionDelegate.java + * DecVariableFormatActionDelegate.java + * HexVariableFormatActionDelegate.java + * NaturalVariableFormatActionDelegate.java + * plugin.xml + * plugin.properties + +2002-12-10 Mikhail Khodjaiants + Added new case in the 'getEditorInput' method of CDTDebugModelPresentation for FileStorage objects. + * CDTDebugModelPresentation.java + +2002-12-08 Mikhail Khodjaiants + Implementation of the status handler for core errors. + * ErrorStatusHandler.java + +2002-12-04 Mikhail Khodjaiants + Small fix for the Registers view. + * RegistersView.java + +2002-12-02 Mikhail Khodjaiants + If the target is suspended because of error display the error message in the Launch view. + * CDTDebugModelPresentation.java + +2002-12-02 Mikhail Khodjaiants + Refactoring org.eclipse.cdt.debug.core - UI changes. + +2002-12-02 Mikhail Khodjaiants + 'Run to line' and 'Add expression' actions for assembly editor. + *plugin.xml + +2002-12-01 Mikhail Khodjaiants + Contributing breakpoint actions to asm editor. + * plugin.xml + * ManageBreakpointRulerActionDelegate.java + +2002-11-29 Mikhail Khodjaiants + Cosmetic change for the MemoryView preference page. + * plugin.properties + * MemoryViewPreferencePage.java + +2002-11-29 Mikhail Khodjaiants + Cosmetic fix for the memory view tab's tooltips. + * MemoryControlArea.java + +2002-11-28 Mikhail Khodjaiants + Fixes for 'Run to line' actions. + * RunToLineActionDelegate.java + * RunToLineRulerAction.java + +2002-11-28 Mikhail Khodjaiants + Live editing of the memory view. + * SaveMemoryChangesAction.java - removed + * MemoryPresentation.java + * MemoryControlArea.java + * MemoryText.java + * MemoryViewer.java + * MemoryView.java + +2002-11-27 Mikhail Khodjaiants + Render debug target as suspended if no reason is specified. + * CDTDebugModelPresentation.java + +2002-11-26 Mikhail Khodjaiants + Fix for evaluation of expression to address in the Memory view. + GDB evaluates the array of chars to a string not an address. + * MemoryControlArea.java + +2002-11-21 Mikhail Khodjaiants + Added the 'Evaluate' button to the Memory view. + * MemoryControlArea.java + +2002-11-20 Mikhail Khodjaiants + Reset the tooltips of the memory view tabs on terminate. + * MemoryControlArea.java + +2002-11-20 Mikhail Khodjaiants + Added the TERMINATE event handler to MemoryViewEventHandler. + * MemoryViewer.java + * MemoryViewEventHandler.java + +2002-11-20 Mikhail Khodjaiants + Fix for bug 26595. + Highlight the addresses if the start address of a memory expression has changed. + *MemoryPresentation.java + *MemoryText.java + +2002-11-19 Mikhail Khodjaiants + Added enablement condition to some actions. + *plugin.xml + +2002-11-19 Mikhail Khodjaiants + Fix for bug 26693. + * SwitchToDisassemblyActionDelegate.java + +2002-11-19 Mikhail Khodjaiants + Fix for bug 26401. + * ExpressionDialog.java: Highlight the content of the expression field on intialization. + +2002-11-18 Mikhail Khodjaiants + Fixes for the 'Add Global Variables' action's bugs. + The action disabled after 'Remove All'. + Error message after adding a valid expression. + * AddGlobalsActionDelegate.java + +2002-11-15 Mikhail Khodjaiants + Added presentation for dummy stack frames. + * CDTDebugModelPresentation.java + +2002-11-13 Mikhail Khodjaiants + Added tooltips to the Memory view's tabs. + * MemoryControlArea.java + +2002-11-13 Mikhail Khodjaiants + Added the 'Auto-Refresh by default' and 'Show ASCII by default' preferences + to the 'Memory Views' preference page. + * ICDebugPreferenceConstants.java + * MemoryViewPreferencePage.java + * MemoryControlArea.java + * MemoryView.java + +2002-11-11 Mikhail Khodjaiants + Fix for PR 25988: The 'Padding Character' preference of the Memory view doesn't work. + * MemoryControlArea.java + * MemoryViewPreferencePage.java + +2002-11-05 Mikhail Khodjaiants + Implementation of the "Add Global Variables" action of the Expressions view. + Action images: + watch_globals.gif (clcl, dlcl, elcl). + * AddGlobalsActionDelegate.java: implementation. + * plugin.xml: contribution to the Expression view + * plugin.xml: added dependency to org.eclipse.cdt.core + * .classpath: added dependency to org.eclipse.cdt.core + * .project: added dependency to org.eclipse.cdt.core + * plugin.properties: action's label and tooltip text + +2002-11-03 Mikhail Khodjaiants + Implementation of the "Format/Decimal" and "Format/Unsigned Decimal" actions of the Memory view. + * MemoryFormataction.java + * MemorySizeAction.java + * MemoryNumberOfColumnsAction.java + * MemoryPresentation.java + * MemoryViewer.java + * MemoryView.java + +2002-11-01 Mikhail Khodjaiants + Implementing decimal format support of the Memory view. + * MemoryPresentation.java + +2002-10-31 Mikhail Khodjaiants + Removed the 'Modified Value Color' field from the 'Debug/Memory Views' + preference page. + * MemoryViewPreferencePage.java + +2002-10-30 Mikhail Khodjaiants + Implementing the 'Refresh Memory' action. + * RefreshMemoryAction.java + * MemoryControlArea.java + * MemoryViewer.java + +2002-10-30 Mikhail Khodjaiants + Implementation of the 'SaveMemoryChanges' action. + * SaveMemoryChangesAction.java + * CDebugImages.java + * ICDebugHelpConstants.java + * MemoryControlArea.java + * MemoryText.java + * MemoryViewer.java + * MemoryView.java + +2002-10-30 Alain Magloire + + * src/.../ui/CDebugUIPlugin.java (selectionChanged): + sameThread() code is commented out amd we let the underlying + implementation swith thread. + +2002-10-29 Mikhail Khodjaiants + Implementing editing features of the memory view. + * MemoryPresentation.java + * MemoryControlArea.java + * MemoryText.java + +2002-10-28 Mikhail Khodjaiants + Implementing editing features of the memory view. + * MemoryPresentation.java + * MemoryControlArea.java + * MemoryText.java + +2002-10-27 Mikhail Khodjaiants + * MemoryPresentation.java: adding editing features to the memory view. + +2002-10-25 Mikhail Khodjaiants + Implementation of the 'Number Of Columns' action. + * MemoryNumberOfColumnAction.java: the action class + * MemoryViewer.java: support of the action + * MemoryView.java: support of the action + +2002-10-25 Mikhail Khodjaiants + Replaced the usage of 'setWordSize' method by the 'reformat' method of 'IFormattedMemoryBlock'. + * MemorySizeAction.java + * MemoryViewer.java + +2002-10-24 Mikhail Khodjaiants + Set the 'relationship' attribute value to 'stack' for the 'MemoryView' perspective extension. + * plugin.xml + +2002-10-24 Mikhail Khodjaiants + Implementation of the 'Memory Unit Size' action. + * MemorySizeAction.java + * MemoryView.java + +2002-10-24 Mikhail Khodjaiants + Implementing Memory view formatting actions. + * MemoryActionSelectionGroup.java: implementation of a toggle action group. + * MemorySizeAction.java: implementation of the "Memory Unit Size" menu item. + * MemoryView.java: add new actions to the view. + * MemoryViewer.java: support for new action. + * ICDebugHelpContextIds.java: help context id for the new action. + * ICDebugUIConstants.java: new menu group - "Format". + +2002-10-23 Mikhail Khodjaiants + * DebuggerConsoleActionDelegate.java: The debugger/inferrior console should become visible when checking "Show Debug Console". + +2002-10-23 Mikhail Khodjaiants + "Show Debugger Console" action. + Action images: + debugger_console.gif (clcl, dlcl, elcl); + * DebuggerConsoleActionDelegate.java: implementation of action delegate. + * plugin.xml: action extenions + * plugin.properties: action label and tooltip text. + +2002-10-22 Mikhail Khodjaiants + Implementation of the "Show ASCII" action. + Action images: + show_ascii.gif (clcl, dlcl, elcl). + * ShowAsciiAction.java + * MemoryPresentation.java + * MemoryText.java + * MemoryView.java + * MemoryViewer.java + * CDebugImages.java + * ICDebugHelpContextIds.java + +2002-10-21 Mikhail Khodjaiants + Framework tries to refresh memory view before the view controls are created. + * MemoryViewer.java: Check if CTabFolder has already created when refreshing the view. + +2002-10-21 Mikhail Khodjaiants + Implementation of the "Clear" action for the memory view. + * ClearMemoryAction.java + * ICDebugHelpContextIds.java + * MemoryControlArea.java + * MemoryView.java + * MemoryViewer.java + +2002-10-21 Mikhail Khodjaiants + Implementation of the "Auto-Refresh" and "Refresh" actions for the memory view. + * AutoRefreshMemoryAction.java + * RefreshMemoryAction.java + * ICDebugHelpContextIds.java + * MemoryControlArea.java + * MemoryView.java + * MemoryViewer.java + * MemoryViewEventHandler.java + +2002-10-20 Mikhail Khodjaiants + Display the memory changes in different color in the memory view. + * MemoryControlArea.java + * MemoryPresentation.java + * MemoryText.java + * MemoryViewer.java + * MemoryViewEventHandler.java + +2002-10-18 Mikhail Khodjaiants + Implementing the memory view support: + Images for the view's actions: + autorefresh_mem.gif (clcl, dlcl, elcl), + refresh_mem.gif (clcl, dlcl, elcl), + memory_save.gif (clcl, dlcl, elcl), + memory_clear.gif (clcl, dlcl, elcl). + * RefreshMemoryAction.java + * MemoryControlArea.java + * MemoryPresentation.java + * MemoryText.java + * MemoryView.java + * MemoryViewer.java + * CDebugImages.java + * ICDebugHelpContextIds.java + * ICDebugUIConstants.java + +2002-10-17 Mikhail Khodjaiants + Implementing the memory view support: + * MemoryControlArea.java + * MemoryPresentation.java + * MemoryView.java + * MemoryViewer.java + +2002-10-15 Mikhail Khodjaiants + * CDebugUIPlugin.java: Moved the memory management functionality to the core. + * MemoryControlArea.java: Moved the memory management functionality to the core. + +2002-10-15 Mikhail Khodjaiants + * CDebugPreferencePage.java: Implementation of the 'Automatically switch to disassembly mode' preference. + +2002-10-14 Mikhail Khodjaiants + * CDebugUIPlugin.java: In the 'selectionChanged' method check if the thread of the new frame is current. If not make it current. + +2002-10-11 Mikhail Khodjaiants + * SwitchToDisassemblyActionDelegate.java: Implementation of the 'Switch to disassembly mode' action. + * plugin.properties: Action label and tooltip. + * plugin.xml: Contribution to the 'Launch View'. + * icons/full/clcl16/disassembly.gif: Hover icon. + * icons/full/dlcl16/disassembly.gif: Disabled icon. + * icons/full/elcl16/disassembly.gif: Enabled icon. diff --git a/debug/org.eclipse.cdt.debug.ui/plugin.xml b/debug/org.eclipse.cdt.debug.ui/plugin.xml index 0606e52454e..26ced7e21ba 100644 --- a/debug/org.eclipse.cdt.debug.ui/plugin.xml +++ b/debug/org.eclipse.cdt.debug.ui/plugin.xml @@ -24,7 +24,7 @@ - + @@ -1074,44 +1074,6 @@ id="org.eclipse.cdt.debug.internal.ui.ErrorStatusHandler"> - - - - - - - - - - - - - - - - - - - - - - - - fMaxWidth) { - if (currWidth > 0) { - return currOffset; - } else { - return nextOffset; - } + return (currWidth > 0) ? currOffset : nextOffset; } currWidth= nextWidth; currOffset= nextOffset; diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SingleCharReader.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SingleCharReader.java index dd9f35f8134..426cd269cc4 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SingleCharReader.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SingleCharReader.java @@ -28,11 +28,7 @@ public abstract class SingleCharReader extends Reader { for (int i= off; i < end; i++) { int ch= read(); if (ch == -1) { - if (i == off) { - return -1; - } else { - return i - off; - } + return (i == off) ? -1 : i - off; } cbuf[i]= (char)ch; } diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SubstitutionTextReader.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SubstitutionTextReader.java index e0a1233796e..e27cfee1849 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SubstitutionTextReader.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/SubstitutionTextReader.java @@ -71,24 +71,23 @@ public abstract class SubstitutionTextReader extends SingleCharReader { fIndex= 0; } return ch; - } else { - int ch= fCharAfterWhiteSpace; - if (ch == -1) { - ch= fReader.read(); - } - if (fSkipWhiteSpace && Character.isWhitespace((char)ch)) { - do { - ch= fReader.read(); - } while (Character.isWhitespace((char)ch)); - if (ch != -1) { - fCharAfterWhiteSpace= ch; - return ' '; - } - } else { - fCharAfterWhiteSpace= -1; - } - return ch; } + int ch= fCharAfterWhiteSpace; + if (ch == -1) { + ch= fReader.read(); + } + if (fSkipWhiteSpace && Character.isWhitespace((char)ch)) { + do { + ch= fReader.read(); + } while (Character.isWhitespace((char)ch)); + if (ch != -1) { + fCharAfterWhiteSpace= ch; + return ' '; + } + } else { + fCharAfterWhiteSpace= -1; + } + return ch; } /** diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java index 1823b407e5d..d68f705b33b 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java @@ -243,11 +243,7 @@ public abstract class AbstractDebugActionDelegate implements IWorkbenchWindowAct //as the selection can be out of date for context menu //actions. See bug 14556 ISelection s= getView().getViewSite().getSelectionProvider().getSelection(); - if (s instanceof IStructuredSelection) { - return (IStructuredSelection)s; - } else { - return StructuredSelection.EMPTY; - } + return (s instanceof IStructuredSelection)? (IStructuredSelection)s : StructuredSelection.EMPTY; } return fSelection; } diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddAddressBreakpointActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddAddressBreakpointActionDelegate.java index 2ca406bbd71..89749dd6fe9 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddAddressBreakpointActionDelegate.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddAddressBreakpointActionDelegate.java @@ -5,15 +5,14 @@ */ package org.eclipse.cdt.debug.internal.ui.actions; -import org.eclipse.cdt.debug.core.CDebugModel; import org.eclipse.cdt.debug.core.model.IExecFileInfo; +import org.eclipse.cdt.debug.ui.CDebugUIPlugin; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IDebugElement; import org.eclipse.debug.core.model.IDebugTarget; import org.eclipse.jface.dialogs.IInputValidator; import org.eclipse.jface.dialogs.InputDialog; import org.eclipse.jface.window.Window; -import org.eclipse.cdt.debug.ui.CDebugUIPlugin; /** * diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddExpressionActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddExpressionActionDelegate.java index 208ea69f24b..f9a269db5bc 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddExpressionActionDelegate.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AddExpressionActionDelegate.java @@ -67,14 +67,8 @@ public class AddExpressionActionDelegate extends AbstractEditorActionDelegate protected Shell getShell() { - if ( getTargetPart() != null ) - { - return getTargetPart().getSite().getShell(); - } - else - { - return CDebugUIPlugin.getActiveWorkbenchShell(); - } + return ( getTargetPart() != null ) ? + getTargetPart().getSite().getShell() : CDebugUIPlugin.getActiveWorkbenchShell(); } private void createExpression( final String text ) diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java index b5b2f126ab7..11073baf53f 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java @@ -124,9 +124,7 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget { } return; } - else { - errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Invalid_line_1" ); //$NON-NLS-1$ - } + errorMessage = ActionMessages.getString( "ToggleBreakpointAdapter.Invalid_line_1" ); //$NON-NLS-1$ } } } diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java index 7d53cfffed2..3d8526ea997 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/dialogfields/SelectionButtonDialogFieldGroup.java @@ -87,14 +87,13 @@ public class SelectionButtonDialogFieldGroup extends DialogField { buttonsgroup.setLayoutData(gd); return new Control[] { label, buttonsgroup }; - } else { - Composite buttonsgroup= getSelectionButtonsGroup(parent); - GridData gd= new GridData(); - gd.horizontalSpan= nColumns; - buttonsgroup.setLayoutData(gd); - - return new Control[] { buttonsgroup }; } + Composite buttonsgroup= getSelectionButtonsGroup(parent); + GridData gd= new GridData(); + gd.horizontalSpan= nColumns; + buttonsgroup.setLayoutData(gd); + + return new Control[] { buttonsgroup }; } /* diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/SourcePreferencePage.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/SourcePreferencePage.java index 9a862712487..0be0548a3a1 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/SourcePreferencePage.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/SourcePreferencePage.java @@ -111,12 +111,12 @@ public class SourcePreferencePage extends PreferencePage implements IWorkbenchPr new SourceListDialogField( CDebugUIPlugin.getResourceString("internal.ui.preferences.SourcePreferencePage.Source_locations"), //$NON-NLS-1$ new IListAdapter() { - public void customButtonPressed( DialogField field, int index ) + public void customButtonPressed( DialogField f, int index ) { sourceButtonPressed( index ); } - public void selectionChanged(DialogField field) + public void selectionChanged(DialogField f) { } } ); diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/disassembly/DisassemblyView.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/disassembly/DisassemblyView.java index ce2b1cc4a8a..c5c36a52ad1 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/disassembly/DisassemblyView.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/disassembly/DisassemblyView.java @@ -13,7 +13,6 @@ package org.eclipse.cdt.debug.internal.ui.views.disassembly; import java.util.HashMap; import java.util.Iterator; import java.util.Map; - import org.eclipse.cdt.debug.core.model.ICStackFrame; import org.eclipse.cdt.debug.core.model.IDisassembly; import org.eclipse.cdt.debug.internal.ui.ICDebugHelpContextIds; @@ -52,7 +51,6 @@ import org.eclipse.jface.text.source.IOverviewRuler; import org.eclipse.jface.text.source.ISharedTextColors; import org.eclipse.jface.text.source.ISourceViewer; import org.eclipse.jface.text.source.IVerticalRuler; -import org.eclipse.jface.text.source.IVerticalRulerInfo; import org.eclipse.jface.text.source.OverviewRuler; import org.eclipse.jface.text.source.SourceViewer; import org.eclipse.jface.text.source.VerticalRuler; @@ -302,15 +300,12 @@ public class DisassemblyView extends AbstractDebugEventHandlerView protected void createActions() { IAction action; IVerticalRuler ruler = getVerticalRuler(); - if ( ruler instanceof IVerticalRulerInfo ) { - IVerticalRulerInfo info = (IVerticalRulerInfo)ruler; - action= new ToggleBreakpointRulerAction( this, info ); - setAction( IInternalCDebugUIConstants.ACTION_TOGGLE_BREAKPOINT, action ); - action= new EnableDisableBreakpointRulerAction( this, info ); - setAction( IInternalCDebugUIConstants.ACTION_ENABLE_DISABLE_BREAKPOINT, action ); - action= new CBreakpointPropertiesRulerAction( this, info ); - setAction( IInternalCDebugUIConstants.ACTION_BREAKPOINT_PROPERTIES, action ); - } + action= new ToggleBreakpointRulerAction( this, ruler ); + setAction( IInternalCDebugUIConstants.ACTION_TOGGLE_BREAKPOINT, action ); + action= new EnableDisableBreakpointRulerAction( this, ruler ); + setAction( IInternalCDebugUIConstants.ACTION_ENABLE_DISABLE_BREAKPOINT, action ); + action= new CBreakpointPropertiesRulerAction( this, ruler ); + setAction( IInternalCDebugUIConstants.ACTION_BREAKPOINT_PROPERTIES, action ); } /* (non-Javadoc) diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/SourceLocationSelectionPage.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/SourceLocationSelectionPage.java index ba0429bd7e4..eb2096b82db 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/SourceLocationSelectionPage.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/SourceLocationSelectionPage.java @@ -211,7 +211,7 @@ public class SourceLocationSelectionPage extends WizardSelectionPage ArrayList result = new ArrayList( allProjects.length ); for ( int i = 0; i < allProjects.length; ++i ) { - if ( ( CoreModel.getDefault().hasCNature( allProjects[i] ) || CoreModel.getDefault().hasCNature( allProjects[i] ) ) && + if ( ( CoreModel.hasCNature( allProjects[i] ) || CoreModel.hasCCNature( allProjects[i] ) ) && allProjects[i].isOpen() && !projects.contains( allProjects[i] ) ) { diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java index 59351612138..edeb324fae2 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java @@ -15,7 +15,6 @@ import java.util.HashMap; import java.util.Map; import java.util.MissingResourceException; import java.util.ResourceBundle; - import org.eclipse.cdt.debug.core.CDebugCorePlugin; import org.eclipse.cdt.debug.core.model.ISwitchToFrame; import org.eclipse.cdt.debug.core.model.ISwitchToThread; @@ -31,8 +30,8 @@ import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.core.runtime.IExtensionPoint; -import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Status; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IDebugElement; @@ -54,12 +53,18 @@ import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; /** * The main plugin class to be used in the desktop. */ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListener { + /** + * The plug-in identifier (value "org.eclipse.cdt.debug.ui"). + */ + public static final String PLUGIN_ID = "org.eclipse.cdt.debug.ui" ; //$NON-NLS-1$ + //The shared instance. private static CDebugUIPlugin plugin; //Resource bundle. @@ -72,9 +77,9 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen /** * The constructor. */ - public CDebugUIPlugin( IPluginDescriptor descriptor ) + public CDebugUIPlugin() { - super( descriptor ); + super(); plugin = this; try { @@ -147,9 +152,9 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen // If the default instance is not yet initialized, // return a static identifier. This identifier must // match the plugin id defined in plugin.xml - return "org.eclipse.cdt.debug.ui"; //$NON-NLS-1$ + return PLUGIN_ID; } - return getDefault().getDescriptor().getUniqueIdentifier(); + return getDefault().getBundle().getSymbolicName(); } /** @@ -226,8 +231,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen protected void initializeDebuggerPageMap() { fDebuggerPageMap = new HashMap(10); - IPluginDescriptor descriptor= getDefault().getDescriptor(); - IExtensionPoint extensionPoint= descriptor.getExtensionPoint("CDebuggerPage"); //$NON-NLS-1$ + IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint("CDebuggerPage"); //$NON-NLS-1$ IConfigurationElement[] infos= extensionPoint.getConfigurationElements(); for (int i = 0; i < infos.length; i++) { String id = infos[i].getAttribute("debuggerID"); //$NON-NLS-1$ @@ -317,46 +321,6 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen return getDefault().fImageDescriptorRegistry; } - /* (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#shutdown() - */ - public void shutdown() throws CoreException - { - CDebugCorePlugin.getDefault().removeCBreakpointListener( CBreakpointUpdater.getInstance() ); - // TODO: PR 52155, this is big hammer approach, but it is ok for - // Since the code will be remove when we align ourselves - // with Eclipse-3.0 - try - { - IWorkbenchWindow ww = getActiveWorkbenchWindow(); - if ( ww != null ) - { - ww.getSelectionService().removeSelectionListener( IDebugUIConstants.ID_DEBUG_VIEW, this ); - } - } catch (Exception e) { - // Big hammer. - } - if ( fImageDescriptorRegistry != null ) - { - fImageDescriptorRegistry.dispose(); - } - super.shutdown(); - } - - /* (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#startup() - */ - public void startup() throws CoreException - { - super.startup(); - IWorkbenchWindow ww = getActiveWorkbenchWindow(); - if ( ww != null ) - { - ww.getSelectionService().addSelectionListener( IDebugUIConstants.ID_DEBUG_VIEW, this ); - } - CDebugCorePlugin.getDefault().addCBreakpointListener( CBreakpointUpdater.getInstance() ); - } - /* (non-Javadoc) * @see org.eclipse.ui.ISelectionListener#selectionChanged(IWorkbenchPart, ISelection) */ @@ -439,4 +403,31 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen { return DefaultSourceLocator.ID_OLD_DEFAULT_SOURCE_LOCATOR; } + + /* (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start( BundleContext context ) throws Exception { + super.start( context ); + IWorkbenchWindow ww = getActiveWorkbenchWindow(); + if ( ww != null ) { + ww.getSelectionService().addSelectionListener( IDebugUIConstants.ID_DEBUG_VIEW, this ); + } + CDebugCorePlugin.getDefault().addCBreakpointListener( CBreakpointUpdater.getInstance() ); + } + + /* (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop( BundleContext context ) throws Exception { + CDebugCorePlugin.getDefault().removeCBreakpointListener( CBreakpointUpdater.getInstance() ); + IWorkbenchWindow ww = getActiveWorkbenchWindow(); + if ( ww != null ) { + ww.getSelectionService().removeSelectionListener( IDebugUIConstants.ID_DEBUG_VIEW, this ); + } + if ( fImageDescriptorRegistry != null ) { + fImageDescriptorRegistry.dispose(); + } + super.stop( context ); + } }