Commit Graph

452 Commits

Author SHA1 Message Date
martin
18335859cc IDE, Debugger: detect if stackframes can be retrieved
git-svn-id: trunk@58372 -
2018-06-21 13:08:12 +00:00
martin
cef14db081 DebuggerIntf: Refactor, evaluate now takes a callback
git-svn-id: trunk@58238 -
2018-06-12 22:58:35 +00:00
martin
d3e24d3a93 Debugger: improved finding files from unsaved projects
git-svn-id: trunk@58225 -
2018-06-11 00:09:57 +00:00
martin
c7fe5d1822 IDE, Debugger: Implemented symbol for pending breakpoint (used for code in libraries(dll/so), before it is loaded)
git-svn-id: trunk@57193 -
2018-01-30 19:44:26 +00:00
martin
0bcb49ed21 Debugger: Allow pause button to abort auto-continue of breakpoint
git-svn-id: trunk@57103 -
2018-01-16 18:13:40 +00:00
martin
dee589f02f Debugger: Do not always auto adjust the stackframe when stopping. (temp fix) Issue #0032978
git-svn-id: trunk@57089 -
2018-01-14 15:20:49 +00:00
ondrej
c03b941642 IDE: implement several RunParameters modes. Issue #21379
git-svn-id: trunk@56762 -
2017-12-17 11:24:49 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
martin
fde0802695 Debugger: remove/replace wrong assert. Filename may start with ./ (e.g. ./subfolder/file.pas ), if project has files in subfolder (maybe it is possible to omit trimfilename ?)
git-svn-id: trunk@56494 -
2017-11-25 12:20:13 +00:00
juha
6a0191fb70 Formatting for IDEQuestionDialog parameters.
git-svn-id: trunk@56346 -
2017-11-10 08:46:19 +00:00
juha
0e07a10a03 IdeIntf: New notify handler RunFinished. Issue #32617, patch from Pascal Riekenberg.
git-svn-id: trunk@56254 -
2017-10-31 21:13:40 +00:00
juha
4d597500d4 DebugManager: Cleanup.
git-svn-id: trunk@56141 -
2017-10-21 16:30:18 +00:00
mattias
07104a2774 IDE: less hints
git-svn-id: trunk@55772 -
2017-09-02 09:14:57 +00:00
juha
51ca7791dc Revert r55547 #9fae108464. FindFullFilenameSrc is called on Windows.
git-svn-id: trunk@55550 -
2017-07-20 16:46:08 +00:00
juha
9fae108464 Debugger: Raise an exception in a seemingly unused function FindFullFilenameSrc.
git-svn-id: trunk@55547 -
2017-07-20 14:23:37 +00:00
juha
c94618ffa5 Debugger: Shortcuts when debug filename is empty.
git-svn-id: trunk@55546 -
2017-07-20 14:23:31 +00:00
juha
b29a46c876 Debugger: Simplify getting the full name of debugged file.
git-svn-id: trunk@55545 -
2017-07-20 13:56:50 +00:00
ondrej
3ec399d85a CodeTools: add "Avoid unnecessary jumps" option, make it default.
git-svn-id: trunk@55031 -
2017-05-21 18:14:51 +00:00
juha
92ebfa019f IDE: Use symlinks when opening file for debugging. Improved version. Issue #31577, patch from Artyom.
git-svn-id: trunk@54572 -
2017-04-08 09:22:51 +00:00
juha
679a0eb54d Revert r54505 #04365103ff. Issue #31577 must be solved properly later.
git-svn-id: trunk@54546 -
2017-04-06 18:11:39 +00:00
juha
04365103ff IDE: Use symlinks when opening a file for debugging. Issue #31577, patch from Artyom.
git-svn-id: trunk@54505 -
2017-04-01 07:17:17 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
juha
41c4fca494 IDE: Improve an invalid application name shown in error message.
git-svn-id: trunk@53684 -
2016-12-14 16:05:58 +00:00
mattias
8eca0ff4a0 IDE: less hints
git-svn-id: trunk@53612 -
2016-12-09 09:05:10 +00:00
ondrej
7074c04587 ide: FPC 2.6.4 compatibility
git-svn-id: trunk@53603 -
2016-12-08 13:54:43 +00:00
ondrej
ca66ef0c1c DebuggerIntf: Add interface to format debugger variable values.
IDE: Show formatted values in watches dialog, locals dialog and smart hint. Add default formatters for TDate/TDateTime/TTime variables.

