Commit Graph

341 Commits

Author SHA1 Message Date
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
marc
f17cd838b1 * Improved hint evaluation
git-svn-id: trunk@3132 -
2002-08-18 08:57:49 +00:00
marc
129560e5f4 MWE: + Added initial signal and exception handling
git-svn-id: trunk@3130 -
2002-08-18 08:57:48 +00:00
marc
a18e7c183a MWE: * Enabled modification of breakpoints while running
git-svn-id: trunk@3127 -
2002-08-18 08:57:47 +00:00
mattias
658c2a8c8d implemented stop debugging on rebuild
git-svn-id: trunk@3123 -
2002-08-18 08:57:46 +00:00
mattias
819c432a6e implemented view call stack key and jumping to last stack frame with debug info
git-svn-id: trunk@3122 -
2002-08-18 08:57:45 +00:00
marc
4e3c148fcc MWE: + Added working dir.
git-svn-id: trunk@3118 -
2002-08-18 08:57:44 +00:00
marc
1387be7243 MWE: * Fixed initial run to cursor
git-svn-id: trunk@3116 -
2002-08-18 08:57:43 +00:00
mattias
17654f617d implemented updates between source marks and breakpoints
git-svn-id: trunk@3111 -
2002-08-18 08:57:42 +00:00
marc
572d53ea04 MWE: = Splitted TDBGBreakpoint into TBaseBreakPoint, TIDEBreakpoint and
TDBGBreakPoint

git-svn-id: trunk@3108 -
2002-08-18 08:57:41 +00:00
mattias
664c40ba63 fixed debugger stop
git-svn-id: trunk@3106 -
2002-08-18 08:57:40 +00:00
marc
03bbeacfa2 MWE: * fixed debugger.stop
git-svn-id: trunk@3103 -
2002-08-18 08:57:39 +00:00
mattias
ce01130dde fixed reposition sourcemark
git-svn-id: trunk@3099 -
2002-08-18 08:57:38 +00:00
marc
f53e64a526 MWE: * Fixed string resolving
* Updated exception handling

git-svn-id: trunk@3097 -
2002-08-18 08:57:37 +00:00
mattias
37de54d722 added Destroying flag, debugger now always shuts down
git-svn-id: trunk@3093 -
2002-08-18 08:57:36 +00:00
marc
f5d092fc79 MWE: + Added GDB version check to exception parser
git-svn-id: trunk@3091 -
2002-08-18 08:57:35 +00:00
mattias
8598fe798a recuced update notifications
git-svn-id: trunk@3089 -
2002-08-18 08:57:34 +00:00
mattias
0bff9f505f break;points dialog now gets the items without debugger
git-svn-id: trunk@3085 -
2002-08-18 08:57:33 +00:00
marc
599e159ba2 MWE: * Reworked breakpoint handling
git-svn-id: trunk@3081 -
2002-08-18 08:57:32 +00:00
mattias
92a94e876a implemented enable and deleting breakpoint in breakpoint dlg
git-svn-id: trunk@3080 -
2002-08-18 08:57:31 +00:00
mattias
8e208104bd fixed getting target PID for fpc1.1 programs
git-svn-id: trunk@3076 -
2002-08-18 08:57:30 +00:00
marc
a014a74b8b MWE: + Added exception break
* Reworked adding/removing breakpoints
     + Added Unknown breakpoint type

git-svn-id: trunk@3073 -
2002-08-18 08:57:29 +00:00
mattias
bd785fb8d5 implemented restoring breakpoints
git-svn-id: trunk@3069 -
2002-08-18 08:57:28 +00:00
marc
baa8cff9f6 MWE: = Moved and renamed debuggerforms so that they can be
modified by the ide
     + Added some parsing to evaluate complex expressions
       not understood by the debugger

git-svn-id: trunk@3068 -
2002-08-18 08:57:27 +00:00
lazarus
42d2da428a MWE:
* Some minor debugger updates
  + Added evaluate to debugboss
  + Added hint debug evaluation

git-svn-id: trunk@3065 -
2002-08-18 08:57:26 +00:00
lazarus
6c9464c470 MG: updated licenses
git-svn-id: trunk@1668 -
2002-05-10 06:57:51 +00:00
lazarus
06faefdcf7 MWE:
+ Added callstack object and dialog
  + Added checks to see if debugger = nil
  + Added dbgutils

git-svn-id: trunk@1654 -
2002-04-30 15:57:40 +00:00
lazarus
d894f24b93 MWE:
+ Added watches
  * Updated watches and watchproperty dialog to load as resource
  = renamed debugger resource files from *.lrc to *.lrs
  * Temporary fixed language problems on GDB (bug #508)
  * Made Debugmanager dialog handling more generic

git-svn-id: trunk@1636 -
2002-04-24 20:42:29 +00:00
lazarus
4120ed82b6 MG: reduced compiler warnings
git-svn-id: trunk@1549 -
2002-03-27 08:57:17 +00:00
lazarus
ecd33ba5b5 MWE:
+ Added locals dialog
  * Modified breakpoints dialog (load as resource)
  + Added generic debuggerdlg class
  = Reorganized main.pp, all debbugger relater routines are moved
    to include/ide_debugger.inc

git-svn-id: trunk@1536 -
2002-03-23 15:54:30 +00:00
lazarus
d0f37eeaf7 MWE:
* More delphi compatibility added/updated to TListView
  * Introduced TDebugger.locals
  * Moved breakpoints dialog to debugger dir
  * Changed breakpoints dialog to read from resource

git-svn-id: trunk@1508 -
2002-03-12 23:55:37 +00:00
lazarus
90adaffa46 MWE:
* Upgraded gdb debugger to gdb/mi debugger
  * Set default value for autpopoup
  * Added Clear popup to debugger output window

git-svn-id: trunk@862 -
2002-02-09 01:47:09 +00:00