Commit Graph

457 Commits

Author SHA1 Message Date
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
paul
c9cea59735 debugger: show Variant values
git-svn-id: trunk@22953 -
2009-12-04 08:18:19 +00:00
paul
72ac7c6fc2 ide: debugger type combobox can't be edited
git-svn-id: trunk@22597 -
2009-11-15 13:58:44 +00:00
marc
2b723e68d2 * formatting & typo
git-svn-id: trunk@22539 -
2009-11-11 23:35:12 +00:00
marc
03d44b6c7a * base lineheight on TextMetric instead of font height
git-svn-id: trunk@22538 -
2009-11-11 23:32:30 +00:00
paul
a19fadb902 debugger: fix setting breakpoints for internal fpc functions when rtl has the debug info (fixes exception handling problems) made by instructions of Marc
git-svn-id: trunk@22529 -
2009-11-11 13:06:17 +00:00
marc
f90aca978c Patch by JoshyFun (modified)
* Moved TGDBtype to TDBGtype, so it can be used in general to return expression typeinfo
* Changed inspect dialog to use this typeinfo
* display evaluation result on multiple lines

git-svn-id: trunk@22348 -
2009-10-30 00:02:38 +00:00
marc
bce54d0455 + Added extra gdb startup options, patch #0014866 by DRIGUS GmbH
* to bo done: store this property

git-svn-id: trunk@22267 -
2009-10-22 22:32:22 +00:00
marc
fa37d1f012 * keep stack context till end of evaluation, so type info will be resolved too
git-svn-id: trunk@22061 -
2009-10-06 23:04:38 +00:00
paul
ad3522886e debugger: fix memory leak
git-svn-id: trunk@22051 -
2009-10-06 01:16:54 +00:00
marc
47347e3ec3 * implemented evaluation of parent variables inside local procedures
git-svn-id: trunk@22050 -
2009-10-05 23:34:30 +00:00
paul
ec062ef3a0 ide, debugger: watches:
- allow Add watch always
  - if Add watch is called outside source editor then show the Add Watch dialog
  - pass expression under the cursor to the Add Watch dialog as a default value

