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.