git-svn-id: trunk@53372 -
2016-11-16 13:30:24 +00:00
mattias
36d42e0d9c IDE: clean up deprecated
git-svn-id: trunk@53140 -
2016-10-17 13:35:07 +00:00
ondrej
82df661d71 ide: register debugmanager commands for toolbars
git-svn-id: trunk@51693 -
2016-02-25 04:10:47 +00:00
ondrej
1c6348c711 IDE: fixed debugger menu commands.
git-svn-id: trunk@50198 -
2015-10-29 11:52:52 +00:00
mattias
9b0d4c01b6 IDE+LCL: debugging Disable/EnableAutoSizing
git-svn-id: trunk@50176 -
2015-10-26 21:34:11 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
5286b35a45 IDE: New class and variable/property for desktop settings in environment options.
git-svn-id: trunk@49432 -
2015-06-24 16:12:31 +00:00
juha
f61f5b2163 IDE: Replace Main Toolbars with a Coolbar. Issue #27603, patch from Balázs Székely.
git-svn-id: trunk@48522 -
2015-03-27 18:34:57 +00:00
juha
fbbe781a3c DebugManager: fix an error in earlier commit when initializing a variable.
git-svn-id: trunk@48454 -
2015-03-22 11:54:27 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
mattias
a7775e6cc5 IDE: clean up
git-svn-id: trunk@48195 -
2015-03-10 11:23:51 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
martin
91ef0ea2a5 Debugger (gdb): fixed finding src and line (lines were missing) from fpc mangled names. Issue #0024641
git-svn-id: trunk@47536 -
2015-01-26 23:07:13 +00:00
mattias
fc081bce45 IDE: debug
git-svn-id: trunk@47534 -
2015-01-26 22:36:23 +00:00
mattias
814cf1a717 lazutils: FindInvalidUTF8Character: check for wrong mapped codes, changed default to report gaps
git-svn-id: trunk@47172 -
2014-12-10 14:26:18 +00:00
mattias
d7122737e1 IDEIntf: renamed TDebuggerIntf.HasExePath to NeedsExePath, old kept as deprecated
git-svn-id: trunk@47106 -
2014-12-04 18:42:47 +00:00
mattias
599eb6c7ed IDE: debugger: set breakpoint check debug exe only if needed
git-svn-id: trunk@46936 -
2014-11-21 12:39:58 +00:00
mattias
4c878ad87d IDE: debugger: check if exe is there only if HasExePath
git-svn-id: trunk@46912 -
2014-11-20 22:22:04 +00:00
juha
53765b59dd IDE: formatting. Format some resource strings so that line changes together with %s referring to LineEnding.
git-svn-id: trunk@45553 -
2014-06-16 18:00:06 +00:00
juha
45a06804fd IDE: adjust lineendings of some resource strings.
git-svn-id: trunk@45551 -
2014-06-16 17:59:56 +00:00
juha
4fbeea1dfd IDE: ... and more hard-coded quotations in resourcestrings.
git-svn-id: trunk@45521 -
2014-06-15 11:52:27 +00:00
juha
a912107bf0 IDE: More hard-coded quotations in resourcestrings.
git-svn-id: trunk@45520 -
2014-06-15 11:52:15 +00:00
martin
8f61d1cc35 IDE, Debugger: Do not move dbg windows when they are partly out of screen, and visible
git-svn-id: trunk@45012 -
2014-05-11 18:05:22 +00:00
martin
e8d0b0687b Debugger: Ask to add RunError to ignored exceptions
git-svn-id: trunk@44740 -
2014-04-16 03:44:21 +00:00
martin
3d8ea62914 Debugger: refactor
git-svn-id: trunk@44467 -
2014-03-18 19:26:04 +00:00
martin
c0924d71a4 Debugger: refactor
git-svn-id: trunk@44463 -
2014-03-18 02:45:28 +00:00
martin
ed539caf03 Debugger: refactor register
git-svn-id: trunk@44216 -
2014-02-24 01:44:49 +00:00
martin
f3a81d758c Debugger/GDBMI: Clean up IDE
git-svn-id: trunk@44160 -
2014-02-19 01:50:29 +00:00
mattias
5a07230297 IDE: clean up
git-svn-id: trunk@44146 -
2014-02-18 18:47:15 +00:00
martin
e38b958e04 Debugger/DbgIntf: Moved code to DebuggerIntf package
git-svn-id: trunk@44097 -
2014-02-16 14:29:53 +00:00
martin
3f415797e4 Debugger: put some common types into DbgIntf
git-svn-id: trunk@44079 -
2014-02-15 01:31:30 +00:00
martin
165fa57622 Debugger: Attach, Darwin, try and get process-list via gdb. Issue #0025302 Patch by Joost van der Sluis
git-svn-id: trunk@43417 -
2013-11-10 23:32:18 +00:00
martin
0148216198 Debugger: Change ExceptionList to one list (no master/slave), fix debugger follows config which exceptions to ignore.
git-svn-id: trunk@43306 -
2013-10-23 14:28:25 +00:00
martin
03718c93d9 Debugger: fix adding watch via dialog. Open watch view window
git-svn-id: trunk@43304 -
2013-10-23 12:53:12 +00:00
martin
fbfa1eb74e Debugger: Options, do not mark project as modified, when starting debugger (with breakpoints set). Issue #0025073
git-svn-id: trunk@42934 -
2013-09-25 14:14:55 +00:00
martin
07ca34b2bc Debugger: Options, mark project as modified, when exceptions are enabled/disabled. Issue #0025074
git-svn-id: trunk@42932 -
2013-09-25 12:32:35 +00:00
martin
4c52e89cc2 Debugger: Disable logging of stackdump during unit lookup
git-svn-id: trunk@42856 -
2013-09-18 11:17:12 +00:00
martin
91c6dfa11f Debugger: lock queue while handling breakpoint
git-svn-id: trunk@42667 -
2013-09-07 16:40:46 +00:00
martin
5944e6f470 Debugger: limit the depth of stack evaluation / avoid long wait, if stack is very deep, and only top is needed.
git-svn-id: trunk@42461 -
2013-08-23 13:19:30 +00:00
martin
cf9f00ceef Debugger: More TGDBInstructionQueue / automatic thread/stack switching
git-svn-id: trunk@42442 -
2013-08-21 13:40:31 +00:00
martin
2df276e409 dbg(gdbserver): reset gdb after use
git-svn-id: trunk@42411 -
2013-08-16 12:19:39 +00:00
martin
e90a1cadbf dbg: add basic support for gdbserver
git-svn-id: trunk@42405 -
2013-08-15 16:16:23 +00:00
mattias
ff5f02afd2 IDE: callstack: search source via mangled function name
git-svn-id: trunk@41929 -
2013-06-27 17:20:03 +00:00
martin
d8a0270a7a dbg: start fallback location detection
git-svn-id: trunk@41870 -
2013-06-24 15:22:56 +00:00
mattias
7bcb1b24a9 IDE: replaced some MessageDlg with IDEMessageDialog
git-svn-id: trunk@41499 -
2013-06-02 17:54:22 +00:00
mattias
efec9f2a26 IDE: replaced some MessageDlg with IDEMessageDialog
git-svn-id: trunk@41497 -
2013-06-02 17:27:09 +00:00
martin
ea3947b2e5 DBG: fixed changing debugger-class
git-svn-id: trunk@40404 -
2013-02-25 16:07:06 +00:00
martin
b0299832bb clean up (added "optional" semicolons)
git-svn-id: trunk@40396 -
2013-02-24 18:51:43 +00:00
zeljko
7330294168 IDE: fixed restoring designed form when HideIDEWindowsOnRun = true. issue #22535
git-svn-id: trunk@40177 -
2013-02-04 14:11:10 +00:00
martin
2e47a30822 IDE: prevent debugger from entering invalid state, if started again before completely stopped. For info see issue #0023800
git-svn-id: trunk@40097 -
2013-01-31 19:03:40 +00:00
martin
7f16e6cc64 DBG: improved unit search
git-svn-id: trunk@39890 -
2013-01-19 13:22:36 +00:00
martin
a99a932801 DBG: Fix updating Inspect dialog, if triggered via source-editor (pop-up menu)
git-svn-id: trunk@39290 -
2012-11-16 15:43:16 +00:00
martin
f3f7450f44 Debugger: Disable "run to cursor" when debugger is stopped. This command is limited to the current frame (function). It can not be used to start a project. (also disable dcJumpTo, dcStepOut)
git-svn-id: trunk@39042 -
2012-10-10 23:00:51 +00:00
juha
672f5bd862 Replace #13 with LineEnding in many messages. It didn't show correctly on Linux systems.
git-svn-id: trunk@38633 -
2012-09-13 06:39:56 +00:00
martin
696d0835c2 Debugger: added Attach/Detach
git-svn-id: trunk@38544 -
2012-09-06 17:17:38 +00:00
martin
b34b609f50 Debugger: added Attach/Detach
git-svn-id: trunk@38536 -
2012-09-06 12:41:24 +00:00
martin
52a8471216 DBG: Omit check for local files, when using GDB over ssh. Issue #0021834
git-svn-id: trunk@37125 -
2012-05-01 17:08:32 +00:00
martin
b4ed549862 DBG: Fix compilation. Broke in r 37091 : Omit check for local files, when using GDB over ssh.
git-svn-id: trunk@37097 -
2012-04-29 22:19:32 +00:00
martin
537e40a7d9 DBG: Omit check for local files, when using GDB over ssh. Issue #0021834
REQUIRES r 37097 to fix compilation

