Commit Graph

1199 Commits

Author SHA1 Message Date
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