Commit Graph

209 Commits

Author SHA1 Message Date
paul
71d8ecf4de ide: minor refactoring:
- add GetOperandFromCaret, GetOperandAtCurrentCaret to the TSourceEditor class
  - use that methods for the debugger tooltip evaluation and for the debugger evaluate dialog

git-svn-id: trunk@21969 -
2009-10-02 02:26:41 +00:00
paul
e447466f59 ide: fix compilation with fpc 2.5.1
git-svn-id: trunk@21277 -
2009-08-18 08:42:22 +00:00
vincents
774e6fca79 IDE: only unhide the ide, if it was hidden before by the debugger, fixes issue #13597
git-svn-id: trunk@21133 -
2009-08-07 10:50:12 +00:00
paul
273bd55444 ide: add resource string constants for debug manager hard coded strings
git-svn-id: trunk@20851 -
2009-07-13 13:53:56 +00:00
paul
c3eb6e2b30 ide: MainBar:
- use ToolBars instead of SpeedButtons
  - add stop button (issue #0001788 by Leslie Kaye)

git-svn-id: trunk@20394 -
2009-06-04 07:16:53 +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
paul
c770cd7d3b ide: on Evaluate command use selection if available and use word at caret instead (as now)
git-svn-id: trunk@19128 -
2009-03-27 03:53:55 +00:00
paul
9154c34024 ide: start show of execution marks when we in the Pause state
git-svn-id: trunk@18998 -
2009-03-15 07:17:55 +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
0b733a0b1f debugger, ide: make callstack dialog react on breakpoints change
git-svn-id: trunk@18967 -
2009-03-12 13:06:12 +00:00
paul
879adbf7f2 ide: use better notification way about adding/removing breakpoint for the sourceeditor (source mark changes more reliable)
git-svn-id: trunk@18965 -
2009-03-12 04:18:00 +00:00
paul
9c4108f86d ide: fix debugging of non-saved units (issue #0011879)
git-svn-id: trunk@18957 -
2009-03-11 14:33:49 +00:00
paul
bd563f7d4a formatting
git-svn-id: trunk@18946 -
2009-03-10 13:26:22 +00:00
mattias
9c1c4073f2 IDE: debugger: removed unneeded path delim fix in TDebugManager.GetFullFilename
git-svn-id: trunk@18929 -
2009-03-09 15:29:07 +00:00
mattias
9f7246dd62 IDE: debugger: auto repair gdb path delims when searching filename
git-svn-id: trunk@18924 -
2009-03-09 13:57:29 +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
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
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
db1388f6e5 ide: when we insert/delete lines before a breakpoint don't forget to store this changes on save (bug #0009886)
git-svn-id: trunk@18889 -
2009-03-04 05:51:00 +00:00
mattias
8a2b5a4ee1 IDE: GetprojectTargetFilename added parameter
git-svn-id: trunk@18613 -
2009-02-09 09:09:15 +00:00
vincents
a9eb4a743b IDE: try to convert exception message from debugger to UTF8, if it contains invalid UTF8 chars (issue #13096)
git-svn-id: trunk@18534 -
2009-02-02 15:08:42 +00:00
marc
66468eaf11 * Check if current breakpoint isn't removed
git-svn-id: trunk@18413 -
2009-01-24 15:35:25 +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
d9c8834b72 ide: fix Duplicate name error when creating new project (bug #0012827)
git-svn-id: trunk@18099 -
2009-01-04 09:58:54 +00:00
paul
b37de6dfde ide: revert r17736 #7f533fe7dd since AssemblerDlg is committed now
git-svn-id: trunk@17751 -
2008-12-09 09:50:36 +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
paul
7f533fe7dd ide: temporary comment all related to AssemblerDlg - unit was forgotten by previous commit (Marc, revert with commit of AssemblerDlg)
git-svn-id: trunk@17736 -
2008-12-09 02:03:24 +00:00
marc
598126853c * Initial implementation of assembler dialog
git-svn-id: trunk@17735 -
2008-12-09 01:39:31 +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
953046ea87 ide: skip handling of EAbort exception by default
git-svn-id: trunk@17663 -
2008-12-02 14:45:03 +00:00
marc
435a07ac28 - Removed some unneeded indirections
git-svn-id: trunk@17527 -
2008-11-22 18:43:49 +00:00
mattias
0b0d219245 fixed some visibilities
git-svn-id: trunk@17521 -
2008-11-22 16:13:03 +00:00
marc
c3040c20bd * Forgot one class for modified registers
git-svn-id: trunk@17456 -
2008-11-20 00:40:06 +00:00
marc
13f948b3ca * Fixed memleaks
git-svn-id: trunk@17452 -
2008-11-19 23:14:39 +00:00
marc
88ff1df906 + Added Registers debug view
git-svn-id: trunk@17431 -
2008-11-19 01:35:01 +00:00
tombo
4950826d8d IDE carbon: applied 0012452: Carbon IDE: does not allow command line parameters for bundled applicatons. from skalogryyz
git-svn-id: trunk@17087 -
2008-10-21 14:27:05 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
b23bc8cf6c IDE: debugger: resolving macros in additional debug paths, bug #11877
git-svn-id: trunk@16055 -
2008-08-14 08:20:02 +00:00
mattias
8be0e41f40 IDE: fixed crash on quit, bug #11536
git-svn-id: trunk@15536 -
2008-06-23 12:27:51 +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
paul
7b44b9d924 ide: rename UnitEditor to SourceEditor
git-svn-id: trunk@14531 -
2008-03-15 13:17:37 +00:00
tombo
99415e3982 IDE carbon: added option for creating Application Bundle to project Options
git-svn-id: trunk@13908 -
2008-01-29 13:16:44 +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
b6485030ed * Fixed crash when deleting watches (#10075). Patch by Martin Friebe
git-svn-id: trunk@13733 -
2008-01-12 17:36:07 +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
c2805d9a1d IDE: fixed handling of Reset Debugger shortcut (bug #10404)
git-svn-id: trunk@13298 -
2007-12-12 15:23:09 +00:00
mattias
e8f4f6e240 replaced several BoolToStr calls with dbgs
git-svn-id: trunk@12914 -
2007-11-18 13:06:38 +00:00
tombo
620ffeb1e7 LCL: make TCustomForm.Show Delphi compatible -> bring form to front and activate it
git-svn-id: trunk@12760 -
2007-11-06 10:15:01 +00:00
mattias
bea6c472b4 IDE: debugger: do not ask if debugging a not saved unit
git-svn-id: trunk@12701 -
2007-11-02 17:51:25 +00:00
tombo
5aeedb0533 IDE: added option to debug/run Application Bundle on darwin, remove code under DoNotUseProcessDebugger
git-svn-id: trunk@11266 -
2007-06-02 10:53:09 +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
9de81c4ee6 debugger: set ShowConsole to true if not compile as win32 graphic application, used by process debugger, fixes note 12473 of bug #8647.
git-svn-id: trunk@11067 -
2007-05-03 18:46:44 +00:00
mattias
a4579a8ef6 IDE: fixed not adding CreateForm statement if main project file does not support it
git-svn-id: trunk@10537 -
2007-01-30 10:02:18 +00:00
mattias
2e614998a5 IDE/lazbuild: moved macros to TBuildManager
git-svn-id: trunk@9814 -
2006-09-05 10:39:25 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
vincents
b39cf0f1e7 fixed compilation of revision 9571 #b6808d3c83
git-svn-id: trunk@9572 -
2006-07-06 19:42:19 +00:00
vincents
b6808d3c83 replaced writeln by debugln
git-svn-id: trunk@9571 -
2006-07-06 19:34:00 +00:00
mattias
99cc3bcf19 fixed find replace dialog
git-svn-id: trunk@9560 -
2006-07-04 21:06:22 +00:00
mattias
5d2766a239 added evaluate text at cursor during debugging from Darek
git-svn-id: trunk@9419 -
2006-06-12 18:48:30 +00:00
mattias
a7173f4a7a extended Load/Save events for project sessions
git-svn-id: trunk@8680 -
2006-01-31 16:40:59 +00:00
marc
9192a15477 - removed check for exe for TProcessDebugger
git-svn-id: trunk@8323 -
2005-12-14 22:19:43 +00:00
marc
04ae055762 + Added a default debugger class
git-svn-id: trunk@8301 -
2005-12-13 00:58:59 +00:00
mattias
6a279a35e4 added warning for setting breakpoint, when no debugger is specified
git-svn-id: trunk@8284 -
2005-12-09 10:13:28 +00:00
micha
e3de6269f0 focus IDE when debugging is paused, and focus app again when resuming (issue #994)
git-svn-id: trunk@8144 -
2005-11-13 20:23:40 +00:00
mattias
859081d346 component palette popup menu now searches for virtual units
git-svn-id: trunk@7883 -
2005-10-02 10:02:06 +00:00
mattias
b444eb0e1b fixed debugger menu items
git-svn-id: trunk@7825 -
2005-09-25 21:53:21 +00:00
mattias
418c53918e activated menuintf and idescopes
git-svn-id: trunk@7820 -
2005-09-25 11:52:16 +00:00
mattias
f1bd1cc6c5 implemented using menuintf for IDE main menu
git-svn-id: trunk@7779 -
2005-09-21 22:33:37 +00:00
mattias
ff7171bad0 implemented dynamic menu item in MenuIntf, Source Editor now uses the menuintf
git-svn-id: trunk@7616 -
2005-09-02 17:46:30 +00:00
mattias
abe8ca8638 fixed debugger working directory with -FE option
git-svn-id: trunk@7607 -
2005-08-31 08:17:04 +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
micha
cce3ba1e5c map evaluate command to show evaluate dialog
git-svn-id: trunk@6776 -
2005-02-10 21:06:45 +00:00
mattias
21624d99b0 reactivated fast xml units without widestrings
git-svn-id: trunk@6716 -
2005-01-29 14:36:04 +00:00
mattias
dc85cead86 added option to omit debugged program stopped from Andrew Haines
git-svn-id: trunk@6665 -
2005-01-22 20:48:13 +00:00
vincents
c535f37167 use xml units from fpc, if not compiling with fpc 1.0
git-svn-id: trunk@6603 -
2005-01-15 13:44:03 +00:00
mattias
d9f87ef6eb updatepofiles is now case sensitive,
replaced many places, where Application was needlessly Owner
updated po files, started Configure IDE Install Package dialog,
implemented removing double file package links

git-svn-id: trunk@6388 -
2004-12-18 10:20:22 +00:00
vincents
aa49666b28 implemented TIDEExceptions.LoadFromXMLConfig and SaveToXMLConfig
git-svn-id: trunk@6329 -
2004-12-03 14:35:30 +00:00
mattias
ff0abfca3e TTextStrings improvements (Exchange, Put), clean ups
git-svn-id: trunk@6293 -
2004-11-24 08:18:13 +00:00
mattias
3c04f4c33b added key handling for debug manager
git-svn-id: trunk@6288 -
2004-11-23 11:01:10 +00:00
marc
d638ed5696 + Added Evaluate/Modify dialog
git-svn-id: trunk@6287 -
2004-11-23 00:57:05 +00:00
marc
09f9e53b4f * Fixed interrupting GDB on win32
* Reset exename after run so that the exe is not locked on win32

git-svn-id: trunk@6132 -
2004-10-11 23:33:36 +00:00
vincents
450371882c splitted off unit FileUtil, it doesn't depend on other LCL units
git-svn-id: trunk@6081 -
2004-09-27 22:05:41 +00:00
vincents
5d937c489c moved FDebugger field from BaseDebugManager to DebugManager
git-svn-id: trunk@6049 -
2004-09-23 07:45:53 +00:00
vincents
97f219aa15 replaced writeln by DebugLn
git-svn-id: trunk@6020 -
2004-09-17 20:04:35 +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
micha
4d9968925e fix compile by adding braces
git-svn-id: trunk@5869 -
2004-08-27 09:19:27 +00:00
marc
b8918ec656 * Restructured debugger view classes
* Fixed help

git-svn-id: trunk@5867 -
2004-08-26 23:50:05 +00:00
mattias
a7d381ad9d splitted TMainIDE (main control instance) and TMainIDEBar (IDE menu and palette), added mainbase.pas and mainintf.pas
git-svn-id: trunk@5749 -
2004-08-08 18:02:45 +00:00
mattias
617948d9c8 removed unneeded units in uses sections
git-svn-id: trunk@5443 -
2004-05-02 12:01:15 +00:00
mattias
6090b95013 added test if debugger filename exists
git-svn-id: trunk@5229 -
2004-02-24 15:30:13 +00:00
mattias
6d76f34810 using now fpc constant LineEnding from Vincent
git-svn-id: trunk@5073 -
2004-01-17 13:29:04 +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
8dfca459b1 fixed searching for default debugger line
git-svn-id: trunk@4794 -
2003-11-10 22:29:23 +00:00
marc
ceaf698ecf Implemented new gtk keyevent handling
git-svn-id: trunk@4715 -
2003-10-16 23:54:27 +00:00
mattias
09f667c569 implemented Build+Run File
git-svn-id: trunk@4504 -
2003-08-20 15:06:57 +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