Commit Graph

238 Commits

Author SHA1 Message Date
jesus
561307dda3 Fix compile with fpc trunk
git-svn-id: trunk@31947 -
2011-08-11 20:18:27 +00:00
martin
c8400142fe DBG: History Import/Export
git-svn-id: trunk@31240 -
2011-06-15 13:46:12 +00:00
martin
1ad681f7b9 DBG: Fix an access violation due to too early destroyed locals-object. Related to issue #19551
git-svn-id: trunk@31201 -
2011-06-13 15:46:27 +00:00
martin
066a27820b DBG: more debugLN
git-svn-id: trunk@31160 -
2011-06-10 23:15:51 +00:00
martin
ac70d0ff2f DBG: reduced flicker in Data windows, added debugln
git-svn-id: trunk@31150 -
2011-06-10 00:44:18 +00:00
martin
7e94016e3a DBG: Automatic Snapshots on breakpoint
git-svn-id: trunk@31111 -
2011-06-06 01:41:20 +00:00
martin
7ca74f8ce1 DBG: More Snapshots,
git-svn-id: trunk@31108 -
2011-06-05 22:38:52 +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
martin
0cde70d50b DBG: Clean up, Simplify life time management of QueueObject to a ref-counter
git-svn-id: trunk@30812 -
2011-05-19 17:15:52 +00:00
martin
cfa81907c6 DBG, History: Disable actions, if switched off
git-svn-id: trunk@30808 -
2011-05-19 13:19:14 +00:00
martin
ccd2349b54 DBG: Display more info for error-state
git-svn-id: trunk@30806 -
2011-05-19 12:08:22 +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
d16f3a06da DBG: Fix watches, do not double request data
git-svn-id: trunk@30746 -
2011-05-15 12:23:47 +00:00
martin
f5bb1d204b DBG: Some fixes for watch evaluation (update state / detect destruction)
git-svn-id: trunk@30740 -
2011-05-15 10:34:04 +00:00
martin
a60b1bab59 DBG: fix deleting breakpoint that have a group
git-svn-id: trunk@30733 -
2011-05-14 20:00:20 +00:00
martin
f4d0e31e1a DBG: Fixed adding watches while debugger is running. Issue #0019354
git-svn-id: trunk@30725 -
2011-05-13 22:17:34 +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
71256463f9 debugger: implement breakpoint group creation in breakpoint properties dialog, fix group restoring
git-svn-id: trunk@30715 -
2011-05-13 08:02:50 +00:00
paul
e770073129 debugger: skip pause when breakpoint action does not contain "Break"
git-svn-id: trunk@30713 -
2011-05-13 06:48:12 +00:00
paul
ae6a67d2b3 debugger: output call stack to the event log when breakpoint action requires this
git-svn-id: trunk@30711 -
2011-05-13 00:58:19 +00:00
martin
bd7bdda224 DBG:t caseupdat
git-svn-id: trunk@30703 -
2011-05-12 20:01:11 +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
364a8189ab debugger: start breakpoint log call stack feature
git-svn-id: trunk@30689 -
2011-05-12 07:42:31 +00:00
paul
a6fc00143f debugger: preparation for address breakpoints
git-svn-id: trunk@30659 -
2011-05-10 14:37:44 +00:00
paul
4ae562d3db debugger: save/load breakpoint log messages, log message on breakpoint hit
git-svn-id: trunk@30653 -
2011-05-10 03:52:45 +00:00
paul
7223934312 debugger: format addresses in events according to platform pointer size, output breakpoint hits to the event log
git-svn-id: trunk@30652 -
2011-05-10 03:04:14 +00:00
martin
505c0a0e9b DBG: Refactor Master/Slave class structure (callstack)
git-svn-id: trunk@30629 -
2011-05-08 23:45:16 +00:00
maxim
631590053a Debugger: localized event names
git-svn-id: trunk@30616 -
2011-05-08 14:47:36 +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
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
paul
64f78f5265 ide: save/load/edit debugger event log options
git-svn-id: trunk@30534 -
2011-05-03 05:34:26 +00:00
martin
5c02251e3c DBG: fixes for Disassembler
git-svn-id: trunk@30515 -
2011-05-01 14:34:36 +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
martin
535accdbc6 DBG: Fixed running without debugger
git-svn-id: trunk@30489 -
2011-04-27 12:38:01 +00:00
paul
a2e3f1c24b debugger: log exceptions
git-svn-id: trunk@30488 -
2011-04-27 07:30:33 +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
paul
ec09bfef6c ide: fix debugger event name Window -> Windows, record 'library-loaded' events
git-svn-id: trunk@30486 -
2011-04-27 06:43:16 +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
martin
a24e534a55 DBG: limit console window to linux use -dDBG_ENABLE_TERMINAL to force, if libc is available on other platforms
git-svn-id: trunk@30385 -
2011-04-19 12:00:33 +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
martin
e5b4a1fe86 DBG: fixed assertion
git-svn-id: trunk@30247 -
2011-04-08 18:25:52 +00:00
martin
64c43534c9 Debugger: fix crash, when deleting/clearing watches while they are updated
git-svn-id: trunk@30150 -
2011-04-03 13:07:06 +00:00
juha
9a3289dab4 Debugger: fix a wrong assertion
git-svn-id: trunk@30126 -
2011-04-02 11:13:32 +00:00
mattias
46cae9d061 fixed typos: completly
git-svn-id: trunk@29443 -
2011-02-10 09:38:34 +00:00
mattias
78a626bf15 fixed typos: chnage
git-svn-id: trunk@29441 -
2011-02-10 09:37:44 +00:00
mattias
a8498808d1 fixed typos: Adress
git-svn-id: trunk@29439 -
2011-02-10 09:34:42 +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
aa41d62c4f DBG: Fix crash in disassembler view
git-svn-id: trunk@29054 -
2011-01-16 18:45:07 +00:00
martin
3f3b8a3c89 Env-Opts, Dbg: Save debugger properties
git-svn-id: trunk@28997 -
2011-01-13 16:47:22 +00:00
martin
8e4d321718 DBG: Ensure watches work, after changing project (if debugger already instantiated)
git-svn-id: trunk@28735 -
2010-12-17 01:40:07 +00:00
martin
e4121d2b0b DBG: improved display of watches
git-svn-id: trunk@28725 -
2010-12-16 01:43:28 +00:00
martin
2fd897d60d DBG: cleanup watches code (apply BeginUpdate block / Use actual valid state)
git-svn-id: trunk@28652 -
2010-12-08 21:21:02 +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
04eb05df31 DBG: Added instruction stepping / fixed some assembler window issue
git-svn-id: trunk@28388 -
2010-11-22 00:25:09 +00:00
martin
0c071df579 DBG: Assembler, improvements
git-svn-id: trunk@28376 -
2010-11-21 01:15:26 +00:00
martin
dee17fe6e4 DBG: Refactor Disassembler
git-svn-id: trunk@28360 -
2010-11-20 00:33:38 +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
f7f5b30cd8 DBg: Disassembler, fixed exception in DebugLn/Verbose
git-svn-id: trunk@28274 -
2010-11-16 15:42:31 +00:00
martin
da249707cb DBg: Disassembler, reduce the amount of not-required data being disassembled
git-svn-id: trunk@28273 -
2010-11-16 15:28:23 +00:00
martin
cc86c3c99e DBG: Assembler-View: Fixed crash after resting (destroy) debugger
git-svn-id: trunk@28255 -
2010-11-15 21:51:24 +00:00
martin
14b597be41 DBG: added debugln/verbose for breakpoints
git-svn-id: trunk@28253 -
2010-11-15 19:39:26 +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
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
martin
2e33884219 Debugger: Refactor Stack to use object-queue, and callback. Partly fixes issue #0017619 (note 0041774 (watch list sometimes empty))
git-svn-id: trunk@28030 -
2010-11-01 23:43:06 +00:00
martin
ea59a61dee Debugger: Changed commit 27554 #73fda95380 ( Issue #0017537,#0016318,#0016132 ). Order could be wrong if addresses had highest bit set (type-cast to negative, would make bigger addr appear smaller)
git-svn-id: trunk@27569 -
2010-10-04 11:20:59 +00:00
martin
73fda95380 Debugger: Added type-cast to fix a range check issue. Issue #0017537,#0016318,#0016132 Based on patch by Juha Manninen in 0017537
git-svn-id: trunk@27554 -
2010-10-03 21:01:27 +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
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
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
marc
101acea082 debugger: added line info to assembler output dialog
git-svn-id: trunk@23043 -
2009-12-09 00:14:29 +00:00
paul
92aacc4bf2 debugger:
- add skVariant enum value for Variant data type, 
  - move Variant type handling to skVariant
  - misc Inspect dialog improvements (hiding pages, close on escape)

