Commit Graph

1445 Commits

Author SHA1 Message Date
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
martin
04bc7857b7 Dbg: Tests
git-svn-id: trunk@29023 -
2011-01-15 01:43:45 +00:00
martin
9ad9077475 Dbg: Tests
git-svn-id: trunk@29022 -
2011-01-15 01:32:56 +00:00
martin
75359f0f69 Dbg: Tests
git-svn-id: trunk@29019 -
2011-01-14 23:08:56 +00:00
martin
48b31d3357 DBG, Test: enhanced gdb runner app
git-svn-id: trunk@29016 -
2011-01-14 22:23:07 +00:00
martin
35f4b0edad DBG: Clean up
git-svn-id: trunk@29015 -
2011-01-14 22:18:19 +00:00
martin
b1e8f8b9e9 DBG: added configurable tty for console app
git-svn-id: trunk@29002 -
2011-01-13 19:32:42 +00:00
martin
f36c6193c8 Dbg: Tests
git-svn-id: trunk@28998 -
2011-01-13 16:54:40 +00:00
martin
3f3b8a3c89 Env-Opts, Dbg: Save debugger properties
git-svn-id: trunk@28997 -
2011-01-13 16:47:22 +00:00
martin
105bc4f759 DBG: prevent 2 double-clicks on stack entry, from opening the same file twice
git-svn-id: trunk@28982 -
2011-01-13 00:53:24 +00:00
martin
6e5ff4cb3e DBG: Fixed reading exception classname with fpc-trunk and dwarf
git-svn-id: trunk@28981 -
2011-01-13 00:26:28 +00:00
martin
5aefc8ac47 DBG: clean up
git-svn-id: trunk@28980 -
2011-01-12 22:41:09 +00:00
martin
a3107caf22 DBG: Tests
git-svn-id: trunk@28979 -
2011-01-12 22:36:21 +00:00
martin
b29a1ef5d5 DBG: Watches improved mem-dump for objects; improved pointers
git-svn-id: trunk@28978 -
2011-01-12 22:33:18 +00:00
martin
52fba94e89 DBG: added more tests for watches
git-svn-id: trunk@28941 -
2011-01-11 00:53:59 +00:00
martin
8cdcd7f1ea DBG: Show watches, if watch added from eval-dlg. Issue #0018347 Patch by Anton
git-svn-id: trunk@28937 -
2011-01-10 14:05:04 +00:00
martin
03fe9688fa DBG: Show watches first, then update
git-svn-id: trunk@28935 -
2011-01-10 14:03:38 +00:00
martin
6f92e70b9d DBG, missing file for test
git-svn-id: trunk@28927 -
2011-01-10 01:16:00 +00:00
martin
cea1fb0eff DBG: Refactored gdb-type parsing
git-svn-id: trunk@28926 -
2011-01-10 01:11:25 +00:00
martin
36d4591e7e DBG: tests
git-svn-id: trunk@28875 -
2011-01-06 16:30:42 +00:00
marc
ca330915bc * Enable AddWatch
git-svn-id: trunk@28801 -
2010-12-22 10:31:31 +00:00
martin
ea9d796ce5 DBG: fix potential range check
git-svn-id: trunk@28789 -
2010-12-20 11:12:04 +00:00
martin
3dffaaee76 DBG: Try to stop immediately, if requested (rather than waiting for ProcessMessages to finish. fixes issue #0013564
git-svn-id: trunk@28769 -
2010-12-19 17:34:58 +00:00
martin
31a577968d DBG: Improved reaction speed during debugging (locals, register, disass,...)
Added some comments on how typeionfo is derived 

git-svn-id: trunk@28766 -
2010-12-18 20:52:54 +00:00
martin
3fe0875dfb DBG: Improved reaction speed during debugging (now watches evaluation can be stopped, if user wants to continue stepping/running)
git-svn-id: trunk@28763 -
2010-12-18 16:11:39 +00:00
martin
0ab22c4b2d DBG: Improved reaction speed during debugging (now watches evaluation can be stopped, if user wants to continue stepping/running)
git-svn-id: trunk@28762 -
2010-12-18 15:57:19 +00:00
martin
c622f827ef GDB: reduced the amount of parentfp calls needed by watches
git-svn-id: trunk@28755 -
2010-12-18 04:07:28 +00:00
martin
c3f314bb44 DBG: update locals and watches, if user modified variable
git-svn-id: trunk@28754 -
2010-12-18 02:22:30 +00:00
martin
5a9a59f74e DBG: Improved getting strings (recent gdb return the data, immediate, no need to fetch again
git-svn-id: trunk@28753 -
2010-12-18 01:54:57 +00:00
martin
3393fc6278 DBG:result being checked.
git-svn-id: trunk@28737 -
2010-12-17 03:12:45 +00:00
martin
7e077f0e18 DBG: protect dialog actions against re-entrance
git-svn-id: trunk@28736 -
2010-12-17 01:46:36 +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
a52df4f32a DBG: fixed display of a=b" watches
git-svn-id: trunk@28734 -
2010-12-16 23:48:42 +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
e4121d2b0b DBG: improved display of watches
git-svn-id: trunk@28725 -
2010-12-16 01:43:28 +00:00
martin
562432af1c DBG: Improve display of var-param in watches
git-svn-id: trunk@28713 -
2010-12-14 19:14:15 +00:00
martin
42ff964f3b DBG: tests, better appdir detection (including Mac App bundle)
git-svn-id: trunk@28660 -
2010-12-09 21:21:27 +00:00
martin
f348fe1d0f DBG: tests, better appdir detection
git-svn-id: trunk@28659 -
2010-12-09 20:43:41 +00:00
martin
9505743f20 DBG: More tests
git-svn-id: trunk@28656 -
2010-12-09 01:29:08 +00:00
martin
b85a048745 DBG: More tests
git-svn-id: trunk@28653 -
2010-12-08 21:21:29 +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
3140a7ebc4 DBG: More TimeOut workarounds
git-svn-id: trunk@28644 -
2010-12-07 22:30:18 +00:00
martin
4ffb60a9e7 DBG: Starting testcase for exception handling
git-svn-id: trunk@28642 -
2010-12-07 03:23:47 +00:00
martin
a032b2d37f DBG: Starting testcase for exception handling
git-svn-id: trunk@28641 -
2010-12-07 03:16:08 +00:00
martin
f65de69416 DBG: improved detection of TargetPtrSize and CPU / Improved reading ClassName
git-svn-id: trunk@28640 -
2010-12-06 18:54:43 +00:00
maxim
9ca92e0292 Debugger: localized Assembler dialog caption
git-svn-id: trunk@28628 -
2010-12-05 14:15:48 +00:00
martin
dee564645a DBG: make tool windows
git-svn-id: trunk@28621 -
2010-12-04 19:34:21 +00:00
martin
b5b1b4542d DBG: Add tool bar to Dis-Assembler window
git-svn-id: trunk@28620 -
2010-12-04 18:40:30 +00:00
martin
6cee875ace DBG: pid with gdb7.1 on Mac 32 bit
git-svn-id: trunk@28617 -
2010-12-04 14:14:05 +00:00
martin
22e4034da0 DBG: Fixed warning due to unset result
git-svn-id: trunk@28615 -
2010-12-04 01:29:54 +00:00
martin
ffc3ed5480 DBG: Fix loading lpr file when running app under gdb. issue #18097
git-svn-id: trunk@28551 -
2010-11-28 23:33:05 +00:00
martin
732d614598 DBG: Fixed function result forwarding
git-svn-id: trunk@28507 -
2010-11-27 12:10:06 +00:00
martin
343365de24 DBG: some fixes -dDEB_WITH_TIMEOUT
git-svn-id: trunk@28505 -
2010-11-26 21:36:30 +00:00
martin
62e56cbbf3 DBG: Fixed Callstack power mode
git-svn-id: trunk@28504 -
2010-11-26 21:24:15 +00:00
martin
f4532d9046 DBG: fixed call for -dDEB_WITH_TIMEOUT
git-svn-id: trunk@28503 -
2010-11-26 18:41:53 +00:00
paul
dfb2151cf4 debugger: set border to some of windows to bsSizeToolWin
git-svn-id: trunk@28502 -
2010-11-26 15:39:03 +00:00
martin
23252ff1fe DBG: Fix GetTickCound on unix
git-svn-id: trunk@28497 -
2010-11-26 11:33:06 +00:00
martin
659adf9c29 DBG: Fix GetTickCound on unix
git-svn-id: trunk@28496 -
2010-11-26 11:29:19 +00:00
martin
07c762d4a0 DBG: added framework for handling timeout (not active by default)
git-svn-id: trunk@28495 -
2010-11-26 10:25:14 +00:00
martin
03709534ab DBG: added framework for handling timeout (not active by default)
git-svn-id: trunk@28494 -
2010-11-26 10:21:37 +00:00
paul
4fa3fa60e0 ide: remove first portion of unneeded debugger images
git-svn-id: trunk@28491 -
2010-11-26 08:56:49 +00:00
martin
32c1d8856a DBG: Reset Watches if debugger stops. Issue #16095
git-svn-id: trunk@28490 -
2010-11-26 00:32:45 +00:00
maxim
d62eac51da Debugger, Watch properties dialog: improve layout with respect to localization
git-svn-id: trunk@28487 -
2010-11-25 23:53:25 +00:00
martin
b78c74b844 DBG: added toolbars to some of the dbg dialogs
git-svn-id: trunk@28486 -
2010-11-25 23:26: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
mattias
d4249c0b3a LCL: clean up
git-svn-id: trunk@28400 -
2010-11-22 10:33:14 +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
05ac0535fa DBG: Refactor Locals (more usage of new queue)
git-svn-id: trunk@28381 -
2010-11-21 22:12:50 +00:00
martin
2d1c6a8e08 DBG: AssemblerDlg, fix a out of range access
git-svn-id: trunk@28380 -
2010-11-21 21:04:16 +00:00
martin
9966f617f4 DBG: Refactor: Moved StartDebugger code to object queue
git-svn-id: trunk@28379 -
2010-11-21 19:59:22 +00:00
martin
a37ee03544 DBG: Assembler, fix a range check
git-svn-id: trunk@28378 -
2010-11-21 14:45:36 +00:00
martin
aa572c8941 DBG: Always set pause state, if stopped, even if the reaon is not in the list
git-svn-id: trunk@28377 -
2010-11-21 02:34:51 +00:00
martin
0c071df579 DBG: Assembler, improvements
git-svn-id: trunk@28376 -
2010-11-21 01:15:26 +00:00
martin
db375daf4f DBG: Reduce the amount of data dumped in DBG_VERBOSE mode
git-svn-id: trunk@28375 -
2010-11-20 21:24:44 +00:00
martin
25abe82bd4 GDB: more refactor for disassembler
git-svn-id: trunk@28374 -
2010-11-20 20:44:02 +00:00
martin
dee17fe6e4 DBG: Refactor Disassembler
git-svn-id: trunk@28360 -
2010-11-20 00:33:38 +00:00
martin
594f4eb14b DBG: Parse filenames returned by gdb for escape sequences
git-svn-id: trunk@28354 -
2010-11-19 22:24:54 +00:00
martin
615a8734ce DBG: obey Begin/EndUpdate before attempting to execute brk-point commands
git-svn-id: trunk@28333 -
2010-11-19 00:09:55 +00:00
martin
c6b9d961c1 DBG: slightly reduce overhead in shutdown
git-svn-id: trunk@28330 -
2010-11-18 21:20:02 +00:00
martin
bbf6ccc85b DBG: fixed updating breakpoints (last commit)
git-svn-id: trunk@28327 -
2010-11-18 19:09:35 +00:00
martin
1416e485de DBG: Refactor (new queue system), move breakpoints to use CommandObject / fix left-behind breakpoint on too fast user action / added re-enter safety to new queue system
git-svn-id: trunk@28323 -
2010-11-18 18:38:26 +00:00
martin
c6a4b465a2 DBG: Cleanup
git-svn-id: trunk@28316 -
2010-11-18 12:22:02 +00:00
martin
e43490c669 DBG: Cleanup (removed unused, left overs)
git-svn-id: trunk@28303 -
2010-11-17 23:58:40 +00:00
martin
36f1fbe7c7 DBG: Cleanup (removed unused, left overs)
git-svn-id: trunk@28302 -
2010-11-17 23:47:15 +00:00
martin
e16d7a8322 DBG: Fixed compile on non windows (missing ifdef)
git-svn-id: trunk@28301 -
2010-11-17 22:58:03 +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
cad3f53849 DBD: Improve queue lock handling
git-svn-id: trunk@28295 -
2010-11-17 16:57:52 +00:00
martin
dbe453329d DBG: Refactor (new queue system), move all -exec-* commands to a separate CommandObject
git-svn-id: trunk@28294 -
2010-11-17 13:42:31 +00:00
martin
2a9bc33e49 DBg: Disassembler, handle unreadable blocks / fix endless loop
git-svn-id: trunk@28275 -
2010-11-16 15:54:56 +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
4642d7c179 DBg: Disassembler, don't request with outdated address
git-svn-id: trunk@28272 -
2010-11-16 15:26:45 +00:00
martin
2228bf61f3 DBg: Disassembler, show all changes of src-info
git-svn-id: trunk@28264 -
2010-11-16 03:14:01 +00:00
martin
c60d4f0b6f DBG: Disassembler Make sure we retrieve complete src-info
Watches: Fix Mem leak

git-svn-id: trunk@28263 -
2010-11-16 03:11:54 +00:00
martin
8a9ae3f278 DBG: disassembler, changed(fixed) prefetch policy
git-svn-id: trunk@28260 -
2010-11-16 01:42:08 +00:00
martin
d8e607cb2e DBG: Fix Disassembler results
git-svn-id: trunk@28259 -
2010-11-16 01:41:32 +00:00
martin
fc0fb43e9d DBG: Assembler-View: Fixed crash after resting (destroy) debugger
git-svn-id: trunk@28257 -
2010-11-15 22:51:36 +00:00
martin
8e1f7a799e DBG: prevent a range check error
git-svn-id: trunk@28256 -
2010-11-15 21:53:08 +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
1ab431705c Debugger: added some fail-safety for destruction
git-svn-id: trunk@28254 -
2010-11-15 21:42:50 +00:00
martin
14b597be41 DBG: added debugln/verbose for breakpoints
git-svn-id: trunk@28253 -
2010-11-15 19:39:26 +00:00
martin
b467185a27 DBG: clean up define name
git-svn-id: trunk@28251 -
2010-11-15 18:32:34 +00:00
martin
624c9a9db4 debugger: disassembler, Allow copy to clipboard
git-svn-id: trunk@28238 -
2010-11-15 02:09:28 +00:00
martin
74c0ce2bb6 debugger: disassembler,Fixed missing mem-dump
git-svn-id: trunk@28236 -
2010-11-15 00:02:10 +00:00
martin
ddc9a46f1b debugger: disassembler, fix display of top line
git-svn-id: trunk@28235 -
2010-11-14 23:51:59 +00:00
martin
c2f5f8d325 debugger: disassembler, small optimizations
git-svn-id: trunk@28234 -
2010-11-14 23:50:41 +00:00
martin
334c21803e debugger: disassembler, take care of unordered gdb results
git-svn-id: trunk@28233 -
2010-11-14 23:01:39 +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
21aade180b Debugger: a bit reduced debugln-output.
git-svn-id: trunk@28216 -
2010-11-14 18:12:01 +00:00
martin
2be63ddc61 Debugger: a bit reduced debugln-output.
git-svn-id: trunk@28215 -
2010-11-14 18:09:20 +00:00
martin
ac81ace9f1 Debugger: Adding more debugln-output. / Fixed last rev
git-svn-id: trunk@28213 -
2010-11-14 17:53:22 +00:00
martin
b817142e8e Debugger: Adding more debugln-output. Added some exception handling, Adding handling unknown breakpoint
git-svn-id: trunk@28212 -
2010-11-14 17:47:31 +00:00
martin
66cb4ebd4f Debugger: verbosity
git-svn-id: trunk@28203 -
2010-11-13 18:03:47 +00:00
martin
7f9a7d957e Debugger use StrToQWord for 64bit / based on patch by Willibald Krenn / issue #17645
git-svn-id: trunk@28168 -
2010-11-09 17:48:05 +00:00
martin
2ef911ad23 Debugger: Refactor start some -exec-* commands to use object-queue, and callback.
git-svn-id: trunk@28167 -
2010-11-09 17:07:47 +00:00
martin
3f0760fa6b Debugger: fix crash from rev 28163 #aac97933fc
git-svn-id: trunk@28166 -
2010-11-09 16:50:23 +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
f43c3d1df7 Debugger: more verbos debugln
git-svn-id: trunk@28161 -
2010-11-09 10:21:54 +00:00
martin
04e116067a Debugger: do not report "thread-group-added" as initialization output
git-svn-id: trunk@28156 -
2010-11-08 16:18:37 +00:00
martin
f77062d277 Debugger: Refactor Registers to use object-queue, and callback. Fixes issue #0017148
git-svn-id: trunk@28138 -
2010-11-08 00:16:23 +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
59ec780075 Allow "enter" in stack frames to trigger jump to source. Issue #16894
git-svn-id: trunk@28044 -
2010-11-02 21:24:31 +00:00
mattias
39f58d48bc IDE: fixed compilation
git-svn-id: trunk@28035 -
2010-11-02 08:32:15 +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
493e7f67a5 Debugger: Refactor moved locking
git-svn-id: trunk@28024 -
2010-11-01 12:39:22 +00:00
martin
a52bb3e7d7 Debugger: Refactor Locals to use object-queue, and callback. Partly fixes issue #0017619 (note 0041774 (watch list sometimes empty))
git-svn-id: trunk@28018 -
2010-11-01 03:49:49 +00:00
martin
176c53ef8e Debugger: Refactor Watches to use object-queue, and callback. Partly fixes issue #0017619 (note 0041774 (watch list sometimes empty))
git-svn-id: trunk@28017 -
2010-11-01 01:18:00 +00:00
martin
b344e702ad Debugger: refactor for queuing command-objects: moved GDBEvaluate into object; pulled some other functions to CommandObjects
git-svn-id: trunk@28015 -
2010-10-31 22:19:49 +00:00
martin
10dadac967 Debugger: refactor added OnExecuted
git-svn-id: trunk@28014 -
2010-10-31 18:07:21 +00:00
martin
f83fa9f0ae Debugger: initial refactor for queuing command-objects
git-svn-id: trunk@28013 -
2010-10-31 17:49:06 +00:00
mattias
ea891beeed IDE: fixed break point dlg layout
git-svn-id: trunk@28007 -
2010-10-31 11:20:11 +00:00
marc
b3363f56a1 * Use 64bit conversion of debug adresses. Patch #0017679 by Juha Manninen
git-svn-id: trunk@27818 -
2010-10-23 15:54:55 +00:00
martin
c804b045c2 Debugger: Callstack, do not hide selection
git-svn-id: trunk@27811 -
2010-10-22 12:53:08 +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
jesus
3290f05d67 Debugger, was returning UnicodeStrings as uppercase
git-svn-id: trunk@27348 -
2010-09-13 18:50:39 +00:00
mattias
dc78f11aef fixed typo cant
git-svn-id: trunk@27305 -
2010-09-11 14:06:32 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
martin
4525c8beda DebuggeR: Fix a range check, when clearing a condition
git-svn-id: trunk@27089 -
2010-08-13 11:34:37 +00:00
mattias
d3572806a8 anchordocking: undock on close, bug #16936
git-svn-id: trunk@26715 -
2010-07-17 12:25:52 +00:00
mattias
1ee3d6dcf4 IDEIntf: moved TSimpleIDEWindowLayout to IDEWindowCreators
git-svn-id: trunk@26201 -
2010-06-20 10:45:52 +00:00
mattias
e7db0d5bcd IDE: moved todolist to package, todo list for packages needs to be done
git-svn-id: trunk@26151 -
2010-06-16 11:53:34 +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
mattias
02573ad6a6 IDE: clean up
git-svn-id: trunk@25943 -
2010-06-06 07:27:44 +00:00
mattias
d18d9a1205 IDEIntf: started TIDEWindowDefaultLayout
git-svn-id: trunk@25573 -
2010-05-22 10:59:28 +00:00
marc
07e6bb0f2b * Dbg: Added debug expressions. Modyfied patch #16474 by Flavio Etrusco
* Dbg: Improved pascal to gdb string conversion, so valid gdb strings will 
       be used for breakpoint expresions and string modification
* Dbg: some cleanup

git-svn-id: trunk@25523 -
2010-05-19 23:28:46 +00:00
mattias
e7a23e60aa IDE: ssh debugger note: worwrap, bug #16444
git-svn-id: trunk@25381 -
2010-05-13 18:29:46 +00:00
mattias
88fada8125 IDE: added resourcestrings
git-svn-id: trunk@25380 -
2010-05-13 18:27:06 +00:00
maxim
b9e0694773 Debugger: improve 'event log' options tab layout
git-svn-id: trunk@24837 -
2010-04-22 23:13:39 +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
paul
f10f9aec82 ide: use TDBGEventCategory enumeration instead of own
git-svn-id: trunk@24772 -
2010-04-21 00:46:07 +00:00
paul
c9f5fd7573 ide: fix event log options frame layout
git-svn-id: trunk@24771 -
2010-04-21 00:37:22 +00:00
marc
8e5361c254 * debugger: moved FormCreate/Destroy code to constructor/destructor since debugmanager uses OnDestroy itself
git-svn-id: trunk@24605 -
2010-04-12 21:37:19 +00:00
marc
2169adb7d8 * debug: fixed 64bit compilation
* some new code cleanup

git-svn-id: trunk@24582 -
2010-04-11 15:51:54 +00:00
marc
3e10dd5404 * debug: implemented dispay of debugevents. patch #16148 by Flavio Etrusco
git-svn-id: trunk@24577 -
2010-04-11 14:11:47 +00:00
mattias
d0954af332 IDE: breakpointsproperties dlg: buttonpanel does not support Align=alNone
git-svn-id: trunk@24573 -
2010-04-11 08:59:51 +00:00
mattias
cbcaf635e4 LCL: TButtonPanel: fixed updating size after changing bounds, small optimizations
git-svn-id: trunk@24572 -
2010-04-11 08:58:36 +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
marc
e2275307da *debugger: Strip CR/FL from expressions. Fixes #16232
git-svn-id: trunk@24559 -
2010-04-10 17:26:28 +00:00
martin
b487f853cc Debugger: Refactor moved SourceLine to TIDEBreakPoint
git-svn-id: trunk@24556 -
2010-04-10 17:05:18 +00:00
marc
24bd03d778 * Debugger: Strip LineEnd when scanning debugger output
git-svn-id: trunk@24481 -
2010-04-06 23:23:40 +00:00
marc
02601577f5 * Debugger: fixed line-end search, issue #16155
git-svn-id: trunk@24479 -
2010-04-06 22:28:18 +00:00
marc
a8ebc175cf * Debugger - Evaluatedialog: Add watches enabled instead of disabled
git-svn-id: trunk@24321 -
2010-03-31 21:49:44 +00:00
vincents
4db9abe180 debugtest program: fixed some more compilation errors, but still doesn't compile
git-svn-id: trunk@23967 -
2010-03-12 16:04:05 +00:00
vincents
685987a64a debugtest program:
+ added .lpi to store dependencies
* fixed some compilation errors (15759)

git-svn-id: trunk@23962 -
2010-03-12 09:44:36 +00:00
mattias
7ad2458914 IDE: improved layout callstack window
git-svn-id: trunk@23954 -
2010-03-11 21:04:06 +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
mattias
8c970975ee IDE: clean up
git-svn-id: trunk@23766 -
2010-02-23 10:56:09 +00:00
marc
42bd813626 * Debugger: Try to set pending breakpoints if supported by gdb.
git-svn-id: trunk@23747 -
2010-02-20 00:02:50 +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
mattias
acbf15f1ab IDE: clean up
git-svn-id: trunk@23667 -
2010-02-09 13:38:10 +00:00
dmitry
dc4551665f debugger: fix for launching apps with spaces in their path by Marc Weustink
git-svn-id: trunk@23483 -
2010-01-18 14:20:38 +00:00
paul
4b44711f54 debugger: convert forms to use fpc resources
git-svn-id: trunk@23459 -
2010-01-15 02:41:46 +00:00
marc
2ccb6663ac * Debugger: Fix PID detection on OSX 10.6. Fixes #0014588
git-svn-id: trunk@23192 -
2009-12-18 23:28:58 +00:00
paul
8469b98fc7 ide: try full file name first in the call stack window when user jumps to the source location
git-svn-id: trunk@23081 -
2009-12-11 03:06:40 +00:00
paul
55f665674a debugger: format output of generic pointer
git-svn-id: trunk@23059 -
2009-12-10 08:07:17 +00:00
paul
97417872d9 lazarus: fix bug with execution marks map creation
git-svn-id: trunk@23055 -
2009-12-10 03:03:07 +00:00
paul
3e41146e8d debugger: change pointer representation for classes from ^TSomeClass $1b4cd to ^TSomeClass($0001B4CD)
git-svn-id: trunk@23047 -
2009-12-09 09:10:24 +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
mattias
d287e85ce6 IDE: debugger options: added label for hint that the exceptions are project specific
git-svn-id: trunk@23026 -
2009-12-08 12:24:50 +00:00
paul
81c487bc7c debugger: simplify output for ^char values
git-svn-id: trunk@23006 -
2009-12-06 16:10:59 +00:00
paul
fdb1f1236c debugger: treat ShortString type as skSimple type, reduce amount of hacks for ShortString handling
git-svn-id: trunk@23005 -
2009-12-06 16:04:49 +00:00
paul
12a6edefa1 debugger: fill TDBGType.Value.AsString for Variant data type
git-svn-id: trunk@23004 -
2009-12-06 15:46:19 +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
68bc1dda1d debugger: evaluate record &ShortString correctly
git-svn-id: trunk@23001 -
2009-12-06 12:31:15 +00:00
paul
27437b5eaa debugger: the same for 'SHORTSTRING' (stabs reports it so)
git-svn-id: trunk@22992 -
2009-12-06 06:24:04 +00:00
paul
bd0aefe8b1 debugger: show Variant and ShortString type as simple value instead of record
git-svn-id: trunk@22991 -
2009-12-06 06:19:18 +00:00
paul
dc5c58c871 debugger: don't show 'record ShortString' for shortstrings since this is debug info implementation details
git-svn-id: trunk@22990 -
2009-12-06 06:17:30 +00:00
paul
2fd2eb30f1 debugger + ide: Inspect dialogs:
- add "Inspect..." menu item to the source editor debugger group
  - fix alt+F5 key combination (was crash)
  - don't access debugger directly from Inspect dialog since it cause a crash when debugger is not active. use debugboss method instead
  - move evaluate dialog initialization to InitEvaluateDlg method

git-svn-id: trunk@22987 -
2009-12-06 06:02:12 +00:00
paul
d80a143fad debugger: fix $eax cast to Exception class when dwarf debug info is used
git-svn-id: trunk@22979 -
2009-12-05 20:23:35 +00:00
paul
3d7d4767d6 debugger: use target pointer size instead of IDE pointer size for the variant pointers output
git-svn-id: trunk@22975 -
2009-12-05 16:39:14 +00:00
paul
1eb2d6cc7f debugger: output correct values for IUnknown, IDispatch and HResult variant sub-types
git-svn-id: trunk@22971 -
2009-12-05 04:28:46 +00:00
paul
4aacf46d20 debugger: treat 'VARIANT' the same as 'Variant'
git-svn-id: trunk@22967 -
2009-12-04 17:31:11 +00:00
paul
d973922915 debugger: correctly output currency values
git-svn-id: trunk@22964 -
2009-12-04 15:15:21 +00:00
paul
378fa711b4 debugger: show variant array type on varArray variant evaluation
git-svn-id: trunk@22960 -
2009-12-04 14:33:19 +00:00
paul
9d023d97f7 debugger: - fix previously introduced error with space trimming (not everything was trimmed)
- better variant type support:
  - null, unassigned
  - support barByRef

git-svn-id: trunk@22959 -
2009-12-04 14:08:35 +00:00
paul
f437016542 debugger: use fullname if available
git-svn-id: trunk@22956 -
2009-12-04 11:34:47 +00:00