git-svn-id: trunk@37091 -
2012-04-29 18:39:54 +00:00
martin
c2fa27acf1 Fix crash in dbg-console, if dbg not active. issue #21712
git-svn-id: trunk@36795 -
2012-04-15 13:36:30 +00:00
mattias
f8a61521aa IDE: debugfilename, debugsearchpath: use same function as other env vars to resolve macros, trim and find
git-svn-id: trunk@36682 -
2012-04-09 17:00:35 +00:00
mattias
2a90441323 lazbuild: fixed using lcl questiondlg
git-svn-id: trunk@36201 -
2012-03-21 23:16:09 +00:00
mattias
3e9e907062 IDE: switched to new laz2_xml
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
martin
5a1360baf1 LazLogger, introduce base and dummy classes
git-svn-id: trunk@35778 -
2012-03-06 19:36:11 +00:00
martin
e1ddbfcb9a DBG: allow run to work already while watches are evaluated (same as step does)
git-svn-id: trunk@35557 -
2012-02-22 15:38:14 +00:00
juha
2550bbf3be IDE: unify some common resource strings. Add hints for Path Edit dialog
git-svn-id: trunk@35361 -
2012-02-13 19:57:58 +00:00
martin
fcdd4f6bf0 DBG: move same debugln to LazLogger cmd-line config
git-svn-id: trunk@35342 -
2012-02-12 23:33:11 +00:00
juha
4ef51619f5 IDE: collect common resource strings in one place, remove duplicates
git-svn-id: trunk@35321 -
2012-02-12 13:04:36 +00:00
martin
b3e1fbdbdf DBG: ensure, existing "ignored exceptions" are re-enabled, if user requests
git-svn-id: trunk@35254 -
2012-02-09 00:20:21 +00:00
martin
459570ae4e DBG: Fixed crash in ResetDebugger when closing the IDE
git-svn-id: trunk@35235 -
2012-02-08 16:23:27 +00:00
martin
728880b814 DBG: Reset, if project changed. issue #18468
git-svn-id: trunk@35229 -
2012-02-07 22:27:24 +00:00
mattias
c9ffd2f60c IDE: resolve macros in project title
git-svn-id: trunk@35044 -
2012-01-31 00:22:13 +00:00
martin
24b800d7f0 DBG: fixed problem, when removing breakpoint at the wrong moment
git-svn-id: trunk@34973 -
2012-01-27 11:48:04 +00:00
martin
34c3888d83 DBG: add option to reset debugger after each run
git-svn-id: trunk@34925 -
2012-01-25 15:05:21 +00:00
juha
91451a8f52 IDE: fix spelling
git-svn-id: trunk@34869 -
2012-01-22 14:22:23 +00:00