Commit Graph

181 Commits

Author SHA1 Message Date
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
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
632c906b7a debugger: fix path delimiters for the call stack
git-svn-id: trunk@18940 -
2009-03-10 07:05:45 +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
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
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
4ac1841cc0 * Rename of dbgutils and dbgoutputform to avoid future name conflicts
git-svn-id: trunk@18301 -
2009-01-15 23:26:10 +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
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
598126853c * Initial implementation of assembler dialog
git-svn-id: trunk@17735 -
2008-12-09 01:39:31 +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
paul
aa21e07575 components, ide, debugger: fix last visibility warnings
git-svn-id: trunk@17618 -
2008-11-28 03:17:37 +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
marc
88ff1df906 + Added Registers debug view
git-svn-id: trunk@17431 -
2008-11-19 01:35:01 +00:00
paul
d57b1b6854 debugger: fix handling of UTF8 filenames
git-svn-id: trunk@16424 -
2008-09-05 03:28:31 +00:00
mattias
8c7598d73a IDE: implemented supporting FPCVer in FPCSrcDir
git-svn-id: trunk@16133 -
2008-08-19 01:28:24 +00:00
mattias
7e0bf7487b IDE: reduced output
git-svn-id: trunk@15546 -
2008-06-23 18:04:23 +00:00
marc
6c828ea03c * Callstack speedup. Now enties are fetched in one go from the debugger by Martin Friebe (modified)
* Fixed callstack item count

