Commit Graph

320 Commits

Author SHA1 Message Date
martin
58dbddba3e DBG: Refactor, clean up
git-svn-id: trunk@31131 -
2011-06-08 00:46:39 +00:00
martin
338c22fd29 DBG: More Snapshots, fix compilation
git-svn-id: trunk@31112 -
2011-06-06 02:17:51 +00:00
martin
7e94016e3a DBG: Automatic Snapshots on breakpoint
git-svn-id: trunk@31111 -
2011-06-06 01:41:20 +00:00
martin
6e46475a00 DBG: More Snapshots, Some optimizations/reduce watches refresh
git-svn-id: trunk@31107 -
2011-06-05 22:27:15 +00:00
juha
4b57ac797b IDE & LCL: Move focus to editor after hitting breakpoint. Patch from August Klein, issue #15967
git-svn-id: trunk@31087 -
2011-06-05 06:22:54 +00:00
martin
ccd2349b54 DBG: Display more info for error-state
git-svn-id: trunk@30806 -
2011-05-19 12:08:22 +00:00
paul
57d9dcb331 ide: fix add source breakpoint string, + add address breakpoint menu item, implement those menu item clicks
git-svn-id: trunk@30755 -
2011-05-16 05:31:49 +00:00
paul
a7170914a6 debugger: add popup menu to locals windows
git-svn-id: trunk@30754 -
2011-05-16 01:55:19 +00:00
martin
65b111ae79 DBG: History values: evaluate in background, if windows are closed
git-svn-id: trunk@30752 -
2011-05-16 00:45:19 +00:00
martin
3dc186123d DBG: Start History values (currently requires debug windows (locals, watches, stack) to be open and active, or nothing is recorded)
git-svn-id: trunk@30750 -
2011-05-15 21:16:16 +00:00
martin
99624b9b9a DBG: Refactor Master/Slave class structure (locals)
git-svn-id: trunk@30721 -
2011-05-13 14:00:35 +00:00
paul
012e19a7d9 ide: update project modified state on breakpoint property change
git-svn-id: trunk@30712 -
2011-05-13 01:09:32 +00:00
martin
1d566ba504 DBG: Refactor Master/Slave class structure (watches)
git-svn-id: trunk@30699 -
2011-05-12 18:47:54 +00:00
paul
271b185f2c ide: change breakpoint mark line when breakpoint line is changed
git-svn-id: trunk@30672 -
2011-05-11 01:41:07 +00:00
martin
505c0a0e9b DBG: Refactor Master/Slave class structure (callstack)
git-svn-id: trunk@30629 -
2011-05-08 23:45:16 +00:00
martin
56884905ce DBG: Refactor Master/Slave class structure (starting with threads)
git-svn-id: trunk@30609 -
2011-05-07 21:15:07 +00:00
martin
3149cd7978 DBG: Handle error state as stopped.
git-svn-id: trunk@30579 -
2011-05-06 11:11:55 +00:00
martin
f429d822c0 DBG: Fix automatic reset of debugger, after error state
git-svn-id: trunk@30560 -
2011-05-05 20:43:59 +00:00
paul
82fa636bdc ide, debugger: use colors in event log:
- replace listview by treeview
  - extend data which is stored together with event message
  - implement custom node paint

git-svn-id: trunk@30535 -
2011-05-03 07:59:02 +00:00
martin
d134d8df91 DBG: clear terminal on run
git-svn-id: trunk@30517 -
2011-05-01 16:35:25 +00:00
martin
988bdbe88a DBG: Ensure watches are enabled, after expression added via menu
git-svn-id: trunk@30507 -
2011-04-29 13:12:23 +00:00
martin
1a0a37aaf9 DBG: Refactor, merge TManaged.. classes into TIDE.. classes
git-svn-id: trunk@30490 -
2011-04-27 14:55:07 +00:00
paul
f52d287d2d debugger: add TDBGEventType enumeration, pass event type when some debugger event happens
git-svn-id: trunk@30487 -
2011-04-27 06:58:44 +00:00
martin
e65505ff79 DBG: Fixed menu <> command relationship for Threads dialog
git-svn-id: trunk@30477 -
2011-04-26 08:24:06 +00:00
martin
580a85d184 DBG: Added Thread dialog
git-svn-id: trunk@30467 -
2011-04-25 11:17:47 +00:00
martin
1ca433e5b8 DBG: Added Format option to Register Window (issue #0018834)
git-svn-id: trunk@30434 -
2011-04-23 14:05:55 +00:00
martin
5b1fca573b Debugger: Display errors on run/step to user, with a choice to continue; instead of "error state"
git-svn-id: trunk@30416 -
2011-04-21 16:05:08 +00:00
mattias
53ccc4736f IDE: fixed compilation under linux x64
git-svn-id: trunk@30360 -
2011-04-18 08:32:38 +00:00
martin
bf85980317 DBG: (Unix) Added (very) basic support for console apps (console window)
git-svn-id: trunk@30351 -
2011-04-17 15:44:14 +00:00
mattias
c0594332b5 IDE: project inspector: filter, directory hierarchy, show sorted alphabetically
git-svn-id: trunk@30055 -
2011-03-28 21:12:14 +00:00
mattias
2755108d9c IDEIntf: moved compiler options to unit of its own (compoptsintf.pas), added access to compiler options of packages
git-svn-id: trunk@29523 -
2011-02-13 13:42:19 +00:00
martin
5b6cc6df96 DBG: "inspect" dialog, now shows entire class
git-svn-id: trunk@29056 -
2011-01-16 19:11:23 +00:00
martin
3f3b8a3c89 Env-Opts, Dbg: Save debugger properties
git-svn-id: trunk@28997 -
2011-01-13 16:47:22 +00:00
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