Commit Graph

233 Commits

Author SHA1 Message Date
martin
9e9e810073 Ide/Project; SourceEditor: Decouple relationship via EditorIndex. Start using reference instead of index
git-svn-id: trunk@24015 -
2010-03-15 18:01:40 +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
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
paul
aab626487b ide: don't load debugger exceptions list from the session info
git-svn-id: trunk@23647 -
2010-02-05 17:25:14 +00:00
paul
66884f2359 ide: implement show execution point command by Flávio Etrusco (issue #0001920)
git-svn-id: trunk@23576 -
2010-01-28 03:50:48 +00:00
paul
bad42d79bc ide: project options: replace monolith project options dialog with project options frames, register them in IDE options
git-svn-id: trunk@23318 -
2009-12-30 09:24:39 +00:00
mattias
7312388f96 IDE: debugging: DoRUnProject: only start debugger, run debugger on timer so that the loop does not hold the LCL component that processed the event
git-svn-id: trunk@23235 -
2009-12-22 12:36:20 +00:00
mattias
404211ce2f IDE: debugger: searching files in temporary directory in unsaved files
git-svn-id: trunk@23190 -
2009-12-18 20:09:06 +00:00
mattias
8b2a207220 IDE: resourcestrings
git-svn-id: trunk@23126 -
2009-12-13 18:17:45 +00:00
paul
fc439939dd ide: change enabled state to View registers and View assembler menu items according to debugging state
git-svn-id: trunk@23080 -
2009-12-11 02:57:40 +00:00
paul
3ccb54ad89 debugger: save skip exceptions list in the project info instead of session info (#0015256)
git-svn-id: trunk@23056 -
2009-12-10 04:43:48 +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
martin
a0992b75f0 Fix restoring breakpoints to correct editor on re-open
git-svn-id: trunk@23035 -
2009-12-08 16:23:37 +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
4212ad71e2 ide: use debugger SrcFullName record when available
git-svn-id: trunk@22961 -
2009-12-04 14:39:47 +00:00
marc
87b819f60f - removed commented show assembler dialog code
git-svn-id: trunk@22411 -
2009-11-03 22:30:47 +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
mattias
c164ad2cce IDE: debugger: added button on Executio stopped dialog to not show message, bug #14786
git-svn-id: trunk@22123 -
2009-10-12 20:54:59 +00:00
paul
a32cbde664 ide: add Evaluate/Modify item to the source editor debug menu
git-svn-id: trunk@21976 -
2009-10-02 06:53:42 +00:00
paul
5c17d9b336 ide: watches: if selection is available then use it as a watch expression, else do as before
git-svn-id: trunk@21975 -
2009-10-02 06:29:57 +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
ce5feafb1b ide: enable/disable "Add watch" main menu item when needed
git-svn-id: trunk@21973 -
2009-10-02 03:48:41 +00:00
paul
9d6f86eeb2 ide: debugger:
- setup source menu debugger shortcuts
  - make Ctrl+F5 (add watch) shortcut work

git-svn-id: trunk@21972 -
2009-10-02 03:44:32 +00:00
paul
a27471e433 ide: add watch at cursor: add full expression instead of the current word
git-svn-id: trunk@21970 -
2009-10-02 02:44:23 +00:00
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