Commit Graph

399 Commits

Author SHA1 Message Date
mattias
5a07230297 IDE: clean up
git-svn-id: trunk@44146 -
2014-02-18 18:47:15 +00:00
martin
e38b958e04 Debugger/DbgIntf: Moved code to DebuggerIntf package
git-svn-id: trunk@44097 -
2014-02-16 14:29:53 +00:00
martin
3f415797e4 Debugger: put some common types into DbgIntf
git-svn-id: trunk@44079 -
2014-02-15 01:31:30 +00:00
martin
165fa57622 Debugger: Attach, Darwin, try and get process-list via gdb. Issue #0025302 Patch by Joost van der Sluis
git-svn-id: trunk@43417 -
2013-11-10 23:32:18 +00:00
martin
0148216198 Debugger: Change ExceptionList to one list (no master/slave), fix debugger follows config which exceptions to ignore.
git-svn-id: trunk@43306 -
2013-10-23 14:28:25 +00:00
martin
03718c93d9 Debugger: fix adding watch via dialog. Open watch view window
git-svn-id: trunk@43304 -
2013-10-23 12:53:12 +00:00
martin
fbfa1eb74e Debugger: Options, do not mark project as modified, when starting debugger (with breakpoints set). Issue #0025073
git-svn-id: trunk@42934 -
2013-09-25 14:14:55 +00:00
martin
07ca34b2bc Debugger: Options, mark project as modified, when exceptions are enabled/disabled. Issue #0025074
git-svn-id: trunk@42932 -
2013-09-25 12:32:35 +00:00
martin
4c52e89cc2 Debugger: Disable logging of stackdump during unit lookup
git-svn-id: trunk@42856 -
2013-09-18 11:17:12 +00:00
martin
91c6dfa11f Debugger: lock queue while handling breakpoint
git-svn-id: trunk@42667 -
2013-09-07 16:40:46 +00:00
martin
5944e6f470 Debugger: limit the depth of stack evaluation / avoid long wait, if stack is very deep, and only top is needed.
git-svn-id: trunk@42461 -
2013-08-23 13:19:30 +00:00
martin
cf9f00ceef Debugger: More TGDBInstructionQueue / automatic thread/stack switching
git-svn-id: trunk@42442 -
2013-08-21 13:40:31 +00:00
martin
2df276e409 dbg(gdbserver): reset gdb after use
git-svn-id: trunk@42411 -
2013-08-16 12:19:39 +00:00
martin
e90a1cadbf dbg: add basic support for gdbserver
git-svn-id: trunk@42405 -
2013-08-15 16:16:23 +00:00
mattias
ff5f02afd2 IDE: callstack: search source via mangled function name
git-svn-id: trunk@41929 -
2013-06-27 17:20:03 +00:00
martin
d8a0270a7a dbg: start fallback location detection
git-svn-id: trunk@41870 -
2013-06-24 15:22:56 +00:00
mattias
7bcb1b24a9 IDE: replaced some MessageDlg with IDEMessageDialog
git-svn-id: trunk@41499 -
2013-06-02 17:54:22 +00:00
mattias
efec9f2a26 IDE: replaced some MessageDlg with IDEMessageDialog
git-svn-id: trunk@41497 -
2013-06-02 17:27:09 +00:00
martin
ea3947b2e5 DBG: fixed changing debugger-class
git-svn-id: trunk@40404 -
2013-02-25 16:07:06 +00:00
martin
b0299832bb clean up (added "optional" semicolons)
git-svn-id: trunk@40396 -
2013-02-24 18:51:43 +00:00
zeljko
7330294168 IDE: fixed restoring designed form when HideIDEWindowsOnRun = true. issue #22535
git-svn-id: trunk@40177 -
2013-02-04 14:11:10 +00:00
martin
2e47a30822 IDE: prevent debugger from entering invalid state, if started again before completely stopped. For info see issue #0023800
git-svn-id: trunk@40097 -
2013-01-31 19:03:40 +00:00
martin
7f16e6cc64 DBG: improved unit search
git-svn-id: trunk@39890 -
2013-01-19 13:22:36 +00:00
martin
a99a932801 DBG: Fix updating Inspect dialog, if triggered via source-editor (pop-up menu)
git-svn-id: trunk@39290 -
2012-11-16 15:43:16 +00:00
martin
f3f7450f44 Debugger: Disable "run to cursor" when debugger is stopped. This command is limited to the current frame (function). It can not be used to start a project. (also disable dcJumpTo, dcStepOut)
git-svn-id: trunk@39042 -
2012-10-10 23:00:51 +00:00
juha
672f5bd862 Replace #13 with LineEnding in many messages. It didn't show correctly on Linux systems.
git-svn-id: trunk@38633 -
2012-09-13 06:39:56 +00:00
martin
696d0835c2 Debugger: added Attach/Detach
git-svn-id: trunk@38544 -
2012-09-06 17:17:38 +00:00
martin
b34b609f50 Debugger: added Attach/Detach
git-svn-id: trunk@38536 -
2012-09-06 12:41:24 +00:00
martin
52a8471216 DBG: Omit check for local files, when using GDB over ssh. Issue #0021834
git-svn-id: trunk@37125 -
2012-05-01 17:08:32 +00:00
martin
b4ed549862 DBG: Fix compilation. Broke in r 37091 : Omit check for local files, when using GDB over ssh.
git-svn-id: trunk@37097 -
2012-04-29 22:19:32 +00:00
martin
537e40a7d9 DBG: Omit check for local files, when using GDB over ssh. Issue #0021834
REQUIRES r 37097 to fix compilation