git-svn-id: trunk@14561 -
2008-03-18 01:00:51 +00:00
marc
7183882ba2 * implemented limited callstackview based on patch from Martin Friebe
git-svn-id: trunk@13896 -
2008-01-27 16:01:41 +00:00
marc
f5ec643614 * allow evaluation of upper ascii chars
git-svn-id: trunk@13812 -
2008-01-20 23:58:59 +00:00
marc
160f3905c4 * Reduced stringmanipulation when parsing gdb mi result
git-svn-id: trunk@13810 -
2008-01-20 19:32:34 +00:00
marc
b7d6585db5 * Fixed compilation on win32
git-svn-id: trunk@13796 -
2008-01-19 11:24:03 +00:00
marc
4d014fa56c * Improved MI parser, based on patch by Martin Friebe
git-svn-id: trunk@13790 -
2008-01-19 02:48:48 +00:00
marc
273bdea671 * Ignore debugger errors when creating locals
git-svn-id: trunk@13742 -
2008-01-13 19:21:26 +00:00
marc
993bf3680e * Fixed arguments as locals
git-svn-id: trunk@13734 -
2008-01-12 18:41:45 +00:00
marc
83cd44b0c5 + added classtype support to debugger expression evaluation
git-svn-id: trunk@13705 -
2008-01-10 01:10:20 +00:00
marc
1b0fb632fa * Added option to callstack to select the current frame. Based on a patch by Martin Friebe
git-svn-id: trunk@13700 -
2008-01-09 22:02:46 +00:00
vincents
5a6eb8feed debugger: reset working directory before setting it, to workaround a possible gdb bug, fjxes bug #10308.
git-svn-id: trunk@13184 -
2007-12-06 22:40:01 +00:00
marc
c6c16d5bbd * Reduced async-record shlibs debugger output
git-svn-id: trunk@12712 -
2007-11-03 02:42:40 +00:00
marc
bd07d08f17 * added pei-i386 filetype so debugger recognized it as x86
git-svn-id: trunk@12710 -
2007-11-03 01:44:58 +00:00
vincents
7be2b96bc1 debugger: fixed running debuggee running without command line parameters after running it with command line parameters (bug #9861)
git-svn-id: trunk@12343 -
2007-10-06 13:40:47 +00:00
marc
eae7aeea55 * fixed main address detection on Mac
git-svn-id: trunk@11324 -
2007-06-15 09:12:10 +00:00
vincents
1c6e5c3ba5 debugger: initialized loop var (noticed by Yuri)
git-svn-id: trunk@11296 -
2007-06-07 17:14:33 +00:00
vincents
2a4f00b5ec debugger: made checking partial stack trace more robust, as suggested by Yuri
git-svn-id: trunk@11295 -
2007-06-07 14:47:55 +00:00
vincents
ba3e478722 debugger: show at least partial stack trace, if the complete stack trace cannot be reconstructed (#8908) from Yuri
git-svn-id: trunk@11293 -
2007-06-07 11:22:35 +00:00
mattias
bb201517c7 IDE: debugger: added checks for working directory
git-svn-id: trunk@11132 -
2007-05-12 14:40:06 +00:00
vincents
1f8d81dc9d debugger: don't double the single quote in strings shown to the user
git-svn-id: trunk@11119 -
2007-05-09 22:20:26 +00:00
vincents
75734cdf1d debugger: replace \\, \t etc in debugger output strings
git-svn-id: trunk@11118 -
2007-05-09 22:00:08 +00:00
marc
cb53dafe02 * Added mac-x86 and arm target detection
git-svn-id: trunk@10792 -
2007-03-24 16:17:28 +00:00
marc
a2aa58380f * Patch from Yury Sidorov for setting intitial breakpoint
git-svn-id: trunk@10679 -
2007-02-25 12:07:31 +00:00
mattias
5e7915cd31 IDE: the first unit of a project is now automaticallly the main unit, if you dont want this: use MainUnitID:=-1
git-svn-id: trunk@10545 -
2007-01-31 11:13:37 +00:00
marc
6b96e74f9a * Fixed breakpoints at programstart and initialization code
git-svn-id: trunk@10364 -
2007-01-02 00:31:20 +00:00
vincents
f759124d94 added $inline on
git-svn-id: trunk@10061 -
2006-10-12 08:14:16 +00:00
micha
a4bd9f7713 fix pointer type conversions
git-svn-id: trunk@10039 -
2006-10-04 22:21:04 +00:00
andrew
3483437b53 Improved Debugger Exception Dialog for platforms different than 32 bits (with permission if MW)
git-svn-id: trunk@9740 -
2006-08-22 22:21:45 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
micha
d9e9f1570f win64 fixes (from peter, modified)
git-svn-id: trunk@9221 -
2006-05-01 21:45:12 +00:00
marc
e5196c9d04 * Patch from Yury Sidorov. Enables ARM target.
git-svn-id: trunk@8873 -
2006-03-06 19:36:22 +00:00
mattias
8c5f336505 fixes for fpc 2.0.3 and TrayIconLaz.lpk
git-svn-id: trunk@8545 -
2006-01-17 14:31:24 +00:00
vincents
e64b0f93dd pass entrypoint as decimal value (issue #565)
git-svn-id: trunk@8422 -
2006-01-03 10:37:21 +00:00
micha
52d4e4d8c3 various debugger state fixes
git-svn-id: trunk@8384 -
2005-12-29 16:21:06 +00:00
micha
f563fffe41 escape environment strings
git-svn-id: trunk@8383 -
2005-12-29 12:12:02 +00:00
marc
66fe5731bf * Made debugger aware of target pointer size
git-svn-id: trunk@8187 -
2005-11-18 18:37:29 +00:00
marc
b80db1e018 * Fixed registerlookup for amd64
* Fixed entrypoint parsing (Micha was right)
* Added message on load failure

git-svn-id: trunk@8185 -
2005-11-18 00:17:23 +00:00
marc
7960598843 * reverted previous change. in mi mode, gdb outputs a newline as "\n" and not as a real lineend
git-svn-id: trunk@8158 -
2005-11-14 22:49:34 +00:00
micha
55674767d7 use proper line ending
git-svn-id: trunk@8141 -
2005-11-13 18:48:58 +00:00
marc
6a4f8a515e * Fixed amd64 register detect
git-svn-id: trunk@8052 -
2005-11-03 23:46:05 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
marc
4b1881f23a * Patch from Colin Western
+ added a check for long repeats

git-svn-id: trunk@7366 -
2005-07-17 22:22:00 +00:00
marc
de83f4a4a6 * GDB repeated values are expanded
git-svn-id: trunk@7365 -
2005-07-17 20:08:35 +00:00
marc
67bdc437ba * fixed exception handling for ppc (and maybe ia64 and sparc)
git-svn-id: trunk@7179 -
2005-05-17 00:02:44 +00:00
marc
abefc8a3b6 * Fixed win32 compilation
git-svn-id: trunk@7177 -
2005-05-16 12:43:27 +00:00
marc
e728ebef22 * included debugger result tye in execcommand (start fixing debugging on Mac OSX)
git-svn-id: trunk@7170 -
2005-05-14 12:09:36 +00:00
marc
354b98ed73 * 64bit patch (partial) from Peter Vreman
git-svn-id: trunk@6972 -
2005-03-17 00:09:37 +00:00
mattias
36cdcdb490 Click events are now created after MouseUp from C Western
git-svn-id: trunk@6900 -
2005-03-05 14:42:01 +00:00
vincents
58131f7541 fixed unlocking executable after debugging
git-svn-id: trunk@6636 -
2005-01-18 21:22:44 +00:00
micha
5f8026a62c fix bug #506: pass quoted files and paths to gdb that possibly contain spaces
git-svn-id: trunk@6615 -
2005-01-16 19:02:02 +00:00
mattias
a6b3815b5f fixed cgilazide uses clause
git-svn-id: trunk@6284 -
2004-11-22 22:00:21 +00:00
vincents
de4802a22d fixed fpc 1.0.x compilation
git-svn-id: trunk@6280 -
2004-11-22 08:08:36 +00:00
marc
2cf1c1b556 * fixed resetting internal breakpoints
git-svn-id: trunk@6277 -
2004-11-21 18:52:47 +00:00
marc
0c3f9a08ae * worked aound lack of %u as formatspecifier
+ introduced dbgptr for dealing with pointers on the target
+ added classnames to pointer evaluation

git-svn-id: trunk@6275 -
2004-11-21 15:19:08 +00:00
marc
f74a3ccbeb * Fixed string evaluation
git-svn-id: trunk@6267 -
2004-11-19 00:41:18 +00:00
marc
e85ce0df24 * Introduced another method of interrupting gdb on win32
git-svn-id: trunk@6188 -
2004-11-02 23:25:02 +00:00
marc
99952d39d9 * Fixed interrupting GDB on win32
* Reset exename after run so that the exe is not locked on win32

git-svn-id: trunk@6131 -
2004-10-11 23:28:13 +00:00
vincents
89fe6ac437 replaced writeln by DebugLn
git-svn-id: trunk@6001 -
2004-09-14 21:30:37 +00:00
marc
90b8b206c0 + Added option to skip compiler step on compile, build or run
* Fixed adding of runtime watches
* Fixed runnerror reporting (correct number and location is shown)

git-svn-id: trunk@5918 -
2004-09-04 21:54:08 +00:00
marc
b8918ec656 * Restructured debugger view classes
* Fixed help

git-svn-id: trunk@5867 -
2004-08-26 23:50:05 +00:00
marc
0b3c4f7832 * Temp (?) fix for FPC 1.9.5 [2004/07/15]
git-svn-id: trunk@5695 -
2004-07-19 22:29:46 +00:00
marc
9043e56a4d * Merged Getpart for target PID form Colin Western
git-svn-id: trunk@5409 -
2004-04-14 23:07:20 +00:00
mattias
55f6eb6906 fixed debugging under fedora core from Colin
git-svn-id: trunk@5407 -
2004-04-13 20:14:26 +00:00
marc
8a799e0061 * fixed debugtarget PID parsing (for win32)
git-svn-id: trunk@5301 -
2004-03-13 00:01:53 +00:00
vincents
cb8744a5e5 Lazarus can communicate with debugger on win32
git-svn-id: trunk@5299 -
2004-03-12 21:39:29 +00:00
mattias
6d76f34810 using now fpc constant LineEnding from Vincent
git-svn-id: trunk@5073 -
2004-01-17 13:29:04 +00:00
marc
fcce5315cd * More debugger properties
* Fixed debugger for regcall callingconvention in RTL

git-svn-id: trunk@5034 -
2004-01-09 00:10:51 +00:00
mattias
7df6dc79ca improved debugger: saved log, error handling in initialization, better reinitialize
git-svn-id: trunk@5016 -
2004-01-05 15:22:42 +00:00
mattias
9ef4196e0f fixed memleak in debugger from Vincent
git-svn-id: trunk@4876 -
2003-12-05 08:39:53 +00:00
mattias
b8131d303a clean up win32 ifdefs
git-svn-id: trunk@4484 -
2003-08-15 14:28:48 +00:00
mattias
177677936d fixed initialenabled, debuggertype, linkscaner open string constant
git-svn-id: trunk@4458 -
2003-08-08 10:24:48 +00:00
mattias
714365de77 fixed mem leaks in debugger
git-svn-id: trunk@4456 -
2003-08-08 07:49:56 +00:00
marc
c4e8a6b79e * fixed environment handling to debuggee
git-svn-id: trunk@4445 -
2003-08-02 00:20:20 +00:00
marc
8c1610c08d * Added RegisterDebugger
git-svn-id: trunk@4439 -
2003-07-30 23:15:39 +00:00
marc
e0a9af5324 + Added SSHGDB debugger
git-svn-id: trunk@4417 -
2003-07-24 08:47:37 +00:00
marc
6b475b9f64 * Fixed version detection of gdb
git-svn-id: trunk@4312 -
2003-06-24 23:56:33 +00:00