Commit Graph

1445 Commits

Author SHA1 Message Date
juha
e826391389 Reimplement "IDE, Packager: harmonize some string constants"
git-svn-id: trunk@40967 -
2013-05-01 08:44:51 +00:00
juha
550d0ac8d0 Revert "IDE, Packager: harmonize some string constants"
git-svn-id: trunk@40960 -
2013-04-30 19:02:32 +00:00
juha
20be8a3fc1 IDE, Packager: harmonize some string constants
git-svn-id: trunk@40953 -
2013-04-30 13:35:06 +00:00
martin
2d3c09cd6d Debugger: Fix crash when viewing extended watch view, while dbg=history is active and selecting a previously not evaluated stack frame.
git-svn-id: trunk@40945 -
2013-04-29 23:13:07 +00:00
juha
e2f70c366f IDE: Use string const lisDefault = 'Default'
git-svn-id: trunk@40890 -
2013-04-26 08:05:34 +00:00
martin
528ac72e0e DBG: Fixed range-check on linux. Issue #23993 Patch by C Western
git-svn-id: trunk@40482 -
2013-03-04 23:05:04 +00:00
martin
4b67d787bc DBG: gdb async mode / prevent gdb on Mac 64 bit from crashing
git-svn-id: trunk@40461 -
2013-03-02 18:28:26 +00:00
martin
04652cc455 DBG: Started work on gdb async mode
git-svn-id: trunk@40412 -
2013-02-25 23:44:57 +00:00
martin
7f4d5ecb13 DBG: refactor TGDBMIDebuggerProperties to have a none publishing base class
git-svn-id: trunk@40373 -
2013-02-23 14:22:29 +00:00
martin
e6e119e440 DBG: Increase the amount of chars gdb fetches from a string (made configurable). Issue: #0023932
git-svn-id: trunk@40369 -
2013-02-23 04:16:09 +00:00
martin
93470b95dc DBG: Increase the amount of chars gdb fetches from a string (made configurable). Issue: #0023932
git-svn-id: trunk@40368 -
2013-02-23 04:01:17 +00:00
martin
4e4bffbae4 DBG: simplify getting line info (no type "pointer" needed)
git-svn-id: trunk@40205 -
2013-02-08 03:20:24 +00:00
mattias
01bdba496f IDE: clean up
git-svn-id: trunk@39964 -
2013-01-25 08:11:45 +00:00
martin
034537a23f fpdebug: fix building line info. Issue #0013989 Patch by Joost van der Sluis
git-svn-id: trunk@39564 -
2012-12-16 19:54:08 +00:00
martin
940f0cba78 fpdebug: fix compilation. Issue #0013990 Patch by Joost van der Sluis
git-svn-id: trunk@39563 -
2012-12-16 19:40:23 +00:00
martin
0cc92c4269 DBG: fix tests
git-svn-id: trunk@39489 -
2012-12-09 15:23:06 +00:00
martin
966565bfbd DBG: fixes/updates to tests
git-svn-id: trunk@39486 -
2012-12-09 13:47:35 +00:00
martin
97bda19497 DBG: optimizations (speed / display format) for array watches
git-svn-id: trunk@39467 -
2012-12-06 20:06:06 +00:00
martin
97c63bee5e DBG: Small optimizations for array watches (test)
git-svn-id: trunk@39464 -
2012-12-06 16:48:53 +00:00
martin
b4c7cffa66 DBG: Small optimizations for array watches
git-svn-id: trunk@39463 -
2012-12-06 16:43:22 +00:00
martin
65b2701940 DBG: Fixed eval of watches with class-typecase and dyn-array (stabs only)
git-svn-id: trunk@39449 -
2012-12-06 12:01:08 +00:00
martin
0810a9f599 DBG: initial stub for gdbserver (contributed by marius.maximus) http://forum.lazarus.freepascal.org/index.php/topic,19014.0/topicseen.html
git-svn-id: trunk@39386 -
2012-11-27 01:28:22 +00:00
martin
885412c1fe Updated gdb location in GDBMI for gdb in mingw\$(TargetCPU)-$(TargetOS)\bin\
git-svn-id: trunk@39375 -
2012-11-26 00:43:03 +00:00
martin
8b2d6d862c DBG: Allow adding watches by paste (from clipboard) into watches window. Part of Issue #0023368
git-svn-id: trunk@39342 -
2012-11-22 14:54:04 +00:00
martin
2473b7068d DBG: Fix range check in disassembler (64 bit debuggee). Issue #0023355
git-svn-id: trunk@39333 -
2012-11-22 00:03:36 +00:00
martin
6e09d09556 DBG: Do not treat "&" as accel-char when displaying exceptions. Issue #0023321
git-svn-id: trunk@39285 -
2012-11-15 23:50:18 +00:00
martin
346ebe18a0 DBG: Inspect-Dialog, skip update, if no change
git-svn-id: trunk@39281 -
2012-11-15 14:47:39 +00:00
martin
1a23649a97 DBG: Inspect-Dialog, prevent crash, due to nested updates
git-svn-id: trunk@39280 -
2012-11-15 14:46:30 +00:00
martin
a4d154fe15 DBG: Fix a problem in DBG_WITH_GDB_WATCHES
git-svn-id: trunk@39140 -
2012-10-19 08:53:09 +00:00
martin
d9e86fb1d8 DBG: fixed an endless loop in watch eval (eval typecast pointer to record)
git-svn-id: trunk@39131 -
2012-10-18 16:38:51 +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
martin
a8550d383a DBG: Update watch detail pane, when viewing snapshots
git-svn-id: trunk@38941 -
2012-10-02 01:08:14 +00:00
martin
f8dbcc135d DBG: Fix setting stackframe for hint eval, after searching for highest source-frame.
git-svn-id: trunk@38922 -
2012-09-30 15:23:53 +00:00
paul
7ebd846c4a debugger: fix range check
git-svn-id: trunk@38783 -
2012-09-21 11:47:02 +00:00
martin
2b31afc2e6 DBG: Fix for gdb 7.5
git-svn-id: trunk@38725 -
2012-09-18 01:57:21 +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
c410493ade DBG, Attach: catch exceptions
git-svn-id: trunk@38611 -
2012-09-10 20:10:20 +00:00
juha
f59a711290 Debugger: fix tab-order in Evaluate/Modify window
git-svn-id: trunk@38602 -
2012-09-09 16:25:08 +00:00
martin
1c453ed8bf DBG, Asm-Dlg: Fix Scrollbars
git-svn-id: trunk@38545 -
2012-09-06 17:30:25 +00:00
martin
696d0835c2 Debugger: added Attach/Detach
git-svn-id: trunk@38544 -
2012-09-06 17:17:38 +00:00
martin
80283e5a89 Debugger: added Attach/Detach
git-svn-id: trunk@38537 -
2012-09-06 13:04:05 +00:00
martin
b34b609f50 Debugger: added Attach/Detach
git-svn-id: trunk@38536 -
2012-09-06 12:41:24 +00:00
martin
91d58f99ce Debugger: Workaround to fix exe-line-indicators (blue dots) at debug start
git-svn-id: trunk@38531 -
2012-09-05 17:00:19 +00:00
martin
acb5e8bc8c Debugger: Ensure Queue is not blocked by LineInfo Request. (If a LineInfoRequest was queued the DebuggerCurrentLine could not search the stack, as commands were not immediately run
git-svn-id: trunk@38509 -
2012-09-03 20:47:24 +00:00
martin
a87069388e Debugger: Improved detection of PID (for newer GDB)
git-svn-id: trunk@38506 -
2012-09-03 19:01:14 +00:00
mattias
c07d86fd39 IDE: assembler window: disabled form scrollbars
git-svn-id: trunk@38492 -
2012-09-02 17:11:36 +00:00
juha
8297ee1f08 Sort ListViews by column click around in many places.
git-svn-id: trunk@38289 -
2012-08-20 18:05:46 +00:00
martin
5aec499a5b DBG: Tests argv
git-svn-id: trunk@37964 -
2012-07-18 16:57:29 +00:00
martin
356f9cf685 DBG: Tests argv
git-svn-id: trunk@37963 -
2012-07-18 14:06:22 +00:00
martin
3e7175b81e DBG: argv encoding
git-svn-id: trunk@37962 -
2012-07-18 14:06:17 +00:00
martin
cc1d668601 DBG: Disable rangechecks for certain PtrUInt casts
git-svn-id: trunk@37961 -
2012-07-17 10:57:14 +00:00
martin
906597041e DBG / TEST: missing file
git-svn-id: trunk@37952 -
2012-07-15 18:54:41 +00:00
martin
e4c3f797a6 DBG / TEST: fixed endless loop in watch eval (auto type cast) Issue #0022425
git-svn-id: trunk@37951 -
2012-07-15 18:46:10 +00:00
martin
0336b51995 DBG: fixed endless loop in watch eval (auto type cast) Issue #0022425
git-svn-id: trunk@37950 -
2012-07-15 18:46:02 +00:00
martin
74f97a8872 DBG: Prevent a crash, when the selected snapshot is deleted. Can also happen when starting the debugger, while a snapshot from previous run is active
git-svn-id: trunk@37945 -
2012-07-14 22:11:16 +00:00
martin
10334ca035 DBG: Prevent build up of no longer needed commands in queue
git-svn-id: trunk@37921 -
2012-07-12 16:14:36 +00:00
martin
c333eda9b8 DBG: Prevent potential crash in (dbg-)OnIdle handling
git-svn-id: trunk@37920 -
2012-07-12 15:06:14 +00:00
martin
27ad4cf344 DBG: Prevent potential crash/memory-corruption in Watches
git-svn-id: trunk@37919 -
2012-07-12 14:53:43 +00:00
martin
ee1253c86f DBG: Improve display of dyn array
git-svn-id: trunk@37903 -
2012-07-09 14:20:16 +00:00
martin
544ee94c5a DBG: clean up debugln
git-svn-id: trunk@37889 -
2012-07-06 13:00:36 +00:00
martin
09c3e91542 DBG: fixed parsing sets for debug-inspector
git-svn-id: trunk@37885 -
2012-07-06 01:14:41 +00:00
martin
af616044d3 DBG: Pseudo-Terminal, accept tabs
git-svn-id: trunk@37841 -
2012-07-01 15:24:34 +00:00
martin
68dcd42126 DBG: Fix handling console input
git-svn-id: trunk@37838 -
2012-07-01 14:20:24 +00:00
martin
788a19edd4 DBG: Fixed IDE hang, introduced in rev 37809 #1b6c227bd8 "Thread window: update while running"
git-svn-id: trunk@37813 -
2012-06-28 10:43:27 +00:00
martin
1b6c227bd8 DBG, Thread window: update while running
git-svn-id: trunk@37809 -
2012-06-27 23:08:55 +00:00
martin
a144943e7b DBG: Event-Log: Do not cache Options. Allow user to change options while debugging
git-svn-id: trunk@37722 -
2012-06-22 14:01:56 +00:00
martin
5416ac2ed8 DBG: Dialogs, don't give help related commands to IDE. They will be ignored
git-svn-id: trunk@37697 -
2012-06-19 23:41:45 +00:00
martin
d5e288e7d7 DBG: Fixed possible crash in watch evaluation (WatchValue freed while evaluating / in GetValue)
git-svn-id: trunk@37694 -
2012-06-19 18:56:14 +00:00
maxim
2eb2b52177 Debugger, Evaluate/Modify dialog: improved localization
git-svn-id: trunk@37676 -
2012-06-17 19:50:43 +00:00
martin
38fd73abd1 DBG: fixed a out of index error, in watches history
git-svn-id: trunk@37657 -
2012-06-15 17:51:17 +00:00
martin
dbd226b8aa DBG: Disassembler: prevent disassembler from doing large address ranges, if gdb returns data with far away addresses. Issue #0022230
git-svn-id: trunk@37643 -
2012-06-14 11:56:59 +00:00
martin
d1893619b7 DBG: Evaluate, keep previous results. Patch by Ludo Brands. Issue #0022196
git-svn-id: trunk@37618 -
2012-06-11 13:14:13 +00:00
martin
be4ab40c93 DBG: Evaluate, keep previous results. Patch by Ludo Brands. Issue #0022196
git-svn-id: trunk@37611 -
2012-06-10 22:40:45 +00:00
martin
a5979be214 DBG: Avoid re-queuing of dis-assembler requests, after cancelling it. Part of issue #0022230
git-svn-id: trunk@37609 -
2012-06-10 17:15:21 +00:00
martin
881e5cb6d1 DBG: Added interface fer testing/developing new dbg features
git-svn-id: trunk@37510 -
2012-06-04 12:13:30 +00:00
martin
43c0c47821 DBG: undo r37486 #4d0137d86b
git-svn-id: trunk@37501 -
2012-06-03 14:35:34 +00:00
martin
81b59794a6 DBG: clean up (r37486)
git-svn-id: trunk@37489 -
2012-06-02 19:59:50 +00:00
martin
e3d3ab2c54 DBG: Cancel LineInfo, if unit is closed in editor
git-svn-id: trunk@37488 -
2012-06-02 19:58:36 +00:00
martin
eccbedf9b1 DBG: Avoid reading stack when exe has stopped
git-svn-id: trunk@37487 -
2012-06-02 19:56:16 +00:00
martin
4d0137d86b DBG: start implementation to "RunQueue" in ASync handler. Issue #0022172
git-svn-id: trunk@37486 -
2012-06-02 19:54:12 +00:00
martin
50e5a166c9 DBG: Improved parsing of class structure (for new watch window detail pane)
git-svn-id: trunk@37456 -
2012-05-29 22:04:01 +00:00
martin
bbf31875cd DBG: implemented "Repeat Count" for watches
git-svn-id: trunk@37455 -
2012-05-29 20:46:36 +00:00
martin
e8b7145331 DBG: minor refactor (Watches)
git-svn-id: trunk@37445 -
2012-05-28 18:08:27 +00:00
martin
c319ad6bd8 DBG: Watches, save "Use instance class" to config
git-svn-id: trunk@37444 -
2012-05-28 15:20:17 +00:00
martin
dce6409cc1 DBG: do not set temporary stack = -1 in thread changing. This may cause errors
git-svn-id: trunk@37440 -
2012-05-27 22:59:11 +00:00
martin
38a49eae3f DBG: Fixed gdb result parser for empty sub-record
git-svn-id: trunk@37435 -
2012-05-27 14:08:50 +00:00
juha
15294f2cb3 Debugger: Apply the saved layout of Inspect Dialog
git-svn-id: trunk@37424 -
2012-05-26 08:36:35 +00:00
juha
b448e67ef1 Debugger: Apply the saved layout of Evaluate Dialog
git-svn-id: trunk@37423 -
2012-05-26 08:36:30 +00:00
mattias
e633d0721b IDE: debugger options: check the resolved file, bug #22086
git-svn-id: trunk@37373 -
2012-05-21 08:37:05 +00:00
martin
c070b17f46 DBG: Fixed array len for 64 bit
git-svn-id: trunk@37368 -
2012-05-20 23:38:26 +00:00
martin
e3eb90decf DBG: extend watch-view window with a detailed view pane (inspect) for the selected value. based on issue #0021990 by Darius Blaszijk --- keep button enabled
git-svn-id: trunk@37260 -
2012-05-12 17:40:41 +00:00
martin
08be80ba31 DBG: extend watch-view window with a detailed view pane (inspect) for the selected value. based on issue #0021990 by Darius Blaszijk
git-svn-id: trunk@37259 -
2012-05-12 17:25:52 +00:00
martin
90421f39ec DBG: Inspect, allow to enter expression
git-svn-id: trunk@37253 -
2012-05-11 10:37:40 +00:00
martin
a8077ac2d8 DBG: Improve start-up to work with bug in gdb 7.4
git-svn-id: trunk@37234 -
2012-05-10 00:26:23 +00:00
martin
c742e08c1d DBG: Inspect window, improve scrolling
git-svn-id: trunk@37232 -
2012-05-09 14:28:42 +00:00
martin
d403a03802 DBG: Fix a possible crash in debugger (history). Issue #0021901
git-svn-id: trunk@37116 -
2012-04-30 21:24:36 +00:00
martin
6d77dc76e7 DBG: Watches, added inspect/evaluate to popup
git-svn-id: trunk@37107 -
2012-04-30 16:17:52 +00:00
martin
cac7a2cac5 DBG: Register Copy Name/Value to clipboard. Issue #0021860
git-svn-id: trunk@37106 -
2012-04-30 16:00:05 +00:00
martin
0ce265622c DBG: Watches Copy Name/Value to clipboard. Issue #0021860
git-svn-id: trunk@37105 -
2012-04-30 14:16:59 +00:00
martin
d5584e2893 DBG (via SSH): additional options for ssh, separate field to specify gdb
git-svn-id: trunk@37094 -
2012-04-29 21:05:21 +00:00
martin
c8398bb037 DBG: Testcase: fixed reading env-options
git-svn-id: trunk@37093 -
2012-04-29 19:01:09 +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
mattias
3068fe7d5d IDE: clean up
git-svn-id: trunk@37077 -
2012-04-29 10:25:45 +00:00
martin
0a35a31f1d DBG: Accept different line endings (#10, #13, #10#13, #13#10) issue #0021834. Requires rev 37026 #9baa5f827c
git-svn-id: trunk@37027 -
2012-04-25 19:46:34 +00:00
martin
9baa5f827c DBG: Prepare for different line endings. Issue #0021834
git-svn-id: trunk@37026 -
2012-04-25 19:46:21 +00:00
mattias
458181f496 IDE: recent/history lists: replaced case sensitive comparison with three types
git-svn-id: trunk@37020 -
2012-04-25 09:03:37 +00:00
maxim
1060d6f033 Fixed typo PrefferedSplitterX -> PreferredSplitterX throughout the code, spotted by Howard Page-Clark
git-svn-id: trunk@36912 -
2012-04-19 22:11:56 +00:00
martin
a56c51b330 DBG: Tests for environment
git-svn-id: trunk@36910 -
2012-04-19 14:12:26 +00:00
blikblum
177d1ee320 ide: fix selection painting of debugger eventlog colors list
git-svn-id: trunk@36772 -
2012-04-14 11:58:45 +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
846e04db20 IDE,lazbuild: use parsed compiler filename, make filename
git-svn-id: trunk@36681 -
2012-04-09 15:06:19 +00:00
juha
844e616738 IDE etc.: unify 3 dots in GUI string to have a space ( ...).
git-svn-id: trunk@36666 -
2012-04-09 08:24:59 +00:00
maxim
52d4d5a5c1 IDE: fixed editor tab position combobox items localization on Editor/Misc options page
git-svn-id: trunk@36552 -
2012-04-03 22:23:32 +00:00
martin
7ebaadc7bd Window Column, store pointer to resourcestring
git-svn-id: trunk@36509 -
2012-04-02 00:24:15 +00:00
martin
b356839d80 DBG: more LazLogger
git-svn-id: trunk@36431 -
2012-03-29 12:36:54 +00:00
martin
69c5e7d27f DBG: more checks on parentfp
git-svn-id: trunk@36404 -
2012-03-28 21:10:48 +00:00
martin
111eedbf93 DBG: add some checks on parentfp
git-svn-id: trunk@36402 -
2012-03-28 19:52:12 +00:00
juha
22c9cf054e IDE: unify some single word resource strings.
git-svn-id: trunk@36332 -
2012-03-25 19:10:21 +00:00
juha
8e71fa7c1a IDE: make lisClear to be used around in IDE.
git-svn-id: trunk@36329 -
2012-03-25 19:09:20 +00:00
martin
71d29ac07e DBG: watch dyn array, show some values
git-svn-id: trunk@36292 -
2012-03-24 17:38:22 +00:00
martin
1707017a5f DBG: more lazlogger (fix debugln for read)
git-svn-id: trunk@36290 -
2012-03-24 16:03:29 +00:00
martin
1c32c0e67a DBG: more lazlogger
git-svn-id: trunk@36281 -
2012-03-23 16:38:36 +00:00
mattias
9398fb166e IDE: clean up
git-svn-id: trunk@36278 -
2012-03-23 16:06:53 +00:00
zeljko
b7b0b37c30 Debugger: WatchesDlg, setted up Scrollbars to ssAutoBoth instead of ssBoth. issue #20230
git-svn-id: trunk@36259 -
2012-03-23 09:56:07 +00:00
martin
eda13d28d1 DBG: refactor,improve typecast-fixing (pointer needed for stabs)
git-svn-id: trunk@36224 -
2012-03-22 16:18:04 +00:00
martin
cfae3de029 DBG improved expression parsing, array[1]+array[2]
git-svn-id: trunk@36200 -
2012-03-21 23:11:01 +00:00
martin
7a72cee2cf DBG deal with spaces in watches
git-svn-id: trunk@36193 -
2012-03-21 19:13:34 +00:00
martin
b48cf43d34 DBG: Watches/Inspect, add auto typecast to instance class
git-svn-id: trunk@36175 -
2012-03-20 10:39:47 +00:00
martin
a4e1f89a1c DBG: deal with comma separated array index "a[1,2]" instead of "a[1][2]"
git-svn-id: trunk@36166 -
2012-03-19 14:53:56 +00:00
martin
9f02483e2e DBG: More verbose error messages
git-svn-id: trunk@36136 -
2012-03-17 20:19:42 +00:00
martin
9f6e6a8186 DBG: small refactor in start up brk code
git-svn-id: trunk@36121 -
2012-03-17 16:05:04 +00:00
martin
f3ec781aa4 DBG: Clean up
git-svn-id: trunk@36033 -
2012-03-15 14:46:33 +00:00
mattias
6cf24989e8 IDE: fixed warning
git-svn-id: trunk@36016 -
2012-03-14 23:18:01 +00:00
martin
7ac5a99deb DBG: Clean up
git-svn-id: trunk@36014 -
2012-03-14 21:31:25 +00:00
martin
1b462526b8 DBG: clean up, ProcessStopped is no longer called during startup. Mo meed to test for it
git-svn-id: trunk@36013 -
2012-03-14 21:30:19 +00:00
martin
9050fc84e6 GDB: added detection for missing symbols
git-svn-id: trunk@36011 -
2012-03-14 21:02:21 +00:00
martin
1ad7923e0c DBG: Clean up
git-svn-id: trunk@36009 -
2012-03-14 20:46:42 +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
409ca1a915 DBG/IDE only store changed column widths
git-svn-id: trunk@35579 -
2012-02-24 13:38:01 +00:00
mattias
9a01b383b3 IDE: less warnings
git-svn-id: trunk@35540 -
2012-02-21 19:04:30 +00:00
juha
a0fb17b27e IDE: Unite duplicate (single word) resourcestrings and name them consistently.
git-svn-id: trunk@35486 -
2012-02-19 15:50:48 +00:00
mattias
c0fa7b90ac IDE: fixed uninitialized result
git-svn-id: trunk@35452 -
2012-02-18 16:16:58 +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
martin
a012396166 DBG: move same debugln to LazLogger cmd-line config
git-svn-id: trunk@35341 -
2012-02-12 23:24:54 +00:00
martin
369017a0c5 DBG: move same debugln to LazLogger cmd-line config
git-svn-id: trunk@35339 -
2012-02-12 22:59:28 +00:00
martin
68e8da87aa DBG: move same debugln to LazLogger cmd-line config
git-svn-id: trunk@35336 -
2012-02-12 19:28:09 +00:00
juha
6b19f5e2aa IDE: inite resource strings for Undo, Redo, Cut, Copy and Paste
git-svn-id: trunk@35323 -
2012-02-12 14:35:42 +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
juha
c82d1b544d IDE: use resource lisAdd instead of lisCodeTemplAdd in many places.
git-svn-id: trunk@35320 -
2012-02-12 13:03:15 +00:00
martin
94bee9379a DBG: move same debugln to LazLogger cmd-line config
git-svn-id: trunk@35316 -
2012-02-11 22:06:10 +00:00
juha
b34b546678 Debugger: fixed compilation after public "Click()" was removed.
git-svn-id: trunk@35201 -
2012-02-07 07:30:52 +00:00
martin
476ec1506e DBG: improved startup; finding temp main break (set result)
git-svn-id: trunk@35043 -
2012-01-31 00:06:20 +00:00
martin
d082b36855 DBG: improved startup; finding temp main break
git-svn-id: trunk@35042 -
2012-01-30 19:02:13 +00:00
martin
50bff70654 DBG: improved startup; finding temp main break
git-svn-id: trunk@34990 -
2012-01-28 16:50:57 +00:00
martin
61b15c600b DBG: improved startup; finding temp main break
git-svn-id: trunk@34989 -
2012-01-28 16:24:07 +00:00
martin
e70ecef532 DBG: Tests
git-svn-id: trunk@34988 -
2012-01-28 15:30:45 +00:00
martin
59befe35c2 DBG: improved startup; finding temp main break
git-svn-id: trunk@34987 -
2012-01-28 15:30:32 +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
martin
7c28beab92 DBG: use entry point, over "main" breakpoint
git-svn-id: trunk@34923 -
2012-01-25 14:29:28 +00:00
martin
0807b46fe7 DBG: defer setting some of the internal breakpoints (exception/run-error)
git-svn-id: trunk@34921 -
2012-01-25 13:33:16 +00:00
martin
d6762411a1 DBG: defer setting some of the internal breakpoints (exception/run-error)
git-svn-id: trunk@34920 -
2012-01-25 13:26:33 +00:00
juha
4065155e57 Add ":" to some ToDo items.
git-svn-id: trunk@34862 -
2012-01-22 13:10:56 +00:00
martin
fbb3077190 DBG: use addR + named breakpoint in startup, in case of position independent exe. issue #0021106
git-svn-id: trunk@34811 -
2012-01-20 00:16:03 +00:00
martin
4f622019e2 DBG: minor refactor in startup
git-svn-id: trunk@34787 -
2012-01-18 21:53:04 +00:00
martin
3d9b8ae714 DBG: minor refactor in startup
git-svn-id: trunk@34786 -
2012-01-18 21:46:50 +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
juha
c3637f3879 Debugger: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34756 -
2012-01-15 23:50:22 +00:00
mattias
fcfc88b774 IDE: removed MainIDEIntf
git-svn-id: trunk@34648 -
2012-01-07 20:45:57 +00:00
martin
ff9fced537 DBG: popup for display formats for register.
git-svn-id: trunk@34324 -
2011-12-20 13:46:43 +00:00
martin
1296e6912f DBG: popup for display formats for register.
git-svn-id: trunk@34295 -
2011-12-19 22:24:08 +00:00
martin
53536ef36d DBG: remember display formats for register. based on patch from Bernd Kreuss
git-svn-id: trunk@34294 -
2011-12-19 22:23:26 +00:00
martin
eb7d5b66c7 DBG re-added LCLProc to uses
git-svn-id: trunk@34119 -
2011-12-11 22:52:22 +00:00
martin
a8101b9ee5 DBG fix unused units
git-svn-id: trunk@33798 -
2011-11-26 11:47:58 +00:00
martin
ce5c315627 DBG: Clean up (removed unused units)
git-svn-id: trunk@33797 -
2011-11-26 11:41:29 +00:00
martin
55e992a63a DBG: convert gdb filename for disassembler. Maybe issue #0020715
git-svn-id: trunk@33649 -
2011-11-20 18:25:49 +00:00
martin
97db2e450d DBG Pseudo-terminal: send user input immediately
git-svn-id: trunk@33612 -
2011-11-18 14:01:08 +00:00
juha
e05d507274 Revert r33558 #3a71f62ad3. Now GetTickCount returns DWord again so no range check error
git-svn-id: trunk@33566 -
2011-11-16 13:18:22 +00:00
juha
3a71f62ad3 Debugger: Fixed integer types to prevent a range check error. Issue #20691
git-svn-id: trunk@33558 -
2011-11-16 10:44:27 +00:00
martin
e2a50e024f DBG: Improve display of char accessed via index "s[1]". Show pchar and string based value, as detection is not possible.
git-svn-id: trunk@33517 -
2011-11-14 02:12:21 +00:00
martin
3a3cc95bce DBG: Improve display of char accessed via index "s[1]". Show pchar and string based value, as detection is not possible.
git-svn-id: trunk@33516 -
2011-11-14 02:00:30 +00:00
martin
59ecf5009a DBG: improved array index access for watches
git-svn-id: trunk@33507 -
2011-11-13 18:05:49 +00:00
martin
219935fe22 DBG: moved example gdb results out of the unit
git-svn-id: trunk@33414 -
2011-11-08 11:34:50 +00:00
martin
9af87b923e DBG: fixed a mem leak in array-index helper code
git-svn-id: trunk@33397 -
2011-11-07 13:32:42 +00:00
martin
38e322bc0f DBG: Jump to breakpoint: focus+highlight
git-svn-id: trunk@33396 -
2011-11-07 13:31:08 +00:00
maxim
979cfa1c70 GDBMIDebugger: improved localization, fixed typos
git-svn-id: trunk@33366 -
2011-11-06 12:44:22 +00:00
juha
c6b629a8cf IDE: set Enabled state of controls in debugger event log settings
git-svn-id: trunk@33353 -
2011-11-05 17:53:58 +00:00
martin
5001efe30e DBG: Fixed compilation, due to IFDEF (rev 33336 #2642e6a579)
git-svn-id: trunk@33339 -
2011-11-05 14:32:37 +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
a5b5ca1199 DBG: Fixed ThreadDlg. TThreadsDlg.ThreadsChanged was not protected against re-entrance, and could crash.
git-svn-id: trunk@33226 -
2011-11-02 17:52:16 +00:00
martin
7275997958 DBG: Fix mem leak in expression-eval (hint/inspect)
git-svn-id: trunk@33221 -
2011-11-02 16:03:29 +00:00
martin
f00bddfe80 DBG: Fix evaluation of base-classes. Don't eval the type
git-svn-id: trunk@33211 -
2011-11-02 01:26:38 +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
mattias
1c732c24ef IDE: code observer options: nicer layout
git-svn-id: trunk@33163 -
2011-10-30 09:27:27 +00:00
mattias
4e22228b6b IDE: clean up
git-svn-id: trunk@33162 -
2011-10-30 09:13:36 +00:00
martin
91818313c5 DBG: Setting groups to multiply selected breakpoints. Issue #0020478 / patch by Flávio Etrusco
git-svn-id: trunk@33160 -
2011-10-30 01:49:55 +00:00
martin
e225121fbe DBG: Tests
git-svn-id: trunk@33153 -
2011-10-29 18:22:13 +00:00
martin
cf6bb9af32 DBG: Improved watch eval for "array[x].foo", fix mem leak
git-svn-id: trunk@33152 -
2011-10-29 18:21:46 +00:00
martin
43ef33f4aa DBG: Improved watch eval for "array[x].foo", fix mem leak
git-svn-id: trunk@33136 -
2011-10-28 12:33:06 +00:00
martin
e1d0766fe6 DBG: Tests
git-svn-id: trunk@33109 -
2011-10-27 12:23:29 +00:00
martin
54b5c2b102 DBG: Improved watch eval for "array[x].foo"
git-svn-id: trunk@33108 -
2011-10-27 12:23:22 +00:00
martin
f991072664 DBG: added some feedback (debugln)
git-svn-id: trunk@33090 -
2011-10-26 14:26:14 +00:00
martin
c5a96ed67a DBG: tests
git-svn-id: trunk@32981 -
2011-10-19 13:21:03 +00:00
martin
eeb55bc54e DBG: Slightly more feedback on exceptions
git-svn-id: trunk@32964 -
2011-10-18 18:20:35 +00:00
martin
a58a76fc72 DBG: tests
git-svn-id: trunk@32963 -
2011-10-18 14:56:39 +00:00
martin
f3c0b96ec3 DBG: tests
git-svn-id: trunk@32953 -
2011-10-18 11:08:42 +00:00
martin
1fd34c798e DBG: logging
git-svn-id: trunk@32951 -
2011-10-18 00:10:00 +00:00
martin
235d156fab DBG: tests
git-svn-id: trunk@32950 -
2011-10-18 00:09:11 +00:00
martin
89558a4144 DBG: clean up
git-svn-id: trunk@32940 -
2011-10-17 10:31:17 +00:00
martin
350818083e DBG: timeout detection for breakpoint commands
git-svn-id: trunk@32938 -
2011-10-17 09:39:22 +00:00
martin
72acd39178 DBG: tests
git-svn-id: trunk@32929 -
2011-10-16 22:51:21 +00:00
martin
0ec0a215fb DBG: Fix pascalize pointer adding space into result of string (dwarf3)
git-svn-id: trunk@32925 -
2011-10-16 18:35:33 +00:00
martin
9a5be76311 DBG: tests
git-svn-id: trunk@32923 -
2011-10-16 14:16:31 +00:00
martin
f2951a1fd4 DBG: tests
git-svn-id: trunk@32922 -
2011-10-16 13:36:13 +00:00
martin
43e41c3974 DBG: lower default timeout on mac / combine up to 4 startup warnings into 1 (optional) warning
git-svn-id: trunk@32920 -
2011-10-16 12:06:04 +00:00
martin
f77855dddf DBG: tests
git-svn-id: trunk@32916 -
2011-10-15 22:06:04 +00:00
martin
39e5e43f9d DBG: tests
git-svn-id: trunk@32911 -
2011-10-15 17:50:06 +00:00
martin
e48afdd40c DBG: tests
git-svn-id: trunk@32906 -
2011-10-15 14:28:13 +00:00
martin
19fac2420e DBG: tests
git-svn-id: trunk@32905 -
2011-10-15 12:37:54 +00:00
martin
7fa752581c DBG: tests
git-svn-id: trunk@32894 -
2011-10-15 00:55:59 +00:00
martin
6a4928281a DBG: Callstack, show frames in assembler.
git-svn-id: trunk@32831 -
2011-10-12 01:26:11 +00:00
martin
5bdf949df0 DBG: User-Feedback for watchpoint errors
git-svn-id: trunk@32830 -
2011-10-11 23:24:09 +00:00
martin
a46dcdb4d8 DBG: User-Feedback for watchpoint errors
git-svn-id: trunk@32829 -
2011-10-11 23:15:55 +00:00
martin
03120971cf DBG: refactor GetBreakpointImage / Add images to breakpoint-dlg
git-svn-id: trunk@32827 -
2011-10-11 21:46:29 +00:00
martin
55247419c8 DBG: dis-assembler, fix back to short filename
git-svn-id: trunk@32813 -
2011-10-11 00:48:47 +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
f7688f9be6 DBG: Change scrolling in assembler win
git-svn-id: trunk@32806 -
2011-10-10 20:26:15 +00:00
martin
12e58e3bc1 DBG: Keep dsStop until sopping has finished
git-svn-id: trunk@32798 -
2011-10-10 12:29:18 +00:00
martin
bfd5aebbd4 DBG: Exception handling
git-svn-id: trunk@32794 -
2011-10-10 09:33:26 +00:00
martin
f9810a2611 DBG: Improved exception feedback
git-svn-id: trunk@32793 -
2011-10-09 22:35:49 +00:00
martin
876299b8d0 DBG: Refactor state handling
git-svn-id: trunk@32792 -
2011-10-09 20:20:28 +00:00
martin
93b79f2889 DBG: Refactor state handling
git-svn-id: trunk@32791 -
2011-10-09 18:41:03 +00:00
martin
064e148c79 DBG: Enable/Disable breakpoint groups
git-svn-id: trunk@32788 -
2011-10-09 17:06:44 +00:00
martin
5b3c4cf5f1 DBG: Ensure variable is initialized
git-svn-id: trunk@32787 -
2011-10-09 16:53:46 +00:00
martin
1bb16ace8f DBG: Enable/Disable breakpoint groups
git-svn-id: trunk@32785 -
2011-10-09 16:15:57 +00:00
martin
8068974afb DBG: Enable/Disable breakpoint groups
git-svn-id: trunk@32784 -
2011-10-09 15:52:06 +00:00
martin
6e2dfa27a3 DBG: auto continue on windows "DbgUiConvertStateChangeStructure"
git-svn-id: trunk@32779 -
2011-10-09 12:36:00 +00:00
martin
5fd3a7a645 DBG: do not open virtual unit twice.
git-svn-id: trunk@32724 -
2011-10-06 20:29:58 +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
martin
7a0aa74575 DBG: Tests
git-svn-id: trunk@32711 -
2011-10-06 00:34:44 +00:00
martin
40625a1fd1 DBG: Tests (fix freeing dbg)
git-svn-id: trunk@32710 -
2011-10-06 00:02:16 +00:00
martin
95501e8f43 DBG: Tests
git-svn-id: trunk@32709 -
2011-10-05 23:02:49 +00:00
martin
3068969731 DBG: Tests
git-svn-id: trunk@32708 -
2011-10-05 22:17:02 +00:00
martin
d85dcb1390 DBG: improved type-info parsing. (prepare for gw3)
git-svn-id: trunk@32707 -
2011-10-05 22:04:38 +00:00
maxim
817a369269 Components, converter, debugger, doceditor: third batch of TButtonPanel captions cleanup
git-svn-id: trunk@32664 -
2011-10-03 22:48:51 +00:00
martin
1adda67314 DBG: Tests
git-svn-id: trunk@32651 -
2011-10-03 12:00:59 +00:00
martin
9d45bfaa7e DBG: Tests
git-svn-id: trunk@32650 -
2011-10-03 11:35:34 +00:00
martin
fb05dea232 DBG: Added ability to finish single-step-into/over, after hitting none-breaking breakpoint
git-svn-id: trunk@32610 -
2011-10-01 22:30:12 +00:00
paul
5b7cad31b1 debugger: improve output of WideString and UnicodeString variables
git-svn-id: trunk@32457 -
2011-09-22 06:38:19 +00:00
martin
837fe09471 DBG: Disassembler, when having to guess, use an even address.
git-svn-id: trunk@32453 -
2011-09-21 18:41:42 +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
1df02ca4fc DBG: Fixed issue with variables from parent-nested-frames showing with prefix "error:"
git-svn-id: trunk@32437 -
2011-09-20 18:22:56 +00:00
martin
7666c75dd1 DBG: Fix inserting breakpoints (do not silently enter pause state), introduced in r 32414
git-svn-id: trunk@32432 -
2011-09-19 23:28:15 +00:00
martin
ce6ac1c77c DBG:: implement log expression-eval in breakpoint
git-svn-id: trunk@32431 -
2011-09-19 23:19:19 +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
4559a65564 DBG: Handling unexpected errors.
git-svn-id: trunk@32414 -
2011-09-19 00:51:25 +00:00
martin
0271730391 DBG: small fix in expression parser do not send empty expression)
git-svn-id: trunk@32411 -
2011-09-18 20:54:16 +00:00
martin
d65d00c3f7 DBG: Do not set breakpoints past end of unit. Issue #0020264 (fix, if spaces in part / do not fail if gdb returns error)
git-svn-id: trunk@32410 -
2011-09-18 18:40:05 +00:00
martin
d2497a764a DBG: Tests
git-svn-id: trunk@32406 -
2011-09-18 14:11:08 +00:00
martin
881e94e98d DBG: Do not set breakpoints past end of unit. Issue #0020264 (Thanks to Ludo Brands)
git-svn-id: trunk@32405 -
2011-09-18 14:08:09 +00:00
martin
26a6a97e57 DBG: More info/options on break for exception/run-error (missing file)
git-svn-id: trunk@32404 -
2011-09-18 13:01:48 +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
1cb835eb35 DBG: Improved: Cancel no longer required steps (continue next step)
git-svn-id: trunk@32392 -
2011-09-17 19:23:26 +00:00
martin
d7418bc9aa Dbg: Refactor nested-proc/parent-frame handling; fix nested proc, if not starting at top frame
git-svn-id: trunk@32391 -
2011-09-17 19:15:17 +00:00
martin
77825e7849 Dbg: Fix a race condition, nil pointer access
git-svn-id: trunk@32390 -
2011-09-17 17:43:15 +00:00
martin
4b91967012 DBG: Fixed, evaluating watches in correct stackframe after exception
git-svn-id: trunk@32388 -
2011-09-17 16:05:11 +00:00
martin
d0c22113e6 Debugger, Watches: Store column width
git-svn-id: trunk@32382 -
2011-09-17 13:25:19 +00:00
martin
63a6d0bb60 IDE, DBG: Starting on DebuggerConfigStorage
git-svn-id: trunk@32380 -
2011-09-17 11:32:32 +00:00
martin
c8ef9d5556 DBG: Improved, jumping to correct line, if source was changed
git-svn-id: trunk@32348 -
2011-09-15 11:40:05 +00:00
martin
c3fa344c51 DBG: gdb default locations for windows
git-svn-id: trunk@32341 -
2011-09-14 22:06:17 +00:00
martin
a7100b234c DBG: refactor unit location handling
git-svn-id: trunk@32335 -
2011-09-14 13:48:43 +00:00
martin
0b690c7859 DBG: clean up
git-svn-id: trunk@32286 -
2011-09-11 12:32:41 +00:00
martin
098864ad91 DBG: Improved handling for pseudo terminal
git-svn-id: trunk@32285 -
2011-09-11 12:32:13 +00:00
martin
a8a8065f62 DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32267 -
2011-09-10 20:45:37 +00:00
martin
4afba661fa DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32266 -
2011-09-10 20:41:03 +00:00
martin
7fe312098e DBG: Fixed error handling for pseudo terminal
git-svn-id: trunk@32265 -
2011-09-10 20:39:28 +00:00
martin
39c65700a2 DBG: Fixed dbg-event-log stack output
git-svn-id: trunk@32249 -
2011-09-10 06:57:18 +00:00
martin
cd4aa1aa02 DBG: Fix getting Exception Classname
git-svn-id: trunk@32233 -
2011-09-08 14:14:04 +00:00
martin
f51cb34f4d DBG: Tests (dir separator)
git-svn-id: trunk@32230 -
2011-09-08 12:45:23 +00:00
martin
261fb2afb4 DBG: auto-typecast for classes: fix double casts, and casts to self
git-svn-id: trunk@32229 -
2011-09-08 12:44:59 +00:00
martin
5216dca1ba DBG: start auto-typecast for classes
git-svn-id: trunk@32219 -
2011-09-08 00:44:46 +00:00
martin
4727f900a6 DBG: Test
git-svn-id: trunk@32218 -
2011-09-07 22:05:59 +00:00
martin
53990c23d4 GDB: Fix typecasting of objects. Stabs only; GDB 7.0 and up only. Issue #0019920
git-svn-id: trunk@32217 -
2011-09-07 22:05:50 +00:00
martin
ce19a79765 DBG: Test
git-svn-id: trunk@32206 -
2011-09-07 10:59:42 +00:00
martin
211843aa39 DBG: Fixed a race condition between gdb hitting breakpoint(or exception...) and value-evaluation request for hint => leading to debugger becoming none responsive (will wait infinite for gdb command result, which was read/discarded by hint)
git-svn-id: trunk@32200 -
2011-09-07 00:25:18 +00:00
martin
1c525dd53a DBG: Test
git-svn-id: trunk@32198 -
2011-09-06 22:55:21 +00:00
martin
13f01cf37b DBG: added cache for some gdb commands during watch eval
git-svn-id: trunk@32197 -
2011-09-06 22:53:29 +00:00
martin
1c12de3876 DBG: Removed deprecated test app
git-svn-id: trunk@32190 -
2011-09-05 20:51:05 +00:00
martin
e22fd7551a DBG: Tests
git-svn-id: trunk@32187 -
2011-09-05 18:17:13 +00:00
maxim
49c2dbf336 IDE: improved localization
git-svn-id: trunk@32177 -
2011-09-04 20:21:53 +00:00
martin
81ef864ae4 DBG: Quickfix: Assembler became permanently disabled, after debugger was reset
git-svn-id: trunk@32174 -
2011-09-03 21:23:56 +00:00
martin
fe76e1084a DBG, Disassembler: fixed button order to match main IDE
git-svn-id: trunk@32172 -
2011-09-03 20:33:34 +00:00
martin
10adb42b66 DBG: Unescape \t in asm
git-svn-id: trunk@32171 -
2011-09-03 19:47:53 +00:00
martin
0be62daad8 DBG: Tests
git-svn-id: trunk@32169 -
2011-09-03 14:02:16 +00:00
martin
1c2e8b3a95 DBG: Improve (pascalize) pointer, if DynArray shows as pointer
git-svn-id: trunk@32163 -
2011-09-02 23:35:27 +00:00
maxim
1e1d0db6f8 Debugger: improved localization strings
git-svn-id: trunk@32161 -
2011-09-02 23:16:00 +00:00
martin
d909440b1a DBG: Ensure Snapshot Watches are enabled
git-svn-id: trunk@32155 -
2011-09-02 14:16:03 +00:00
martin
d0d565f788 IDE, Options: Unifying Font-specification to only use Size, instead of mixing Size and Height. Issue #0017694 Patch by cobines
git-svn-id: trunk@32150 -
2011-09-01 21:54:33 +00:00
maxim
a18edbb6a2 Debugger: minor resourcestring fix
git-svn-id: trunk@32054 -
2011-08-25 22:52:03 +00:00
martin
bfdb46c6b6 DBG: Watches, fix loading watches keep enabled/disabled state / same if history is switched. Issue #0020050
git-svn-id: trunk@32048 -
2011-08-25 10:48:27 +00:00
martin
c325a7e547 Debugger: Disassembler: follow font settings of EditorOpts. issue #0020039 / requires rev 32046 #8bf8857a40
git-svn-id: trunk@32047 -
2011-08-25 01:01:58 +00:00
jesus
561307dda3 Fix compile with fpc trunk
git-svn-id: trunk@31947 -
2011-08-11 20:18:27 +00:00
martin
c2f34d7dc4 DBG: Testcases
git-svn-id: trunk@31908 -
2011-08-07 13:01:30 +00:00
martin
1ee93b1f0d Debugger: Fixed an issue, with freeing objects, on certain gdb errors
git-svn-id: trunk@31833 -
2011-07-30 23:51:26 +00:00
martin
53cbfeeba4 Debugger: Attempt to fix spaces in path for OSx, Issue #0018457
git-svn-id: trunk@31831 -
2011-07-30 17:45:56 +00:00
martin
b580436123 Remove Override Call-Convention, implementation was missing anyway
git-svn-id: trunk@31830 -
2011-07-30 16:44:04 +00:00
martin
c8400142fe DBG: History Import/Export
git-svn-id: trunk@31240 -
2011-06-15 13:46:12 +00:00
martin
f20eedc54a DBG: Fixed potential double execution of keys, if pressed in debug-windows. The key would be handled once via KeyDown, and a 2nd time as Menu-Click (if assigned to a menu item). Issue #0019561
git-svn-id: trunk@31234 -
2011-06-14 21:41:42 +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
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
2eba652c2b DBG: Disassembler, added pascal source, issue #0019446
git-svn-id: trunk@31177 -
2011-06-11 23:58:22 +00:00
martin
0479ee769d DBG: Fix occasional missing hex dump in disassembler
git-svn-id: trunk@31176 -
2011-06-11 23:56:25 +00:00
martin
82bf90e262 DBG: Fixed freeing cmd-queue
git-svn-id: trunk@31161 -
2011-06-11 00:02:29 +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
ad7eb43d19 GDB: Attempt to deal with broken output from GDB on Mac (accessed wrong Result var)
git-svn-id: trunk@31149 -
2011-06-09 23:49:04 +00:00
martin
ef7e38483d GDB: Attempt to deal with broken output from GDB on Mac
git-svn-id: trunk@31136 -
2011-06-08 15:12:46 +00:00
martin
9508284b75 GDB: Attempt to deal with broken output from GDB on Mac
git-svn-id: trunk@31135 -
2011-06-08 13:41:47 +00:00
martin
58dbddba3e DBG: Refactor, clean up
git-svn-id: trunk@31131 -
2011-06-08 00:46:39 +00:00
martin
be73e8a304 DBG: Make callstack window work, if threads fail
git-svn-id: trunk@31118 -
2011-06-06 11:24:28 +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
juha
de68f69051 IDE: harmonize Color/Colors resource strings
git-svn-id: trunk@30849 -
2011-05-22 09:37:36 +00:00
paul
0373bf91fd debugger: fix confirmation message for deletion of address breakpoint
git-svn-id: trunk@30824 -
2011-05-20 06:54:47 +00:00
martin
a168aea26f DBG: clean up (renamed identifier for clarification)
git-svn-id: trunk@30813 -
2011-05-19 17:26:56 +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
3ac04fa211 DBG: Refactor, move initialization to queue-able object
git-svn-id: trunk@30810 -
2011-05-19 15:00:26 +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
d3019b5e88 DBG: Fix parsing certain error msgs
git-svn-id: trunk@30795 -
2011-05-18 12:08:12 +00:00
martin
47eae4dc9c DBG: Refactor, move initialization to queue-able object
git-svn-id: trunk@30794 -
2011-05-18 11:35:19 +00:00
paul
a3fbf4b67c debugger: correct menu captions, assign captions to actions instead of menu items and toolbuttons
git-svn-id: trunk@30780 -
2011-05-17 01:49:52 +00:00
paul
6ea3da59db debugger: set shortcuts to call stack dialog popup menu items
git-svn-id: trunk@30779 -
2011-05-17 01:36:08 +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
paul
214609b97a debugger: watches dialog:
- don't allow treeview editing
  - use action shortcuts (primary + secondary) instead of keydown handler

git-svn-id: trunk@30753 -
2011-05-16 01:24:14 +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
maxim
e1a1402c12 Debugger, Event log options dialog: fixed comboboxes layout e.g. with GTK2 widgetset, where they can have arbitrary height
git-svn-id: trunk@30732 -
2011-05-14 12:14:00 +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
53aafb3215 debugger: rename action to match the meaning
git-svn-id: trunk@30718 -
2011-05-13 09:26:45 +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
17c7d5559e DBG: testcase updated
git-svn-id: trunk@30704 -
2011-05-12 20:03:59 +00:00
martin
bd7bdda224 DBG:t caseupdat
git-svn-id: trunk@30703 -
2011-05-12 20:01:11 +00:00
martin
ab031a532f DBG: Fix stackframe for exceptions (fix for rev 30699 #1d566ba504)
git-svn-id: trunk@30702 -
2011-05-12 19:30:17 +00:00
martin
1d566ba504 DBG: Refactor Master/Slave class structure (watches)
git-svn-id: trunk@30699 -
2011-05-12 18:47:54 +00:00
martin
fe9fa77307 DBG, Watches: Show errors for mem-dump evaluation
git-svn-id: trunk@30690 -
2011-05-12 10:09:22 +00:00
paul
364a8189ab debugger: start breakpoint log call stack feature
git-svn-id: trunk@30689 -
2011-05-12 07:42:31 +00:00
maxim
48a8ca19ef IDE: ellipsis cleanup and unification
git-svn-id: trunk@30684 -
2011-05-11 21:20:23 +00:00
paul
4ce0dd4aeb debugger: add popup menu for event log
git-svn-id: trunk@30680 -
2011-05-11 08:37:38 +00:00
paul
0fb8976945 ide: add dummy debugger options class make filtering IDE options work
git-svn-id: trunk@30679 -
2011-05-11 08:36:42 +00:00
paul
f1cd1cf62e debugger: use actions in breakpoints dialog instead of key handler, use hints, add shortcuts
git-svn-id: trunk@30677 -
2011-05-11 06:37:57 +00:00
paul
3053bea45c debugger: restore Addr property of TGDBMIDebuggerCommandBreakInser because address to set and actual address may differ
git-svn-id: trunk@30674 -
2011-05-11 03:17:32 +00:00
paul
f805a11b16 debugger: implement address breakpoints
git-svn-id: trunk@30673 -
2011-05-11 02:51:08 +00:00
paul
a6fc00143f debugger: preparation for address breakpoints
git-svn-id: trunk@30659 -
2011-05-10 14:37:44 +00:00
paul
8e156d3fca debugger: log OutputDebugString() messages
git-svn-id: trunk@30656 -
2011-05-10 07:07:42 +00:00
paul
ca906c31e1 debugger: select last event on event add
git-svn-id: trunk@30654 -
2011-05-10 06:17:54 +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
paul
21c357d3c8 debugger: move DoNotifyAsync to debugger class, parse thread events for event log
git-svn-id: trunk@30651 -
2011-05-10 01:43:35 +00:00
martin
40cd64d045 DBG: clean up: removed old method
git-svn-id: trunk@30635 -
2011-05-09 10:56:24 +00:00
martin
505c0a0e9b DBG: Refactor Master/Slave class structure (callstack)
git-svn-id: trunk@30629 -
2011-05-08 23:45:16 +00:00
paul
798a36c62e debugger: write thread group info near module load/unload, write about process start/exit in the event log
git-svn-id: trunk@30626 -
2011-05-08 17:42:23 +00:00
paul
cfcd9b26a1 debugger: improve module load/unload event log output
git-svn-id: trunk@30625 -
2011-05-08 16:34:39 +00:00
maxim
e510ee54a0 Debugger, Evaluate/Modify dialog: improved localization
git-svn-id: trunk@30623 -
2011-05-08 16:02:31 +00:00
paul
1f7970e2eb debugger: copy event text to clipboard in event log form when standard clipboard key combination is used
git-svn-id: trunk@30622 -
2011-05-08 15:53:18 +00:00
maxim
a0702e85bd Debugger, Breakpoint properties dialog: improved layout to fit longer captions
git-svn-id: trunk@30619 -
2011-05-08 15:29:09 +00:00
maxim
40ffcaa435 Debugger: tweaked Event log options frame layout to make it look better with longer event captions
git-svn-id: trunk@30618 -
2011-05-08 15:20:09 +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
martin
65907a7def DBG: undone rev 30583 #1785aedd19. Added different check for over-queued run-commands (do not run after stop)
git-svn-id: trunk@30595 -
2011-05-07 13:29:51 +00:00
martin
1785aedd19 DBG: Only queue one run-command at a time
git-svn-id: trunk@30583 -
2011-05-06 12:03:54 +00:00
martin
ae1000c02f DBG: Fix ProcessRunning to return optional result
git-svn-id: trunk@30582 -
2011-05-06 11:59:17 +00:00
martin
18ced75ab7 DBG: Handle failed breakpoints
git-svn-id: trunk@30580 -
2011-05-06 11:14:06 +00:00
martin
dcb11c1573 DBG: Thread dlg: fix type, address prefix is : not ;
git-svn-id: trunk@30576 -
2011-05-06 10:37:23 +00:00
zeljko
bfb3e89980 IDE: proper initialization of TextStyle in paintbox paint method.Now qt doesn't try to wordbreak lines
git-svn-id: trunk@30572 -
2011-05-06 09:53:02 +00:00
martin
c01ac77642 DBG: fix commit 30567 #ffbe3af869: Error handling by user was broken
git-svn-id: trunk@30571 -
2011-05-06 09:42:42 +00:00
martin
ffbe3af869 DBG: More error handling. error in step-over / terminate on error
git-svn-id: trunk@30567 -
2011-05-06 08:40:42 +00:00
martin
4348781a98 DBG: Added timeout to stop-command
git-svn-id: trunk@30562 -
2011-05-05 22:02:59 +00:00
maxim
97ebeeb97b Debugger, Breakpoint properties dialog: improved layout and localization
git-svn-id: trunk@30551 -
2011-05-04 22:39:56 +00:00
martin
3a9c073d32 DBG: fixed setting of break conditions
git-svn-id: trunk@30539 -
2011-05-03 09:27:13 +00:00
juha
cd0341fdde Debugger: Remove Windows unit added (by accident) in r30535 #82fa636bdc.
git-svn-id: trunk@30538 -
2011-05-03 09:23:04 +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
515fc71d92 DBG: Ensure queuing order for exec commands, must be hold until current exec is done; otherwise src-edit will show wrong locations
git-svn-id: trunk@30532 -
2011-05-02 18:16:24 +00:00
martin
aaff414d3e DBG: Limit search for exception frame
git-svn-id: trunk@30529 -
2011-05-02 17:35:43 +00:00
martin
478c782316 DBG: Improved timeout detection
git-svn-id: trunk@30520 -
2011-05-01 18:16:59 +00:00
martin
195d3727b7 DBG: Fixed max(qwoed, qword), some fpc versions do not compile it. issue #0019274
git-svn-id: trunk@30519 -
2011-05-01 17:03:08 +00:00
martin
d134d8df91 DBG: clear terminal on run
git-svn-id: trunk@30517 -
2011-05-01 16:35:25 +00:00
martin
eabbbd37a1 DBG: fixes for Disassembler
git-svn-id: trunk@30516 -
2011-05-01 14:37:34 +00:00
martin
5c02251e3c DBG: fixes for Disassembler
git-svn-id: trunk@30515 -
2011-05-01 14:34:36 +00:00
martin
3374fa1d8e DBG: Fixed a memory leak in watch evaluation. issue #0019089
git-svn-id: trunk@30513 -
2011-05-01 13:11:06 +00:00
martin
0866e743d5 DBG: Terminal: enable scrollbar
git-svn-id: trunk@30512 -
2011-05-01 11:55:54 +00:00
martin
e0c85150e9 DBG: Better time-out detection, time-out detection at startup, event-log time-outs, add config for warning dlg at time-out
git-svn-id: trunk@30508 -
2011-04-29 14:14:31 +00:00
martin
0bed6cbd7d DBG: tests
git-svn-id: trunk@30494 -
2011-04-28 12:30:44 +00:00
martin
45fc51696a DBG: register usage for win64 ABI
git-svn-id: trunk@30493 -
2011-04-27 18:49:07 +00:00
martin
33f168fcdb DBG: Fixes, do not send break-insert command if debugger is stopped. Improve clean up when stopping.
git-svn-id: trunk@30492 -
2011-04-27 18:36:38 +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
paul
1ee57a68c4 ide: change color treeview colors after their change in color boxes
git-svn-id: trunk@30485 -
2011-04-27 03:41:54 +00:00
paul
873771ca05 ide: add more controls to debugger event log options frame and implement simple logic
git-svn-id: trunk@30483 -
2011-04-27 03:20:09 +00:00
martin
fdd40dc1fc DBG: Fixed header for thread dlg
git-svn-id: trunk@30476 -
2011-04-26 08:07:22 +00:00
martin
580a85d184 DBG: Added Thread dialog
git-svn-id: trunk@30467 -
2011-04-25 11:17:47 +00:00
paul
aa6ce5e7cf debugger: fix Range check error (and also integer overflow on 64 bit)
git-svn-id: trunk@30460 -
2011-04-25 00:56:24 +00:00
maxim
58f490704b Debugger, Registers dialog: improved localization
git-svn-id: trunk@30450 -
2011-04-24 13:34:14 +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
7610fd1c2a DBG: Make timeout configurable, instead of compiletime-define. set default for mac
git-svn-id: trunk@30418 -
2011-04-21 18:17:28 +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
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
martin
f724c04b0b Debugger: Improve array watches / Improve tests
git-svn-id: trunk@30263 -
2011-04-11 01:28:29 +00:00
martin
e5b4a1fe86 DBG: fixed assertion
git-svn-id: trunk@30247 -
2011-04-08 18:25:52 +00:00
paul
b8276754f7 debugger: learn "pei-x86-64" file type
git-svn-id: trunk@30219 -
2011-04-06 07:18:34 +00:00
martin
4270e6f1e1 Debugger: Improved getting target info (pointer size, object-is-pointer)
git-svn-id: trunk@30181 -
2011-04-04 13:31:22 +00:00
martin
969d46d571 Debugger: Improved getting exception class/message
git-svn-id: trunk@30164 -
2011-04-04 00:16:51 +00:00
martin
80dbca5c93 DBG: Test, fix to work with latest IDE
git-svn-id: trunk@30162 -
2011-04-03 20:25:39 +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
juha
0712a1f29d IDE: Change 2 resourcestrings to the correct ones.
git-svn-id: trunk@29758 -
2011-03-09 08:13:30 +00:00
maxim
701c1213cf IDE: fixed several translation regressions by August Klein, bug #18893
git-svn-id: trunk@29751 -
2011-03-09 00:37:32 +00:00
martin
5151e1f9c5 DBG: Disassembler: fixed copy to clipboard
git-svn-id: trunk@29573 -
2011-02-16 12:06:52 +00:00
mattias
53680baba2 IDE: fixed compilation by breaking a unit circle
git-svn-id: trunk@29466 -
2011-02-11 15:29:27 +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
747167aaed DBG: Select the appropriate stack-frame for an exception Issue #0018662
git-svn-id: trunk@29400 -
2011-02-06 00:40:36 +00:00
mattias
c290e9f652 IDE: fixed case sensitivity of combobox history lists
git-svn-id: trunk@29154 -
2011-01-20 21:35:50 +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
b15353401b DBG: Disass, allow using left/right in addr-goto edit
git-svn-id: trunk@29055 -
2011-01-16 18:48:24 +00:00
martin
aa41d62c4f DBG: Fix crash in disassembler view
git-svn-id: trunk@29054 -
2011-01-16 18:45:07 +00:00
martin
7c5271b2f7 DBG: cleanup
git-svn-id: trunk@29052 -
2011-01-16 13:08:59 +00:00
martin
37b636f1c6 DBG: Refactored TypeInfo, better class support
git-svn-id: trunk@29038 -
2011-01-15 13:56:32 +00:00
martin
98571c5b6e Dbg: Tests
git-svn-id: trunk@29029 -
2011-01-15 11:23:11 +00:00
paul
1c3512e83c debugger: fix compilation under unix
git-svn-id: trunk@29024 -
2011-01-15 06:30:50 +00:00