Commit Graph

192 Commits

Author SHA1 Message Date
martin
b60616fe5a Debugger, SourceEditor: Track Line changes during debug. Adjust breakpoints and executionline
git-svn-id: trunk@24569 -
2010-04-10 22:41:44 +00:00
martin
e54dc2a373 Debugger: Removed SourceLine, since it was effectively a managed copy of Line
git-svn-id: trunk@24562 -
2010-04-10 18:27:27 +00:00
martin
b487f853cc Debugger: Refactor moved SourceLine to TIDEBreakPoint
git-svn-id: trunk@24556 -
2010-04-10 17:05:18 +00:00
martin
2a9ed589ac SourceEditor, SynEdit: Refactor DebugMarks (exe-line-marks). Ensure refresh for all windows
git-svn-id: trunk@24543 -
2010-04-09 21:59:40 +00:00
martin
2554635106 SourceEditor/Marks: Make breakpoints work with SynDualView
git-svn-id: trunk@24388 -
2010-04-04 02:35:32 +00:00
martin
824a3c686c IDE, Project: Refactor: extracted editor session info from UnitInfo
git-svn-id: trunk@24324 -
2010-03-31 22:32:24 +00:00
martin
9dcf68db43 SourceEditor/Debugger: Correctly show disabled breakpoints. Issue #16096. Patch by Flávio Etrusco
git-svn-id: trunk@24264 -
2010-03-28 12:48:30 +00:00
martin
8c94ff2bd4 Ide/Project; SourceEditor: More using SourceEditorManager (for multi-window handling)
git-svn-id: trunk@24091 -
2010-03-18 22:14:09 +00:00
martin
e1290c555d Ide/Project; SourceEditor: Start using SourceEditorManager (for multi-window handling)
git-svn-id: trunk@24045 -
2010-03-16 16:16:32 +00:00
martin
9e9e810073 Ide/Project; SourceEditor: Decouple relationship via EditorIndex. Start using reference instead of index
git-svn-id: trunk@24015 -
2010-03-15 18:01:40 +00:00
marc
99cd20e80f * Debugger: Implemented value modification. Patch #15628 by Flavio Etrusco (modified)
git-svn-id: trunk@23866 -
2010-03-07 18:37:20 +00:00
paul
f5fa216d8b ide, debugger: implement *step out* debugger action by Flávio Etrusco (issue #0015760)
git-svn-id: trunk@23717 -
2010-02-16 13:02:30 +00:00
paul
aab626487b ide: don't load debugger exceptions list from the session info
git-svn-id: trunk@23647 -
2010-02-05 17:25:14 +00:00
paul
66884f2359 ide: implement show execution point command by Flávio Etrusco (issue #0001920)
git-svn-id: trunk@23576 -
2010-01-28 03:50:48 +00:00
paul
bad42d79bc ide: project options: replace monolith project options dialog with project options frames, register them in IDE options
git-svn-id: trunk@23318 -
2009-12-30 09:24:39 +00:00
mattias
7312388f96 IDE: debugging: DoRUnProject: only start debugger, run debugger on timer so that the loop does not hold the LCL component that processed the event
git-svn-id: trunk@23235 -
2009-12-22 12:36:20 +00:00
mattias
404211ce2f IDE: debugger: searching files in temporary directory in unsaved files
git-svn-id: trunk@23190 -
2009-12-18 20:09:06 +00:00
mattias
8b2a207220 IDE: resourcestrings
git-svn-id: trunk@23126 -
2009-12-13 18:17:45 +00:00
paul
fc439939dd ide: change enabled state to View registers and View assembler menu items according to debugging state
git-svn-id: trunk@23080 -
2009-12-11 02:57:40 +00:00
paul
3ccb54ad89 debugger: save skip exceptions list in the project info instead of session info (#0015256)
git-svn-id: trunk@23056 -
2009-12-10 04:43:48 +00:00
marc
101acea082 debugger: added line info to assembler output dialog
git-svn-id: trunk@23043 -
2009-12-09 00:14:29 +00:00
martin
a0992b75f0 Fix restoring breakpoints to correct editor on re-open
git-svn-id: trunk@23035 -
2009-12-08 16:23:37 +00:00
paul
2fd2eb30f1 debugger + ide: Inspect dialogs:
- add "Inspect..." menu item to the source editor debugger group
  - fix alt+F5 key combination (was crash)
  - don't access debugger directly from Inspect dialog since it cause a crash when debugger is not active. use debugboss method instead
  - move evaluate dialog initialization to InitEvaluateDlg method

git-svn-id: trunk@22987 -
2009-12-06 06:02:12 +00:00
paul
4212ad71e2 ide: use debugger SrcFullName record when available
git-svn-id: trunk@22961 -
2009-12-04 14:39:47 +00:00
marc
87b819f60f - removed commented show assembler dialog code
git-svn-id: trunk@22411 -
2009-11-03 22:30:47 +00:00
marc
f90aca978c Patch by JoshyFun (modified)
* Moved TGDBtype to TDBGtype, so it can be used in general to return expression typeinfo
* Changed inspect dialog to use this typeinfo
* display evaluation result on multiple lines

git-svn-id: trunk@22348 -
2009-10-30 00:02:38 +00:00
mattias
c164ad2cce IDE: debugger: added button on Executio stopped dialog to not show message, bug #14786
git-svn-id: trunk@22123 -
2009-10-12 20:54:59 +00:00
paul
a32cbde664 ide: add Evaluate/Modify item to the source editor debug menu
git-svn-id: trunk@21976 -
2009-10-02 06:53:42 +00:00
paul
5c17d9b336 ide: watches: if selection is available then use it as a watch expression, else do as before
git-svn-id: trunk@21975 -
2009-10-02 06:29:57 +00:00
paul
ec062ef3a0 ide, debugger: watches:
- allow Add watch always
  - if Add watch is called outside source editor then show the Add Watch dialog
  - pass expression under the cursor to the Add Watch dialog as a default value

git-svn-id: trunk@21974 -
2009-10-02 06:18:19 +00:00
paul
ce5feafb1b ide: enable/disable "Add watch" main menu item when needed
git-svn-id: trunk@21973 -
2009-10-02 03:48:41 +00:00
paul
9d6f86eeb2 ide: debugger:
- setup source menu debugger shortcuts
  - make Ctrl+F5 (add watch) shortcut work

git-svn-id: trunk@21972 -
2009-10-02 03:44:32 +00:00
paul
a27471e433 ide: add watch at cursor: add full expression instead of the current word
git-svn-id: trunk@21970 -
2009-10-02 02:44:23 +00:00
paul
71d8ecf4de ide: minor refactoring:
- add GetOperandFromCaret, GetOperandAtCurrentCaret to the TSourceEditor class
  - use that methods for the debugger tooltip evaluation and for the debugger evaluate dialog

git-svn-id: trunk@21969 -
2009-10-02 02:26:41 +00:00
paul
e447466f59 ide: fix compilation with fpc 2.5.1
git-svn-id: trunk@21277 -
2009-08-18 08:42:22 +00:00
vincents
774e6fca79 IDE: only unhide the ide, if it was hidden before by the debugger, fixes issue #13597
git-svn-id: trunk@21133 -
2009-08-07 10:50:12 +00:00
paul
273bd55444 ide: add resource string constants for debug manager hard coded strings
git-svn-id: trunk@20851 -
2009-07-13 13:53:56 +00:00
paul
c3eb6e2b30 ide: MainBar:
- use ToolBars instead of SpeedButtons
  - add stop button (issue #0001788 by Leslie Kaye)

git-svn-id: trunk@20394 -
2009-06-04 07:16:53 +00:00
paul
2db4548c14 ide, debugger:
- redo showing of execution lines. now there is no need to pause execution to look at execution lines
  - started inspect dialog

git-svn-id: trunk@19418 -
2009-04-13 23:10:06 +00:00
paul
c770cd7d3b ide: on Evaluate command use selection if available and use word at caret instead (as now)
git-svn-id: trunk@19128 -
2009-03-27 03:53:55 +00:00
paul
9154c34024 ide: start show of execution marks when we in the Pause state
git-svn-id: trunk@18998 -
2009-03-15 07:17:55 +00:00
marc
a1a0455bbd * Added debugger sourceline info to aid showing compiled lines
git-svn-id: trunk@18973 -
2009-03-13 00:24:36 +00:00
paul
0b733a0b1f debugger, ide: make callstack dialog react on breakpoints change
git-svn-id: trunk@18967 -
2009-03-12 13:06:12 +00:00
paul
879adbf7f2 ide: use better notification way about adding/removing breakpoint for the sourceeditor (source mark changes more reliable)
git-svn-id: trunk@18965 -
2009-03-12 04:18:00 +00:00
paul
9c4108f86d ide: fix debugging of non-saved units (issue #0011879)
git-svn-id: trunk@18957 -
2009-03-11 14:33:49 +00:00
paul
bd563f7d4a formatting
git-svn-id: trunk@18946 -
2009-03-10 13:26:22 +00:00
mattias
9c1c4073f2 IDE: debugger: removed unneeded path delim fix in TDebugManager.GetFullFilename
git-svn-id: trunk@18929 -
2009-03-09 15:29:07 +00:00
mattias
9f7246dd62 IDE: debugger: auto repair gdb path delims when searching filename
git-svn-id: trunk@18924 -
2009-03-09 13:57:29 +00:00
paul
4261d1dfdf debugger: fix some problems after pressing "Continue" button in the debugger notification dialog
git-svn-id: trunk@18921 -
2009-03-08 17:28:33 +00:00
paul
953956e64f ide, debugger: set Modified state to project when we add/remove exceptions or change ignore option
git-svn-id: trunk@18918 -
2009-03-08 12:31:58 +00:00