Commit Graph

355 Commits

Author SHA1 Message Date
martin
24b800d7f0 DBG: fixed problem, when removing breakpoint at the wrong moment
git-svn-id: trunk@34973 -
2012-01-27 11:48:04 +00:00
martin
34c3888d83 DBG: add option to reset debugger after each run
git-svn-id: trunk@34925 -
2012-01-25 15:05:21 +00:00
juha
91451a8f52 IDE: fix spelling
git-svn-id: trunk@34869 -
2012-01-22 14:22:23 +00:00
martin
542ec1cf4c DBG: Fix taring snapshots on none breaking breakpoints
git-svn-id: trunk@34785 -
2012-01-18 19:53:56 +00:00
martin
1d2762eec2 Debugger, ignore exceptions - Don't modify session, unless changed
git-svn-id: trunk@34733 -
2012-01-14 14:59:18 +00:00
martin
2de2216314 DBG: fix an assert, if changing debugger-type (none vs gdb)
git-svn-id: trunk@34665 -
2012-01-08 15:20:13 +00:00
mattias
d68222bb17 IDE: default project options: save whole lpi, load all build modes, formerly: only active build mode
git-svn-id: trunk@34554 -
2012-01-03 15:10:08 +00:00
martin
2c40a97d6a DBG: Markl project as modified, if watches are added/changed/removed. issue #0020092
git-svn-id: trunk@33338 -
2011-11-05 14:30:32 +00:00
martin
2642e6a579 DBG: moved window-names from IDE to debugger
git-svn-id: trunk@33336 -
2011-11-05 13:32:32 +00:00
martin
ed780f4ced DBG: Store/Restore column size (debug dialogs). issue #0018035
git-svn-id: trunk@33270 -
2011-11-03 17:53:46 +00:00
martin
c6a5c6d837 IDE Window Layout: provide ability to store columns/rows/splitter sizes.
DBG: Watches, store column widths with IDE layout

git-svn-id: trunk@33202 -
2011-11-01 16:31:31 +00:00
martin
6a504f60d8 DBG: fix callstack, opens directory in editor (unix), for unknown location. Issue #20561
git-svn-id: trunk@33095 -
2011-10-26 15:38:48 +00:00
martin
f991072664 DBG: added some feedback (debugln)
git-svn-id: trunk@33090 -
2011-10-26 14:26:14 +00:00
martin
6a4928281a DBG: Callstack, show frames in assembler.
git-svn-id: trunk@32831 -
2011-10-12 01:26:11 +00:00
martin
f4530db335 DBG: Breakpoints for asm window; extended in callstack
git-svn-id: trunk@32812 -
2011-10-10 22:21:13 +00:00
martin
d8ebec4e11 DBG: dsStop is still a debugging state. Allow next "Run" only, once debugger is dsIdle again
git-svn-id: trunk@32799 -
2011-10-10 12:29:58 +00:00
martin
240ec1a82b DBG: do not open virtual unit twice.
git-svn-id: trunk@32723 -
2011-10-06 20:28:32 +00:00
martin
afc9b17919 DBG: Fixed a possible bad memory access / Fixed line from source 1 vs 0 based
git-svn-id: trunk@32718 -
2011-10-06 10:07:34 +00:00
mattias
5f36b89cef IDE: run parameters: working directory: support macros
git-svn-id: trunk@32608 -
2011-10-01 22:06:35 +00:00
martin
e9e9d97ea2 DBG: Add watchpoints to src-edit popup menu
git-svn-id: trunk@32575 -
2011-09-30 19:18:18 +00:00
juha
0203c4d30c IDE: Set Result in Debugmanager.DoCreateBreakPoint. Issue #20338, patch from alexvins
git-svn-id: trunk@32510 -
2011-09-25 13:16:18 +00:00
martin
dbb87ca09b DBG: Fixed jumping to unit of unsaved project
git-svn-id: trunk@32449 -
2011-09-21 12:13:24 +00:00
martin
a65bbd7c40 DBG: Toggle breakpoint enabled with ctrl-click. Issue #0017330
git-svn-id: trunk@32441 -
2011-09-20 19:24:22 +00:00
martin
a6f5c17aca DBG: Fix finding units
git-svn-id: trunk@32438 -
2011-09-20 18:23:42 +00:00
martin
37fa512845 DBG: Watchpoints
git-svn-id: trunk@32423 -
2011-09-19 17:47:27 +00:00
martin
c963680079 DBG: (alpha) Initial support for watchpoints ($DEFINE DBG_WITH_WATCHPOINT)
git-svn-id: trunk@32415 -
2011-09-19 01:20:08 +00:00
martin
b206291f65 DBG: More info/options on break for exception/run-error
git-svn-id: trunk@32400 -
2011-09-18 11:53:34 +00:00
martin
63a6d0bb60 IDE, DBG: Starting on DebuggerConfigStorage
git-svn-id: trunk@32380 -
2011-09-17 11:32:32 +00:00
martin
a23438a510 IDE: refactor, clean-up JumpToCodde/Source
git-svn-id: trunk@32347 -
2011-09-15 11:17:38 +00:00
martin
9c341414d9 DBG: refactor unit location handling (make sure it compiles without debug $DEFINE
git-svn-id: trunk@32336 -
2011-09-14 14:02:40 +00:00
martin
a7100b234c DBG: refactor unit location handling
git-svn-id: trunk@32335 -
2011-09-14 13:48:43 +00:00
martin
8aa42c7c6c IDE, DBG: Enable inspect entry in run menu. Issue #0020237
git-svn-id: trunk@32329 -
2011-09-14 09:07:19 +00:00
martin
932ea7ee45 DBG: fixed dbg-inspector updates
git-svn-id: trunk@32300 -
2011-09-12 11:37:53 +00:00
martin
23d4607e5d DBG: Prevent exec-commands from running nested in other commands. Always queue, and run in the outer most "RunQueue" call.
Prevents state driven changes to IDE objects, while IDE is working on them (IDE-locals are destroyed while being evaluated). Issue #19551

git-svn-id: trunk@31208 -
2011-06-13 22:46:06 +00:00
martin
2eba652c2b DBG: Disassembler, added pascal source, issue #0019446
git-svn-id: trunk@31177 -
2011-06-11 23:58:22 +00:00
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