Commit Graph

1296 Commits

Author SHA1 Message Date
martin
e619a6f056 FPGDBMIDebug: Value handling / more typecasts
git-svn-id: trunk@43940 -
2014-02-07 13:17:32 +00:00
martin
af91af27e9 Debugger: Debug-Inspector, limit len of expression in statusbar.
git-svn-id: trunk@43938 -
2014-02-07 12:46:30 +00:00
martin
36f4de257b FPGDBMIDebug: Value handling / more typecasts
git-svn-id: trunk@43937 -
2014-02-07 12:30:12 +00:00
maxim
c5fc4f9807 Debug Inspector: improved localization
git-svn-id: trunk@43925 -
2014-02-06 23:19:44 +00:00
martin
35cffd122c Debugger: Debug-Inspector, enabled double click on row to inspect value of class/record/dyn-array members
git-svn-id: trunk@43918 -
2014-02-06 16:30:35 +00:00
martin
cc32a6f10a Dbg: Spelling
git-svn-id: trunk@43917 -
2014-02-06 16:19:05 +00:00
mattias
1fe37e15a2 fixed spelling mistakes, found by lintian
git-svn-id: trunk@43900 -
2014-02-05 12:07:46 +00:00
maxim
6bc44f578b Debugger: resourcestring typos and minor improvements
git-svn-id: trunk@43848 -
2014-01-29 23:57:07 +00:00
martin
2f5726fd2f Debugger: Avoid error state, if GDB is killed.
git-svn-id: trunk@43838 -
2014-01-29 14:27:46 +00:00
martin
07f72b88d4 Debugger: Fixed and improved: Stop/Kill GDB when debugger stops
git-svn-id: trunk@43837 -
2014-01-29 14:17:25 +00:00
martin
030f7410f2 Debugger: Fixed and improved: Stop/Kill GDB when debugger stops
git-svn-id: trunk@43836 -
2014-01-29 13:53:27 +00:00
martin
2c1c4c8b7d Debugger: Fixed argument order (overloaded)
git-svn-id: trunk@43835 -
2014-01-29 12:46:19 +00:00
martin
d5fa90b6d2 Debugger: Add timeout on kill
git-svn-id: trunk@43834 -
2014-01-29 12:45:29 +00:00
martin
00ae9f28bd FPDebug: more Value handling
git-svn-id: trunk@43833 -
2014-01-29 00:02:31 +00:00
maxim
a1dd0a69f9 Debugger: localized 'Attach to' dialog, improved its layout, regenerated translations and updated Russian one
git-svn-id: trunk@43811 -
2014-01-25 21:55:02 +00:00
maxim
ed6332fc5e Debugger: improved localization, updated Russian translation
git-svn-id: trunk@43807 -
2014-01-25 20:53:24 +00:00
martin
03651e2cfd FPDebug: more DW_AT_location
git-svn-id: trunk@43666 -
2014-01-06 23:35:59 +00:00
martin
100ac0c220 FPDebug/GDBMI: memreader via gdb
git-svn-id: trunk@43567 -
2013-12-18 22:42:49 +00:00
martin
032e431f63 Debugger: DefaultTimeout in attach code. Issue #25386
git-svn-id: trunk@43502 -
2013-11-29 23:24:42 +00:00
martin
b5772a5157 Debugger: Update registers, if stackframe changes
git-svn-id: trunk@43464 -
2013-11-19 15:26:27 +00:00
martin
ed2ad8b64b Debugger: Attach allow sorting process list
git-svn-id: trunk@43418 -
2013-11-11 00:09:04 +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
98508349df FPDebug: refactor
git-svn-id: trunk@43392 -
2013-11-07 20:59:34 +00:00
martin
a5b518939b Debugger: taborder for watch-properties
git-svn-id: trunk@43381 -
2013-11-06 01:14:01 +00:00
martin
00d03773a0 Debugger: fix internal type for gdb request (eval vs ptype)
git-svn-id: trunk@43380 -
2013-11-06 01:12:30 +00:00
martin
6be8179494 FPDebug: fixes
git-svn-id: trunk@43379 -
2013-11-06 01:11:41 +00:00
martin
3163c7673e FPDebug: fixes
git-svn-id: trunk@43377 -
2013-11-05 22:37:08 +00:00
martin
adf1d0e502 FPDebug: refactor, break circle unit ref
git-svn-id: trunk@43374 -
2013-11-04 23:42:06 +00:00
martin
dbfc98eda7 Debugger: better pid detection for attach. Issue #0025273
git-svn-id: trunk@43366 -
2013-11-03 22:30:51 +00:00
martin
bc2c1b3479 Debugger: prevent messing up the environment on windows, due to gdb bug (gdb not setting debuggee environment) / introduced in rev 42419 #03f50d973c
git-svn-id: trunk@43364 -
2013-11-03 22:16:09 +00:00
martin
0741efb881 Debugger: experimental, deferred setting of internal breaks (WITH_GDB_FORCE_EXCEPTBREAK)
git-svn-id: trunk@43363 -
2013-11-03 22:02:59 +00:00
martin
79f500ab91 Debugger: Add timeout protection for breakpoints during start up. Issue #0025277
git-svn-id: trunk@43362 -
2013-11-03 21:42:01 +00:00
martin
de89e7cd72 FPDebug: arrays
git-svn-id: trunk@43354 -
2013-11-03 01:28:04 +00:00
martin
45c0307c1b FPDebug: more tags
git-svn-id: trunk@43346 -
2013-10-31 02:00:59 +00:00
martin
6130157a41 FPDebug: more tags
git-svn-id: trunk@43338 -
2013-10-28 23:43:31 +00:00
martin
69885cfba0 Debugger: Fix mem leak in disassembler
git-svn-id: trunk@43329 -
2013-10-27 13:47:25 +00:00
martin
43df650e1e FPDebug: more dwarf types (enum)
git-svn-id: trunk@43323 -
2013-10-26 18:57:36 +00:00
martin
37802bc55d Debugger: Fix parsing class with nested record / array of record / newer gdb
git-svn-id: trunk@43318 -
2013-10-24 21:32:12 +00:00
martin
60810fa307 Debugger: Fix parsing class with nested record / array of record
git-svn-id: trunk@43317 -
2013-10-24 20:38:48 +00:00
martin
126d8b1499 FPDebug: more ptype for gdb
git-svn-id: trunk@43311 -
2013-10-23 22:50:03 +00:00
martin
5784fea1bb FPDebug: refactor / more ptype for gdb
git-svn-id: trunk@43310 -
2013-10-23 22:18:09 +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
649eb4e059 FPDebug: refactor / more ptype for gdb
git-svn-id: trunk@43305 -
2013-10-23 13:26:43 +00:00
martin
b7a2c9476f Debugger: fix disassembler testcase
git-svn-id: trunk@43303 -
2013-10-23 12:43:30 +00:00
martin
e1a4c01ac8 Debugger: improve cache / fix compare none case-sensitive
git-svn-id: trunk@43302 -
2013-10-23 12:32:20 +00:00
martin
d3bb162b11 FPDebug: refactor
git-svn-id: trunk@43299 -
2013-10-21 13:53:42 +00:00
martin
e52c2ff8d2 Debugger: Fix getting min callstack depth in some cases.
git-svn-id: trunk@43294 -
2013-10-20 18:33:56 +00:00
martin
718a99efdd FPDebug: clean up / refactor
git-svn-id: trunk@43292 -
2013-10-20 16:12:51 +00:00
paul
484e98ecf4 debugger: add pid enumeration code for Mac
git-svn-id: trunk@43290 -
2013-10-20 04:16:51 +00:00
paul
74bd6a45c6 debugger: fix compilation on mac
git-svn-id: trunk@43289 -
2013-10-20 03:24:35 +00:00
paul
f9cf79728d debugger: missing FindClose()
git-svn-id: trunk@43288 -
2013-10-20 02:26:30 +00:00
martin
8674ce5d24 Debbugger: avoid unnecessary -file-exec-and-symbol whet attaching
git-svn-id: trunk@43287 -
2013-10-19 23:43:45 +00:00
paul
d15212e123 debugger: add pid enumeration code for linux
git-svn-id: trunk@43286 -
2013-10-19 15:53:15 +00:00
martin
4dcb66e8a9 fix compile
git-svn-id: trunk@43284 -
2013-10-19 14:00:50 +00:00
martin
1644ea4275 Debugger: Nicely list processes for attach (windows only). Patch by Denis Volodarsky. / fix declaration for none windows
git-svn-id: trunk@43282 -
2013-10-19 13:51:14 +00:00
martin
8bf097e799 Debugger: Nicely list processes for attach (windows only). Patch by Denis Volodarsky.
git-svn-id: trunk@43280 -
2013-10-19 11:32:18 +00:00
martin
1e2b4bf8a7 Debugger: fix for testcase
git-svn-id: trunk@43278 -
2013-10-19 11:04:46 +00:00
martin
2c8bcdec98 FPDebug: refactor
git-svn-id: trunk@43276 -
2013-10-18 22:43:02 +00:00
martin
d064177936 Debugger: parse version / mac file encoding depends on version
git-svn-id: trunk@43255 -
2013-10-15 13:20:20 +00:00
martin
e39906a6d2 FPDebug: deal with on debug loader found
git-svn-id: trunk@43248 -
2013-10-14 11:38:59 +00:00
martin
4f8bfb32e9 Debugger: Try filename in app bundle for newer gdb
git-svn-id: trunk@43240 -
2013-10-13 21:45:10 +00:00
martin
8ae328f260 FPGDBMIDebugger: use parser for pascal expressions
git-svn-id: trunk@43221 -
2013-10-12 15:34:49 +00:00
martin
5289d90d94 FPGDBMIDebugger: starting a parser for pascal expressions / moved to package fpdebug
git-svn-id: trunk@43207 -
2013-10-11 15:24:55 +00:00
martin
5f20810780 FPGDBMIDebugger: starting a parser for pascal expressions
git-svn-id: trunk@43206 -
2013-10-11 14:05:33 +00:00
martin
a79e21d916 FPGDBMIDebugger: starting a parser for pascal expressions
git-svn-id: trunk@43199 -
2013-10-11 00:37:58 +00:00
martin
1baa61cb47 Debugger: Fix handling of backslash in strings returned by gdb (used for classname resolving)
git-svn-id: trunk@43197 -
2013-10-10 20:50:16 +00:00
martin
3c36cadea0 FPGDBMIDebugger: starting a parser for pascal expressions
git-svn-id: trunk@43196 -
2013-10-10 19:24:06 +00:00
martin
dcd8db1af2 Debugger: Fix handling of single quote in strings returned by gdb
git-svn-id: trunk@43189 -
2013-10-09 13:24:17 +00:00
martin
786941f5aa FPDebug: more reading type info
git-svn-id: trunk@43179 -
2013-10-08 18:33:34 +00:00
martin
5e07f183f4 FPGDBMIDebugger:symulate gdb's ptype for very basic requests
git-svn-id: trunk@43136 -
2013-10-06 19:59:18 +00:00
martin
58e1cb8ebf FPGDBMIDebugger: updates for latest fpdebug / better location detection
git-svn-id: trunk@43124 -
2013-10-06 13:22:09 +00:00
martin
6edf206205 Debugger: force gdb to use lang=pascal. (set after attach / needed in some environment, such as cgi in webserver)
git-svn-id: trunk@43038 -
2013-09-29 11:13:55 +00:00
martin
189a3c9fa2 Debugger: fix race condition, stopping the debugger could lead to debugger error
git-svn-id: trunk@42990 -
2013-09-27 15:43:31 +00:00
martin
55c4d9ac7e Debugger: fix disassembler, check if offset can be used
git-svn-id: trunk@42989 -
2013-09-27 14:35:38 +00:00
martin
b6abc8d962 Debugger: Spelling
git-svn-id: trunk@42988 -
2013-09-27 13:31:29 +00:00
paul
7f4caeb374 ide, components: move images related code to use FPC resource instead of Lazarus resources
git-svn-id: trunk@42984 -
2013-09-27 12:27:04 +00:00
martin
994ffaec8f Debugger: Options, do not mark project as modified, when starting debugger / reduce duplicate DoChange Calls
git-svn-id: trunk@42935 -
2013-09-25 14:50:23 +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
30f778a891 Debugger: Options, disable add/remove buttons on signal opts. Not implemented
git-svn-id: trunk@42931 -
2013-09-25 12:30:56 +00:00
martin
fa8ee6902f fp-gdbmi-debug: adapt for latest changes
git-svn-id: trunk@42928 -
2013-09-25 00:19:11 +00:00
martin
5efe201a20 Debugger: reset thread on start/init (rev 42913 #b49550e81b also did reset during run / fixed)
git-svn-id: trunk@42917 -
2013-09-23 21:54:08 +00:00
martin
b49550e81b Debugger: reset thread on start/init
git-svn-id: trunk@42913 -
2013-09-23 14:07:28 +00:00
martin
0c327b42bc FpGDBMIDbg: updated for fpdbg changes
git-svn-id: trunk@42896 -
2013-09-20 09:19:20 +00:00
martin
ec8e38b981 FpGDBMIDbg: Check nil
git-svn-id: trunk@42853 -
2013-09-18 09:05:43 +00:00
martin
09865a59b5 FpDbg: faster line info access
git-svn-id: trunk@42852 -
2013-09-18 08:58:56 +00:00
martin
fcf964aed0 Debugger: Starting FpGDBMI
git-svn-id: trunk@42810 -
2013-09-15 13:01:36 +00:00
martin
5f80553ea9 Moved fpdebug
git-svn-id: trunk@42802 -
2013-09-15 10:59:04 +00:00
mattias
1e8926baa8 IDE: clean up
git-svn-id: trunk@42801 -
2013-09-15 06:10:28 +00:00
martin
14a2fdcdd2 Debugger: Fixed handling timeouts with new instruction queue
git-svn-id: trunk@42754 -
2013-09-12 14:05:49 +00:00
martin
ba9964e386 Debugger: fixed a crash in new instruction queue (object removed by nested call)
git-svn-id: trunk@42733 -
2013-09-11 16:42:07 +00:00
martin
d32498513b Debugger: more feedback on exceptions.
git-svn-id: trunk@42719 -
2013-09-10 13:03:45 +00:00
martin
319a201329 Debugger: callstack, fix goto source, if viewing bottom of large stack (viewing from startindex > 1)
git-svn-id: trunk@42664 -
2013-09-07 15:02:23 +00:00
martin
aaa03b60ab Debugger: fixed crash in callstack (when stop debugging while waiting for stack info)
git-svn-id: trunk@42643 -
2013-09-06 15:03:24 +00:00
martin
68bb020129 Debugger: fixed getting callstack (could go into an endless loop)
git-svn-id: trunk@42641 -
2013-09-06 14:27:05 +00:00
mattias
68f770207b IDE: less hints
git-svn-id: trunk@42606 -
2013-09-05 10:09:30 +00:00
martin
f3f8559736 dbg: remove comment/todo (no longer needed)
git-svn-id: trunk@42585 -
2013-09-04 09:16:01 +00:00
martin
05147efc44 Debugger: Do not crash IDE, if gdb.exe is invalid
git-svn-id: trunk@42542 -
2013-09-01 13:34:39 +00:00
martin
fc3240996d Debugger: Filenames (for line-info) must be case-sensitive
git-svn-id: trunk@42495 -
2013-08-25 11:51:59 +00:00
martin
b20db9cf61 IDE: fix layout of feedback dialog (used by debugger)
git-svn-id: trunk@42494 -
2013-08-25 11:50:01 +00:00
martin
03d18a15a7 Debugger: fixed recent introduced crash in stack window (limited depth eval)
git-svn-id: trunk@42486 -
2013-08-24 22:57:46 +00:00
martin
29b54897b6 Dbg: remove some accidentally committed debugln
git-svn-id: trunk@42468 -
2013-08-23 20:40:24 +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
046ae2d487 Debugger: add safety lock
git-svn-id: trunk@42457 -
2013-08-23 09:49:59 +00:00
martin
5d0cb55801 Debugger: More TGDBInstructionQueue / eval hints, even if debugger busy (allow nested calls)
git-svn-id: trunk@42453 -
2013-08-22 21:50:49 +00:00
martin
db2b1a5ccf Debugger: More TGDBInstructionQueue / fix selecting/changing threads
git-svn-id: trunk@42452 -
2013-08-22 20:11:21 +00:00
martin
3c8a3256e9 Debugger: More TGDBInstructionQueue / prepare to allow nested calls
git-svn-id: trunk@42451 -
2013-08-22 19:18:05 +00:00
martin
13bd274252 Debugger: Ensure queue lock during gdb communications
git-svn-id: trunk@42450 -
2013-08-22 18:28:55 +00:00
martin
3dbf110c44 Debugger: Make sure OnIdle is called with small timeouts too
git-svn-id: trunk@42449 -
2013-08-22 18:09:29 +00:00
martin
afeab888d1 Debugger: More TGDBInstructionQueue / clean up / force stack for stepping
git-svn-id: trunk@42448 -
2013-08-22 13:25:55 +00:00
martin
ae48b1dba1 Debugger: resource strings / clean up
git-svn-id: trunk@42445 -
2013-08-21 23:31:56 +00:00
martin
32871c5786 Debugger: update thread id
git-svn-id: trunk@42444 -
2013-08-21 23:06:04 +00:00
martin
28b35a4e08 Debugger: More TGDBInstructionQueue / handle internal error
git-svn-id: trunk@42443 -
2013-08-21 23:00:12 +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
a7975265e6 Debugger: force exit, on destroy.
git-svn-id: trunk@42435 -
2013-08-20 21:47:59 +00:00
martin
299e040458 Debugger: cleanup, remove/merge old values
git-svn-id: trunk@42434 -
2013-08-20 20:30:15 +00:00
martin
9f79ea9d97 Debugger: Started TGDBInstructionQueue
git-svn-id: trunk@42430 -
2013-08-20 09:23:28 +00:00
martin
ef6c0db331 debugger: fixed compile warning
git-svn-id: trunk@42429 -
2013-08-20 08:07:16 +00:00
martin
8ad2de8e3a debugger: clean up, removed TGDBMIExpression (an never finished attempt to support pre gdb 5.2)
git-svn-id: trunk@42424 -
2013-08-18 19:38:53 +00:00
martin
210a2febb7 debugger: allow reset in startup, once pid is known / fix leak from rev 42419 #03f50d973c
git-svn-id: trunk@42422 -
2013-08-18 13:17:20 +00:00
martin
35ec9d7384 debugger: add safety check
git-svn-id: trunk@42420 -
2013-08-18 09:53:29 +00:00
martin
03f50d973c Debug: Set LANG env, to prevent localisation
git-svn-id: trunk@42419 -
2013-08-18 09:41:22 +00:00
martin
546b66762a dbg, warn on internal gdb error
git-svn-id: trunk@42414 -
2013-08-16 22:49:26 +00:00
martin
0d072f2c40 dbg: publish async mode flag only for normal gdb
git-svn-id: trunk@42413 -
2013-08-16 22:16:21 +00:00
martin
f3b91ef924 dbg: allow reset debugger in start up (async only)
git-svn-id: trunk@42412 -
2013-08-16 22:10:52 +00:00
martin
c9b03b1624 dbg(gdbserver): reset gdb after use
git-svn-id: trunk@42408 -
2013-08-15 19:17:47 +00:00
martin
df725a2c85 dbg: publish async mode flag
git-svn-id: trunk@42407 -
2013-08-15 17:19:42 +00:00
martin
6bb8e2ef01 dbg: clean up
git-svn-id: trunk@42406 -
2013-08-15 17:19:05 +00:00
martin
e90a1cadbf dbg: add basic support for gdbserver
git-svn-id: trunk@42405 -
2013-08-15 16:16:23 +00:00
martin
1f37272726 dbg: fix parsing mangled func-name
git-svn-id: trunk@42404 -
2013-08-15 15:50:30 +00:00
martin
b7410e5152 debugger: parse func arg in mangled names, issue #0024641
git-svn-id: trunk@42398 -
2013-08-14 08:20:30 +00:00
martin
380a764b8c Fix IDE does not end debugger state (processdebugger / dbg=none), if exe can not be started. issue #0024809
git-svn-id: trunk@42358 -
2013-08-05 19:13:44 +00:00
martin
a61f67bb91 Debugger: fix crash if search for parent-fp is aborted (dcsCanceled, DebuggerState=dsError)
git-svn-id: trunk@42178 -
2013-07-23 03:09:47 +00:00
paul
7d31d49396 debugger: prefix debug output with 'Debug Output: ' string
git-svn-id: trunk@42105 -
2013-07-16 07:48:09 +00:00
martin
a955cab41f fpdebug, updates (fix compile): issue #0024525
git-svn-id: trunk@41921 -
2013-06-27 14:52:43 +00:00
martin
d8a0270a7a dbg: start fallback location detection
git-svn-id: trunk@41870 -
2013-06-24 15:22:56 +00:00
mattias
dd3feb148b IDE: changed processdebugger to TProcessUTF8
git-svn-id: trunk@41786 -
2013-06-22 08:08:24 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
martin
b58cb7c0dd Debugger: Fixes Inspector / make sure page is visible
git-svn-id: trunk@41300 -
2013-05-19 16:09:23 +00:00
martin
7ad5db263c Debugger: more utf8 for strings in watches
git-svn-id: trunk@41298 -
2013-05-19 15:38:54 +00:00
martin
8cd36744ea Debugger: more utf8 for strings in locals
git-svn-id: trunk@41293 -
2013-05-19 13:00:54 +00:00
martin
8357d5ad1f Debugger: backslash handling in locals
git-svn-id: trunk@41279 -
2013-05-19 11:14:17 +00:00
martin
ddad97db02 Debugger: clean up
git-svn-id: trunk@41275 -
2013-05-19 10:38:48 +00:00
martin
792b67b47b Debugger: clean up
git-svn-id: trunk@41273 -
2013-05-19 09:44:15 +00:00
martin
c891a78124 Debugger: Started utf8 for strings in locals
git-svn-id: trunk@41270 -
2013-05-19 01:15:23 +00:00
martin
c07a177c41 Debugger: testcase for utf8 in exceptions
git-svn-id: trunk@41266 -
2013-05-18 23:51:24 +00:00
martin
5eda51845b Debugger: fixed handling of single quotes in string-watches (moved implementation to correct place) follow up revision 41233 #1d623aeab7
git-svn-id: trunk@41265 -
2013-05-18 23:43:49 +00:00
martin
4491daff55 Debugger: Improved shortstring, do not expose internal record fields
git-svn-id: trunk@41260 -
2013-05-18 20:31:14 +00:00
martin
6cb4b3e1fd Debugger: utf8 content for event-log (warnings/OutputDebugString). Issue #24353
git-svn-id: trunk@41240 -
2013-05-17 18:45:04 +00:00
martin
1d623aeab7 Debugger: Improved shortstring detection. Started to handle strings with utf8 content
git-svn-id: trunk@41233 -
2013-05-17 10:26:51 +00:00
martin
9c1ebbdadc Debugger: Fix for testcase
git-svn-id: trunk@41224 -
2013-05-16 15:44:28 +00:00