Commit Graph

1167 Commits

Author SHA1 Message Date
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
maxim
dacac381c6 Debugger: reduce strings duplication
git-svn-id: trunk@41016 -
2013-05-03 16:42:14 +00:00
juha
e826391389 Reimplement "IDE, Packager: harmonize some string constants"
git-svn-id: trunk@40967 -
2013-05-01 08:44:51 +00:00
juha
550d0ac8d0 Revert "IDE, Packager: harmonize some string constants"
git-svn-id: trunk@40960 -
2013-04-30 19:02:32 +00:00
juha
20be8a3fc1 IDE, Packager: harmonize some string constants
git-svn-id: trunk@40953 -
2013-04-30 13:35:06 +00:00
martin
2d3c09cd6d Debugger: Fix crash when viewing extended watch view, while dbg=history is active and selecting a previously not evaluated stack frame.
git-svn-id: trunk@40945 -
2013-04-29 23:13:07 +00:00
juha
e2f70c366f IDE: Use string const lisDefault = 'Default'
git-svn-id: trunk@40890 -
2013-04-26 08:05:34 +00:00
martin
528ac72e0e DBG: Fixed range-check on linux. Issue #23993 Patch by C Western
git-svn-id: trunk@40482 -
2013-03-04 23:05:04 +00:00
martin
4b67d787bc DBG: gdb async mode / prevent gdb on Mac 64 bit from crashing
git-svn-id: trunk@40461 -
2013-03-02 18:28:26 +00:00
martin
04652cc455 DBG: Started work on gdb async mode
git-svn-id: trunk@40412 -
2013-02-25 23:44:57 +00:00
martin
7f4d5ecb13 DBG: refactor TGDBMIDebuggerProperties to have a none publishing base class
git-svn-id: trunk@40373 -
2013-02-23 14:22:29 +00:00
martin
e6e119e440 DBG: Increase the amount of chars gdb fetches from a string (made configurable). Issue: #0023932
git-svn-id: trunk@40369 -
2013-02-23 04:16:09 +00:00
martin
93470b95dc DBG: Increase the amount of chars gdb fetches from a string (made configurable). Issue: #0023932
git-svn-id: trunk@40368 -
2013-02-23 04:01:17 +00:00
martin
4e4bffbae4 DBG: simplify getting line info (no type "pointer" needed)
git-svn-id: trunk@40205 -
2013-02-08 03:20:24 +00:00
mattias
01bdba496f IDE: clean up
git-svn-id: trunk@39964 -
2013-01-25 08:11:45 +00:00
martin
034537a23f fpdebug: fix building line info. Issue #0013989 Patch by Joost van der Sluis
git-svn-id: trunk@39564 -
2012-12-16 19:54:08 +00:00
martin
940f0cba78 fpdebug: fix compilation. Issue #0013990 Patch by Joost van der Sluis
git-svn-id: trunk@39563 -
2012-12-16 19:40:23 +00:00
martin
0cc92c4269 DBG: fix tests
git-svn-id: trunk@39489 -
2012-12-09 15:23:06 +00:00
martin
966565bfbd DBG: fixes/updates to tests
git-svn-id: trunk@39486 -
2012-12-09 13:47:35 +00:00
martin
97bda19497 DBG: optimizations (speed / display format) for array watches
git-svn-id: trunk@39467 -
2012-12-06 20:06:06 +00:00
martin
97c63bee5e DBG: Small optimizations for array watches (test)
git-svn-id: trunk@39464 -
2012-12-06 16:48:53 +00:00
martin
b4c7cffa66 DBG: Small optimizations for array watches
git-svn-id: trunk@39463 -
2012-12-06 16:43:22 +00:00
martin
65b2701940 DBG: Fixed eval of watches with class-typecase and dyn-array (stabs only)
git-svn-id: trunk@39449 -
2012-12-06 12:01:08 +00:00
martin
0810a9f599 DBG: initial stub for gdbserver (contributed by marius.maximus) http://forum.lazarus.freepascal.org/index.php/topic,19014.0/topicseen.html
git-svn-id: trunk@39386 -
2012-11-27 01:28:22 +00:00
martin
885412c1fe Updated gdb location in GDBMI for gdb in mingw\$(TargetCPU)-$(TargetOS)\bin\
git-svn-id: trunk@39375 -
2012-11-26 00:43:03 +00:00
martin
8b2d6d862c DBG: Allow adding watches by paste (from clipboard) into watches window. Part of Issue #0023368
git-svn-id: trunk@39342 -
2012-11-22 14:54:04 +00:00
martin
2473b7068d DBG: Fix range check in disassembler (64 bit debuggee). Issue #0023355
git-svn-id: trunk@39333 -
2012-11-22 00:03:36 +00:00
martin
6e09d09556 DBG: Do not treat "&" as accel-char when displaying exceptions. Issue #0023321
git-svn-id: trunk@39285 -
2012-11-15 23:50:18 +00:00
martin
346ebe18a0 DBG: Inspect-Dialog, skip update, if no change
git-svn-id: trunk@39281 -
2012-11-15 14:47:39 +00:00
martin
1a23649a97 DBG: Inspect-Dialog, prevent crash, due to nested updates
git-svn-id: trunk@39280 -
2012-11-15 14:46:30 +00:00