git-svn-id: trunk@37091 -
2012-04-29 18:39:54 +00:00
martin
c2fa27acf1 Fix crash in dbg-console, if dbg not active. issue #21712
git-svn-id: trunk@36795 -
2012-04-15 13:36:30 +00:00
mattias
f8a61521aa IDE: debugfilename, debugsearchpath: use same function as other env vars to resolve macros, trim and find
git-svn-id: trunk@36682 -
2012-04-09 17:00:35 +00:00
mattias
2a90441323 lazbuild: fixed using lcl questiondlg
git-svn-id: trunk@36201 -
2012-03-21 23:16:09 +00:00
mattias
3e9e907062 IDE: switched to new laz2_xml
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
martin
5a1360baf1 LazLogger, introduce base and dummy classes
git-svn-id: trunk@35778 -
2012-03-06 19:36:11 +00:00
martin
e1ddbfcb9a DBG: allow run to work already while watches are evaluated (same as step does)
git-svn-id: trunk@35557 -
2012-02-22 15:38:14 +00:00
juha
2550bbf3be IDE: unify some common resource strings. Add hints for Path Edit dialog
git-svn-id: trunk@35361 -
2012-02-13 19:57:58 +00:00
martin
fcdd4f6bf0 DBG: move same debugln to LazLogger cmd-line config
git-svn-id: trunk@35342 -
2012-02-12 23:33:11 +00:00
juha
4ef51619f5 IDE: collect common resource strings in one place, remove duplicates
git-svn-id: trunk@35321 -
2012-02-12 13:04:36 +00:00
martin
b3e1fbdbdf DBG: ensure, existing "ignored exceptions" are re-enabled, if user requests
git-svn-id: trunk@35254 -
2012-02-09 00:20:21 +00:00
martin
459570ae4e DBG: Fixed crash in ResetDebugger when closing the IDE
git-svn-id: trunk@35235 -
2012-02-08 16:23:27 +00:00
martin
728880b814 DBG: Reset, if project changed. issue #18468
git-svn-id: trunk@35229 -
2012-02-07 22:27:24 +00:00
mattias
c9ffd2f60c IDE: resolve macros in project title
git-svn-id: trunk@35044 -
2012-01-31 00:22:13 +00:00
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