git-svn-id: trunk@21974 -
2009-10-02 06:18:19 +00:00
paul
8bd93ef6dd ide: debug output window translation improvements by Marcelo B Paula (patch004 of issue #0014266)
git-svn-id: trunk@21357 -
2009-08-20 16:48:59 +00:00
paul
737b16baf6 ide: call stack dialog translation improvements by Marcelo B Paula (patch003 of issue #0014266)
git-svn-id: trunk@21356 -
2009-08-20 16:45:20 +00:00
martin
fbadef8c65 Debugger, fix calling idle on windows. Otherwise the IDE fails to update (e.g hints) during debug; issue #14296
git-svn-id: trunk@21205 -
2009-08-12 18:27:11 +00:00
mattias
22611192f3 IDE: debugger: removed duplicate resource TLocalDlg
git-svn-id: trunk@21146 -
2009-08-09 03:29:06 +00:00
paul
c192951c26 ide, debugger: breakpoint properties dialog: add resource strings
git-svn-id: trunk@20914 -
2009-07-21 12:24:01 +00:00
paul
0e3e7e6ddf ide, debugger: evaluate/modify dialog: add resource strings
git-svn-id: trunk@20913 -
2009-07-21 12:10:00 +00:00
paul
5abc507de7 debugger: add focus controls for labels in evaluate window
git-svn-id: trunk@20670 -
2009-06-19 09:06:10 +00:00
vincents
b23aa4262c debugger: don't explicitly delete escape chars from exception message, they are already deleted by the GetText method (fixes #13707)
git-svn-id: trunk@20191 -
2009-05-25 08:34:11 +00:00
paul
5e662e966a ide: debugger general options: use object inspector settings for embedded options grid
git-svn-id: trunk@20084 -
2009-05-21 03:40:41 +00:00
paul
e932577e22 ide, debugger, packager: don't use special Ok, Cancel, Help captions for buttons - use standard LCL - they have accelerators (Ok and Help) (fixes a part of issue #0001379)
git-svn-id: trunk@20045 -
2009-05-19 08:54:33 +00:00
paul
8b9c7b6944 ide: use the same spacing between controls and '...' buttons on options frames
git-svn-id: trunk@19863 -
2009-05-09 09:02:23 +00:00
paul
d691c803fc ide, debugger: mark source line when jump into it (by double click) from the call stack dialog
git-svn-id: trunk@19727 -
2009-05-01 10:16:05 +00:00
paul
2ee9eb22cb ide: change some options frames to look better in gtk2 ide (set autosize for all spinedits, set anchors where they are missed)
git-svn-id: trunk@19708 -
2009-04-30 15:15:04 +00:00
marc
50c43b90d1 * Improved localization by Maxim Ganetsky
git-svn-id: trunk@19638 -
2009-04-26 15:57:44 +00:00
paul
3c56977f01 debugger: support elf32-i386-freebsd target
git-svn-id: trunk@19515 -
2009-04-19 15:43:32 +00:00
mattias
ee4c6ee66b IDE: debugger: clean up
git-svn-id: trunk@19425 -
2009-04-14 08:12:55 +00:00
paul
2db4548c14 ide, debugger:
- redo showing of execution lines. now there is no need to pause execution to look at execution lines
  - started inspect dialog

git-svn-id: trunk@19418 -
2009-04-13 23:10:06 +00:00
marc
726bd7ccc8 * first part of new expression evaluator
git-svn-id: trunk@19416 -
2009-04-13 22:56:16 +00:00
paul
9e7ee42ccf ide: windows
- use translations for captions of Evaluate/Modify, Assebler dialogs
  - remove 'View' word from more items which are in the View menu

git-svn-id: trunk@19407 -
2009-04-13 09:46:23 +00:00
paul
52d21f4396 debugger: don't try to request lines in the GDBSourceAdress if source name is empty
git-svn-id: trunk@19136 -
2009-03-27 18:51:28 +00:00
paul
542f99b32a debugger: increase refresh speed of callstack dialog on breakpoint toggle
git-svn-id: trunk@19129 -
2009-03-27 04:26:47 +00:00
paul
d7fef7831e debugger: improve anchoring of evaluate&modify dialog, add constraints
git-svn-id: trunk@19127 -
2009-03-27 03:44:39 +00:00
paul
b0f9fcfd3b debugger: fix entry point parsing
git-svn-id: trunk@19082 -
2009-03-24 01:51:32 +00:00
paul
0beb447983 debugger: improve execution lines retrieval from gdb
git-svn-id: trunk@19053 -
2009-03-21 12:50:41 +00:00
paul
8e7fc1ea58 debugger: add .lpi for fpdumpdwarf
git-svn-id: trunk@19007 -
2009-03-16 15:38:28 +00:00
paul
6a8a44f488 debugger: further change TGDBMIDebugger.GDBSourceAdress - return False only in case of error and AAddr = 0 is not found
git-svn-id: trunk@18997 -
2009-03-15 06:48:49 +00:00
paul
4be10e123f debugger: fix memory leaks in TGDBMIDebugger.GDBSourceAdress
git-svn-id: trunk@18995 -
2009-03-15 06:10:06 +00:00
paul
8d98bf1854 debugger: fix TGDBMIDebugger.GDBSourceAdress
- wrong command was used
  - don't add more than one address to the lines Map

git-svn-id: trunk@18994 -
2009-03-15 06:03:11 +00:00
paul
38c3709b80 debugger: rename TExceptionDialog to TIDEExceptionDlg to resolve conflict with JCF2
git-svn-id: trunk@18986 -
2009-03-14 12:35:06 +00:00
paul
41ff1a63f0 ide, debugger: add "Toggle breakpoint" menu item to the callstack dialog, show address in the source column if source file is not available
git-svn-id: trunk@18984 -
2009-03-13 17:48:53 +00:00
marc
a1a0455bbd * Added debugger sourceline info to aid showing compiled lines
git-svn-id: trunk@18973 -
2009-03-13 00:24:36 +00:00
paul
a3fdb8c062 debugger, ide: allow to toggle breakpoint in the callstack dialog, show mixed break+current line image for appropriate lines
git-svn-id: trunk@18968 -
2009-03-12 14:03:27 +00:00
paul
0b733a0b1f debugger, ide: make callstack dialog react on breakpoints change
git-svn-id: trunk@18967 -
2009-03-12 13:06:12 +00:00
paul
39c69e59f7 debugger: show lines with breakpoints in the call stack dialog
git-svn-id: trunk@18941 -
2009-03-10 07:12:33 +00:00
paul
632c906b7a debugger: fix path delimiters for the call stack
git-svn-id: trunk@18940 -
2009-03-10 07:05:45 +00:00
paul
f03e6fc7c2 debugger: use images in the callstack listview to improve look and informativeness
git-svn-id: trunk@18939 -
2009-03-10 03:17:58 +00:00
paul
83f556cdd7 debugger: make callstack dialog use common ide imagelist
git-svn-id: trunk@18936 -
2009-03-10 02:34:14 +00:00
paul
19b235f963 debugger: make callstack dialog listview readonly
git-svn-id: trunk@18932 -
2009-03-09 15:40:59 +00:00
paul
4261d1dfdf debugger: fix some problems after pressing "Continue" button in the debugger notification dialog
git-svn-id: trunk@18921 -
2009-03-08 17:28:33 +00:00
paul
5441f544bd debugger: forgot to autosize buttons in the exception dialog
git-svn-id: trunk@18919 -
2009-03-08 12:47:38 +00:00
paul
953956e64f ide, debugger: set Modified state to project when we add/remove exceptions or change ignore option
git-svn-id: trunk@18918 -
2009-03-08 12:31:58 +00:00
paul
dd45a62e40 debugger: reset "Notify on Lazarus exceptions" option for new projects
git-svn-id: trunk@18917 -
2009-03-08 12:13:03 +00:00
paul
95b6a7b814 debugger: exception handling improvement
- add debugger exception notification dialog instead of simple message dialog. This allows to continue execution just after reading about exception and to add this exception to the "skip" list.
 - implement "Notify on Lazarus exception" option
 - fix inability to remove an exception from the "skip" list

git-svn-id: trunk@18916 -
2009-03-08 12:03:34 +00:00
paul
6a38d2a91c debugger: convert path delimiters in the debugger, not in the IDE
git-svn-id: trunk@18902 -
2009-03-06 04:41:23 +00:00
paul
2521adfc9c fix typo
git-svn-id: trunk@18836 -
2009-02-27 09:34:06 +00:00
marc
fa88fa1f61 * Reset puse wait state when stopped (tip from paul)
git-svn-id: trunk@18826 -
2009-02-26 22:40:16 +00:00
marc
f9ef877f9e * remove windows specific parts (step 2)
git-svn-id: trunk@18302 -
2009-01-16 00:26:10 +00:00
marc
4ac1841cc0 * Rename of dbgutils and dbgoutputform to avoid future name conflicts
git-svn-id: trunk@18301 -
2009-01-15 23:26:10 +00:00
paul
36ba5614a2 debugger: hopefully fixed breakpoint properties dialog layout
git-svn-id: trunk@18263 -
2009-01-12 03:17:20 +00:00
marc
616b9a6473 * Fixed anchors and removed bevel
git-svn-id: trunk@18258 -
2009-01-11 17:26:33 +00:00
paul
37fced3f9b debugger: fix anchoring of breakpoint properties dialog, set dialog style to watch property dialog
git-svn-id: trunk@18126 -
2009-01-05 09:31:30 +00:00
marc
13c4eb0d63 * Replaced buttons by buttonpanel
* improved alignment

git-svn-id: trunk@18124 -
2009-01-05 01:24:45 +00:00
paul
e9be67479b debugger: fix layout and tab order of break point properties dialog
git-svn-id: trunk@18118 -
2009-01-04 20:39:47 +00:00
marc
50a8b259ee - Removed obsolete file
git-svn-id: trunk@18116 -
2009-01-04 19:58:54 +00:00
marc
c569ccca33 * Added breakpont properties dialog. Modified patch by Benito van der Zander (issue #12882)
git-svn-id: trunk@18115 -
2009-01-04 19:57:56 +00:00
paul
3df9f2143a debugger: next time show more informative exception about duplicate name
git-svn-id: trunk@18100 -
2009-01-04 10:01:33 +00:00
mattias
89df8b61f5 IDE: added directory packager/frames to defines
git-svn-id: trunk@18090 -
2009-01-03 22:02:07 +00:00
mattias
5f48d63392 IDE: renamed options frames
git-svn-id: trunk@18086 -
2009-01-03 21:20:50 +00:00
marc
625e1a3cc1 * remove windows specific part
git-svn-id: trunk@18058 -
2009-01-02 17:32:54 +00:00
paul
7fd8f0dd3f debugger: convert widestring output to the utf8
git-svn-id: trunk@18043 -
2009-01-02 13:05:02 +00:00
paul
e066a0006d debugger: add initial widestring support for gdb
git-svn-id: trunk@18041 -
2009-01-02 12:53:43 +00:00
marc
52e0efb143 * first part of restructure to generic debugger
git-svn-id: trunk@17889 -
2008-12-22 23:49:27 +00:00
mattias
b2b7dbe035 clean up
git-svn-id: trunk@17756 -
2008-12-09 12:51:04 +00:00
marc
df49c8ebd2 + add forgotten dialogs
git-svn-id: trunk@17750 -
2008-12-09 09:40:24 +00:00
paul
04fde3cce3 ide, debugger:
- reset various debug info (breakpoints, watches, language exceptions, signals) when creating a new project
  - turn off debug manager verbosity

git-svn-id: trunk@17745 -
2008-12-09 08:35:50 +00:00
marc
598126853c * Initial implementation of assembler dialog
git-svn-id: trunk@17735 -
2008-12-09 01:39:31 +00:00
paul
27f131b0a7 ide: fix button event in the debugger general options
git-svn-id: trunk@17718 -
2008-12-08 02:18:08 +00:00
paul
8f93dfa528 ide: remove debugger option dialog and menu item
git-svn-id: trunk@17691 -
2008-12-05 09:02:28 +00:00
paul
dbb79626c8 ide, debugger: add other frames to the ide options
git-svn-id: trunk@17690 -
2008-12-05 08:52:28 +00:00
paul
5174c3785e ide, debugger: add debugger general options page to the ide options
git-svn-id: trunk@17689 -
2008-12-05 07:35:17 +00:00
paul
3e23380837 debugger: don't pause a project when exception must be skiped
git-svn-id: trunk@17671 -
2008-12-03 10:46:31 +00:00
laurent
4b344f137a IDE: rename the images to avoid overload
git-svn-id: trunk@17660 -
2008-12-02 13:28:21 +00:00
paul
aa21e07575 components, ide, debugger: fix last visibility warnings
git-svn-id: trunk@17618 -
2008-11-28 03:17:37 +00:00
marc
435a07ac28 - Removed some unneeded indirections
git-svn-id: trunk@17527 -
2008-11-22 18:43:49 +00:00
marc
c3040c20bd * Forgot one class for modified registers
git-svn-id: trunk@17456 -
2008-11-20 00:40:06 +00:00
marc
f64f9318a3 + Added changed image
git-svn-id: trunk@17455 -
2008-11-20 00:19:14 +00:00
marc
ba81fecd5c * Fixed registervalue resolving
git-svn-id: trunk@17454 -
2008-11-19 23:50:39 +00:00