martin
490df47729
DBG: Show watches first, then update
...
git-svn-id: trunk@28936 -
2011-01-10 14:03:52 +00:00
martin
0308e84da6
DBG: added internal debugger debug/experiment facility, with DBG_WITH_DEBUGGER_DEBUG
...
git-svn-id: trunk@28730 -
2010-12-16 18:56:37 +00:00
martin
91a0df6e4b
DBG: Enable/Disable Run/Step-out btn / Dbg-Win-Menu
...
git-svn-id: trunk@28632 -
2010-12-05 15:27:55 +00:00
martin
43eaec2e45
IDE: Fix crash when opening debug dialog via keyboard (register dialog)
...
git-svn-id: trunk@28625 -
2010-12-04 23:05:37 +00:00
martin
bb9132b465
DBG: Only asks once for missing files, then let the user continue to debug. issue #10765
...
git-svn-id: trunk@28470 -
2010-11-24 22:41:53 +00:00
martin
795b3b3fb5
DBG: initial implementation of display-styles for watches
...
git-svn-id: trunk@28468 -
2010-11-24 21:48:42 +00:00
martin
71d957a779
DBG: process IDE commands in dialogs. Add step-over/into with automatic (windows context) asm/cmd switch
...
git-svn-id: trunk@28416 -
2010-11-22 18:46:25 +00:00
martin
f72651e6f0
DBG: Show watch window, if a watch is added
...
git-svn-id: trunk@28406 -
2010-11-22 14:30:56 +00:00
martin
04eb05df31
DBG: Added instruction stepping / fixed some assembler window issue
...
git-svn-id: trunk@28388 -
2010-11-22 00:25:09 +00:00
juha
d90fc19b6f
IDE: improve the logic for enabling /disabling Run menu items.
...
git-svn-id: trunk@28384 -
2010-11-22 00:00:34 +00:00
juha
c89970ffba
IDE: allow running a library when a host application is defined in run parameters.
...
git-svn-id: trunk@28347 -
2010-11-19 13:23:32 +00:00
juha
f4f719b5eb
IDE: Prevent running a library project. Disable also other Run menu items when they can't be used. Fixes #17974
...
git-svn-id: trunk@28346 -
2010-11-19 12:16:26 +00:00
martin
2c0fe507c3
DBG: only set breakpoint in begin/end Update
...
git-svn-id: trunk@28334 -
2010-11-19 00:09:57 +00:00
martin
f670a86cec
Fixed reseting debugger, after changing gdb.exe in options / broken since rev 28296 #e6503c5b71
...
git-svn-id: trunk@28329 -
2010-11-18 21:19:39 +00:00
martin
262ea643fe
DBG: don't display errors to user while Lazarus shuts down. The errors are caused by the shutdown
...
git-svn-id: trunk@28328 -
2010-11-18 20:52:45 +00:00
martin
91e0cd6ae7
DBG: Assembler, fix check for already received lines
...
git-svn-id: trunk@28304 -
2010-11-18 01:13:51 +00:00
martin
7283a6aa2f
DBG Breakpoints, fixed ghost dublicates. gdb would get 2 breakpoints for one, if source was edited at time breakpoint was inserted
...
git-svn-id: trunk@28300 -
2010-11-17 22:46:43 +00:00
martin
91609df4dc
DBG: Implemented/Fixed show correct thread on windows, if app is paused / Fixes for Disassembler
...
git-svn-id: trunk@28297 -
2010-11-17 20:55:57 +00:00
martin
e6503c5b71
DBG: Improved handling of re-entrance / reaction to ProcessMessages -- fixed Crashes if resetting debugger, while still initializing it
...
git-svn-id: trunk@28296 -
2010-11-17 16:59:45 +00:00
martin
fb6e2e2372
DBG: Breakpoint, fixed break at HitCount
...
git-svn-id: trunk@28284 -
2010-11-17 02:23:38 +00:00
martin
70dee9c7bf
Debugger: Refactor Disassemble to use object-queue. Disassembler to be represented by an object, like breakpoints, stack, etc
...
git-svn-id: trunk@28220 -
2010-11-14 19:13:44 +00:00
martin
e0ad0b5556
Debugger: Fix possible crash on start of IDE
...
git-svn-id: trunk@28182 -
2010-11-11 16:33:31 +00:00
martin
aac97933fc
Debuger/SourceEditor: Prevent Applicatio.ProcessMesages from debugger, while SrcEditor is setting up a new tab. Issue #16233
...
git-svn-id: trunk@28163 -
2010-11-09 14:21:34 +00:00
martin
92d5ca6422
Debugger: Refactor symbol-line-info to use object-queue, and callback. Also schedule initial request during initialisation to occur in paused state (instead of go dsRun, only to interrupt immediately)
...
git-svn-id: trunk@28162 -
2010-11-09 12:39:14 +00:00
martin
82e943fc36
Debugger: prevent Destroy while executing inside debugger object. Issue #17815
...
git-svn-id: trunk@28128 -
2010-11-07 19:15:01 +00:00
mattias
65fda5bbfe
IDE: clean up
...
git-svn-id: trunk@28054 -
2010-11-03 10:12:30 +00:00
mattias
c94957e49b
IDE: disable run speed button if project and file not runnable
...
git-svn-id: trunk@28051 -
2010-11-03 09:36:26 +00:00
martin
ef22ab0b4a
Debugger: Fix "disabled" breakpoints are set as active, if the debugger is started. Issue #0017335
...
git-svn-id: trunk@27986 -
2010-10-30 18:53:38 +00:00
martin
f0fdb13710
SynEdit/IDE: reduce overhead updating marks
...
git-svn-id: trunk@27039 -
2010-08-08 16:04:47 +00:00
mattias
48a402b0f5
IDEIntf: added IDE window creator procedure
...
git-svn-id: trunk@26104 -
2010-06-14 10:23:10 +00:00
mattias
6cf27772ce
IDE: fixed showing watches again
...
git-svn-id: trunk@26040 -
2010-06-11 10:08:35 +00:00
mattias
9b2dc8742c
IDE: added flag to disable autosizing on create
...
git-svn-id: trunk@26002 -
2010-06-09 07:06:52 +00:00
martin
97ce05dff2
Debugger: fix crash during IDE startup
...
git-svn-id: trunk@25929 -
2010-06-05 18:51:56 +00:00
martin
2ba8bc1ae2
DebugManager: fixed crash, if Evaluate Widow was (re-)opened at IDE start-up (restored from last session)
...
git-svn-id: trunk@25648 -
2010-05-25 21:39:03 +00:00
mattias
f25c0d95e5
IDE: using IDEIntf to show dockable windows
...
git-svn-id: trunk@25604 -
2010-05-24 14:31:03 +00:00
mattias
04cd712c29
IDE: registering debug dialogs
...
git-svn-id: trunk@25601 -
2010-05-24 12:00:04 +00:00
mattias
a45049ebd2
IDE: restore debugger windows on start, bug #15373
...
git-svn-id: trunk@25092 -
2010-05-01 11:04:04 +00:00
paul
7693e5163a
ide: rename "Debug Events" to "Event Log", simplify Event log form - remove checkgroup - this options can be set in the options dialog, workaround listview column autosize
...
git-svn-id: trunk@24775 -
2010-04-21 01:39:50 +00:00
martin
b05629c5e5
SourceEditor, Debugger: Fix reset executionline, if active window is changed
...
git-svn-id: trunk@24770 -
2010-04-20 23:49:26 +00:00
martin
3e9500c36b
Debugger: Fixed execution-line, when changing units
...
git-svn-id: trunk@24631 -
2010-04-15 13:43:18 +00:00
martin
8763903289
Debugger: Fixed a mem-leak in new event-log code
...
git-svn-id: trunk@24613 -
2010-04-13 13:53:11 +00:00
martin
37b03ff6d4
Debugger: Fixed trouble with execution-line, when changing units (would go to wrong line); introduced in r24569 #b60616fe5a (track line changes)
...
git-svn-id: trunk@24584 -
2010-04-11 18:29:39 +00:00
marc
2169adb7d8
* debug: fixed 64bit compilation
...
* some new code cleanup
git-svn-id: trunk@24582 -
2010-04-11 15:51:54 +00:00
marc
87b56618c0
* ide: added shortcut for view debug events
...
git-svn-id: trunk@24579 -
2010-04-11 14:53:27 +00:00
marc
3e10dd5404
* debug: implemented dispay of debugevents. patch #16148 by Flavio Etrusco
...
git-svn-id: trunk@24577 -
2010-04-11 14:11:47 +00:00
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
paul
95b6a7b814
debugger: exception handling improvement
...
- add debugger exception notification dialog instead of simple message dialog. This allows to continue execution just after reading about exception and to add this exception to the "skip" list.
- implement "Notify on Lazarus exception" option
- fix inability to remove an exception from the "skip" list
git-svn-id: trunk@18916 -
2009-03-08 12:03:34 +00:00
paul
db1388f6e5
ide: when we insert/delete lines before a breakpoint don't forget to store this changes on save (bug #0009886 )
...
git-svn-id: trunk@18889 -
2009-03-04 05:51:00 +00:00
mattias
8a2b5a4ee1
IDE: GetprojectTargetFilename added parameter
...
git-svn-id: trunk@18613 -
2009-02-09 09:09:15 +00:00
vincents
a9eb4a743b
IDE: try to convert exception message from debugger to UTF8, if it contains invalid UTF8 chars (issue #13096 )
...
git-svn-id: trunk@18534 -
2009-02-02 15:08:42 +00:00
marc
66468eaf11
* Check if current breakpoint isn't removed
...
git-svn-id: trunk@18413 -
2009-01-24 15:35:25 +00:00