git-svn-id: trunk@23002 -
2009-12-06 13:43:25 +00:00
paul
f437016542 debugger: use fullname if available
git-svn-id: trunk@22956 -
2009-12-04 11:34:47 +00:00
marc
2b723e68d2 * formatting & typo
git-svn-id: trunk@22539 -
2009-11-11 23:35:12 +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
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
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
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
dd45a62e40 debugger: reset "Notify on Lazarus exceptions" option for new projects
git-svn-id: trunk@18917 -
2009-03-08 12:13:03 +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
2521adfc9c fix typo
git-svn-id: trunk@18836 -
2009-02-27 09:34:06 +00:00
marc
4ac1841cc0 * Rename of dbgutils and dbgoutputform to avoid future name conflicts
git-svn-id: trunk@18301 -
2009-01-15 23:26:10 +00:00
marc
c569ccca33 * Added breakpont properties dialog. Modified patch by Benito van der Zander (issue #12882)
git-svn-id: trunk@18115 -
2009-01-04 19:57:56 +00:00
paul
3df9f2143a debugger: next time show more informative exception about duplicate name
git-svn-id: trunk@18100 -
2009-01-04 10:01:33 +00:00
paul
04fde3cce3 ide, debugger:
- reset various debug info (breakpoints, watches, language exceptions, signals) when creating a new project
  - turn off debug manager verbosity

git-svn-id: trunk@17745 -
2008-12-09 08:35:50 +00:00
marc
598126853c * Initial implementation of assembler dialog
git-svn-id: trunk@17735 -
2008-12-09 01:39:31 +00:00
marc
f64f9318a3 + Added changed image
git-svn-id: trunk@17455 -
2008-11-20 00:19:14 +00:00
marc
88ff1df906 + Added Registers debug view
git-svn-id: trunk@17431 -
2008-11-19 01:35:01 +00:00
mattias
fa30fe40de Marc wins
git-svn-id: trunk@16351 -
2008-09-01 13:14:17 +00:00
paul
508983cd7e debugger: fix callstack return (#0011921, thanks to Jeff Doyle)
git-svn-id: trunk@16151 -
2008-08-20 01:15:25 +00:00