Commit Graph

1361 Commits

Author SHA1 Message Date
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
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
martin
a4d154fe15 DBG: Fix a problem in DBG_WITH_GDB_WATCHES
git-svn-id: trunk@39140 -
2012-10-19 08:53:09 +00:00
martin
d9e86fb1d8 DBG: fixed an endless loop in watch eval (eval typecast pointer to record)
git-svn-id: trunk@39131 -
2012-10-18 16:38:51 +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
martin
a8550d383a DBG: Update watch detail pane, when viewing snapshots
git-svn-id: trunk@38941 -
2012-10-02 01:08:14 +00:00
martin
f8dbcc135d DBG: Fix setting stackframe for hint eval, after searching for highest source-frame.
git-svn-id: trunk@38922 -
2012-09-30 15:23:53 +00:00
paul
7ebd846c4a debugger: fix range check
git-svn-id: trunk@38783 -
2012-09-21 11:47:02 +00:00
martin
2b31afc2e6 DBG: Fix for gdb 7.5
git-svn-id: trunk@38725 -
2012-09-18 01:57:21 +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
c410493ade DBG, Attach: catch exceptions
git-svn-id: trunk@38611 -
2012-09-10 20:10:20 +00:00
juha
f59a711290 Debugger: fix tab-order in Evaluate/Modify window
git-svn-id: trunk@38602 -
2012-09-09 16:25:08 +00:00
martin
1c453ed8bf DBG, Asm-Dlg: Fix Scrollbars
git-svn-id: trunk@38545 -
2012-09-06 17:30:25 +00:00
martin
696d0835c2 Debugger: added Attach/Detach
git-svn-id: trunk@38544 -
2012-09-06 17:17:38 +00:00
martin
80283e5a89 Debugger: added Attach/Detach
git-svn-id: trunk@38537 -
2012-09-06 13:04:05 +00:00
martin
b34b609f50 Debugger: added Attach/Detach
git-svn-id: trunk@38536 -
2012-09-06 12:41:24 +00:00
martin
91d58f99ce Debugger: Workaround to fix exe-line-indicators (blue dots) at debug start
git-svn-id: trunk@38531 -
2012-09-05 17:00:19 +00:00
martin
acb5e8bc8c Debugger: Ensure Queue is not blocked by LineInfo Request. (If a LineInfoRequest was queued the DebuggerCurrentLine could not search the stack, as commands were not immediately run
git-svn-id: trunk@38509 -
2012-09-03 20:47:24 +00:00
martin
a87069388e Debugger: Improved detection of PID (for newer GDB)
git-svn-id: trunk@38506 -
2012-09-03 19:01:14 +00:00
mattias
c07d86fd39 IDE: assembler window: disabled form scrollbars
git-svn-id: trunk@38492 -
2012-09-02 17:11:36 +00:00
juha
8297ee1f08 Sort ListViews by column click around in many places.
git-svn-id: trunk@38289 -
2012-08-20 18:05:46 +00:00
martin
5aec499a5b DBG: Tests argv
git-svn-id: trunk@37964 -
2012-07-18 16:57:29 +00:00
martin
356f9cf685 DBG: Tests argv
git-svn-id: trunk@37963 -
2012-07-18 14:06:22 +00:00
martin
3e7175b81e DBG: argv encoding
git-svn-id: trunk@37962 -
2012-07-18 14:06:17 +00:00
martin
cc1d668601 DBG: Disable rangechecks for certain PtrUInt casts
git-svn-id: trunk@37961 -
2012-07-17 10:57:14 +00:00
martin
906597041e DBG / TEST: missing file
git-svn-id: trunk@37952 -
2012-07-15 18:54:41 +00:00
martin
e4c3f797a6 DBG / TEST: fixed endless loop in watch eval (auto type cast) Issue #0022425
git-svn-id: trunk@37951 -
2012-07-15 18:46:10 +00:00
martin
0336b51995 DBG: fixed endless loop in watch eval (auto type cast) Issue #0022425
git-svn-id: trunk@37950 -
2012-07-15 18:46:02 +00:00
martin
74f97a8872 DBG: Prevent a crash, when the selected snapshot is deleted. Can also happen when starting the debugger, while a snapshot from previous run is active
git-svn-id: trunk@37945 -
2012-07-14 22:11:16 +00:00
martin
10334ca035 DBG: Prevent build up of no longer needed commands in queue
git-svn-id: trunk@37921 -
2012-07-12 16:14:36 +00:00
martin
c333eda9b8 DBG: Prevent potential crash in (dbg-)OnIdle handling
git-svn-id: trunk@37920 -
2012-07-12 15:06:14 +00:00
martin
27ad4cf344 DBG: Prevent potential crash/memory-corruption in Watches
git-svn-id: trunk@37919 -
2012-07-12 14:53:43 +00:00
martin
ee1253c86f DBG: Improve display of dyn array
git-svn-id: trunk@37903 -
2012-07-09 14:20:16 +00:00
martin
544ee94c5a DBG: clean up debugln
git-svn-id: trunk@37889 -
2012-07-06 13:00:36 +00:00
martin
09c3e91542 DBG: fixed parsing sets for debug-inspector
git-svn-id: trunk@37885 -
2012-07-06 01:14:41 +00:00
martin
af616044d3 DBG: Pseudo-Terminal, accept tabs
git-svn-id: trunk@37841 -
2012-07-01 15:24:34 +00:00
martin
68dcd42126 DBG: Fix handling console input
git-svn-id: trunk@37838 -
2012-07-01 14:20:24 +00:00
martin
788a19edd4 DBG: Fixed IDE hang, introduced in rev 37809 #1b6c227bd8 "Thread window: update while running"
git-svn-id: trunk@37813 -
2012-06-28 10:43:27 +00:00
martin
1b6c227bd8 DBG, Thread window: update while running
git-svn-id: trunk@37809 -
2012-06-27 23:08:55 +00:00
martin
a144943e7b DBG: Event-Log: Do not cache Options. Allow user to change options while debugging
git-svn-id: trunk@37722 -
2012-06-22 14:01:56 +00:00
martin
5416ac2ed8 DBG: Dialogs, don't give help related commands to IDE. They will be ignored
git-svn-id: trunk@37697 -
2012-06-19 23:41:45 +00:00
martin
d5e288e7d7 DBG: Fixed possible crash in watch evaluation (WatchValue freed while evaluating / in GetValue)
git-svn-id: trunk@37694 -
2012-06-19 18:56:14 +00:00
maxim
2eb2b52177 Debugger, Evaluate/Modify dialog: improved localization
git-svn-id: trunk@37676 -
2012-06-17 19:50:43 +00:00
martin
38fd73abd1 DBG: fixed a out of index error, in watches history
git-svn-id: trunk@37657 -
2012-06-15 17:51:17 +00:00
martin
dbd226b8aa DBG: Disassembler: prevent disassembler from doing large address ranges, if gdb returns data with far away addresses. Issue #0022230
git-svn-id: trunk@37643 -
2012-06-14 11:56:59 +00:00
martin
d1893619b7 DBG: Evaluate, keep previous results. Patch by Ludo Brands. Issue #0022196
git-svn-id: trunk@37618 -
2012-06-11 13:14:13 +00:00
martin
be4ab40c93 DBG: Evaluate, keep previous results. Patch by Ludo Brands. Issue #0022196
git-svn-id: trunk@37611 -
2012-06-10 22:40:45 +00:00
martin
a5979be214 DBG: Avoid re-queuing of dis-assembler requests, after cancelling it. Part of issue #0022230
git-svn-id: trunk@37609 -
2012-06-10 17:15:21 +00:00
martin
881e5cb6d1 DBG: Added interface fer testing/developing new dbg features
git-svn-id: trunk@37510 -
2012-06-04 12:13:30 +00:00
martin
43c0c47821 DBG: undo r37486 #4d0137d86b
git-svn-id: trunk@37501 -
2012-06-03 14:35:34 +00:00
martin
81b59794a6 DBG: clean up (r37486)
git-svn-id: trunk@37489 -
2012-06-02 19:59:50 +00:00
martin
e3d3ab2c54 DBG: Cancel LineInfo, if unit is closed in editor
git-svn-id: trunk@37488 -
2012-06-02 19:58:36 +00:00
martin
eccbedf9b1 DBG: Avoid reading stack when exe has stopped
git-svn-id: trunk@37487 -
2012-06-02 19:56:16 +00:00
martin
4d0137d86b DBG: start implementation to "RunQueue" in ASync handler. Issue #0022172
git-svn-id: trunk@37486 -
2012-06-02 19:54:12 +00:00
martin
50e5a166c9 DBG: Improved parsing of class structure (for new watch window detail pane)
git-svn-id: trunk@37456 -
2012-05-29 22:04:01 +00:00
martin
bbf31875cd DBG: implemented "Repeat Count" for watches
git-svn-id: trunk@37455 -
2012-05-29 20:46:36 +00:00
martin
e8b7145331 DBG: minor refactor (Watches)
git-svn-id: trunk@37445 -
2012-05-28 18:08:27 +00:00
martin
c319ad6bd8 DBG: Watches, save "Use instance class" to config
git-svn-id: trunk@37444 -
2012-05-28 15:20:17 +00:00
martin
dce6409cc1 DBG: do not set temporary stack = -1 in thread changing. This may cause errors
git-svn-id: trunk@37440 -
2012-05-27 22:59:11 +00:00
martin
38a49eae3f DBG: Fixed gdb result parser for empty sub-record
git-svn-id: trunk@37435 -
2012-05-27 14:08:50 +00:00
juha
15294f2cb3 Debugger: Apply the saved layout of Inspect Dialog
git-svn-id: trunk@37424 -
2012-05-26 08:36:35 +00:00
juha
b448e67ef1 Debugger: Apply the saved layout of Evaluate Dialog
git-svn-id: trunk@37423 -
2012-05-26 08:36:30 +00:00
mattias
e633d0721b IDE: debugger options: check the resolved file, bug #22086
git-svn-id: trunk@37373 -
2012-05-21 08:37:05 +00:00
martin
c070b17f46 DBG: Fixed array len for 64 bit
git-svn-id: trunk@37368 -
2012-05-20 23:38:26 +00:00
martin
e3eb90decf DBG: extend watch-view window with a detailed view pane (inspect) for the selected value. based on issue #0021990 by Darius Blaszijk --- keep button enabled
git-svn-id: trunk@37260 -
2012-05-12 17:40:41 +00:00
martin
08be80ba31 DBG: extend watch-view window with a detailed view pane (inspect) for the selected value. based on issue #0021990 by Darius Blaszijk
git-svn-id: trunk@37259 -
2012-05-12 17:25:52 +00:00
martin
90421f39ec DBG: Inspect, allow to enter expression
git-svn-id: trunk@37253 -
2012-05-11 10:37:40 +00:00
martin
a8077ac2d8 DBG: Improve start-up to work with bug in gdb 7.4
git-svn-id: trunk@37234 -
2012-05-10 00:26:23 +00:00
martin
c742e08c1d DBG: Inspect window, improve scrolling
git-svn-id: trunk@37232 -
2012-05-09 14:28:42 +00:00
martin
d403a03802 DBG: Fix a possible crash in debugger (history). Issue #0021901
git-svn-id: trunk@37116 -
2012-04-30 21:24:36 +00:00
martin
6d77dc76e7 DBG: Watches, added inspect/evaluate to popup
git-svn-id: trunk@37107 -
2012-04-30 16:17:52 +00:00
martin
cac7a2cac5 DBG: Register Copy Name/Value to clipboard. Issue #0021860
git-svn-id: trunk@37106 -
2012-04-30 16:00:05 +00:00
martin
0ce265622c DBG: Watches Copy Name/Value to clipboard. Issue #0021860
git-svn-id: trunk@37105 -
2012-04-30 14:16:59 +00:00
martin
d5584e2893 DBG (via SSH): additional options for ssh, separate field to specify gdb
git-svn-id: trunk@37094 -
2012-04-29 21:05:21 +00:00
martin
c8398bb037 DBG: Testcase: fixed reading env-options
git-svn-id: trunk@37093 -
2012-04-29 19:01:09 +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
mattias
3068fe7d5d IDE: clean up
git-svn-id: trunk@37077 -
2012-04-29 10:25:45 +00:00
martin
0a35a31f1d DBG: Accept different line endings (#10, #13, #10#13, #13#10) issue #0021834. Requires rev 37026 #9baa5f827c
git-svn-id: trunk@37027 -
2012-04-25 19:46:34 +00:00
martin
9baa5f827c DBG: Prepare for different line endings. Issue #0021834
git-svn-id: trunk@37026 -
2012-04-25 19:46:21 +00:00
mattias
458181f496 IDE: recent/history lists: replaced case sensitive comparison with three types
git-svn-id: trunk@37020 -
2012-04-25 09:03:37 +00:00
maxim
1060d6f033 Fixed typo PrefferedSplitterX -> PreferredSplitterX throughout the code, spotted by Howard Page-Clark
git-svn-id: trunk@36912 -
2012-04-19 22:11:56 +00:00
martin
a56c51b330 DBG: Tests for environment
git-svn-id: trunk@36910 -
2012-04-19 14:12:26 +00:00
blikblum
177d1ee320 ide: fix selection painting of debugger eventlog colors list
git-svn-id: trunk@36772 -
2012-04-14 11:58:45 +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
846e04db20 IDE,lazbuild: use parsed compiler filename, make filename
git-svn-id: trunk@36681 -
2012-04-09 15:06:19 +00:00
juha
844e616738 IDE etc.: unify 3 dots in GUI string to have a space ( ...).
git-svn-id: trunk@36666 -
2012-04-09 08:24:59 +00:00
maxim
52d4d5a5c1 IDE: fixed editor tab position combobox items localization on Editor/Misc options page
git-svn-id: trunk@36552 -
2012-04-03 22:23:32 +00:00
martin
7ebaadc7bd Window Column, store pointer to resourcestring
git-svn-id: trunk@36509 -
2012-04-02 00:24:15 +00:00
martin
b356839d80 DBG: more LazLogger
git-svn-id: trunk@36431 -
2012-03-29 12:36:54 +00:00
martin
69c5e7d27f DBG: more checks on parentfp
git-svn-id: trunk@36404 -
2012-03-28 21:10:48 +00:00
martin
111eedbf93 DBG: add some checks on parentfp
git-svn-id: trunk@36402 -
2012-03-28 19:52:12 +00:00
juha
22c9cf054e IDE: unify some single word resource strings.
git-svn-id: trunk@36332 -
2012-03-25 19:10:21 +00:00
juha
8e71fa7c1a IDE: make lisClear to be used around in IDE.
git-svn-id: trunk@36329 -
2012-03-25 19:09:20 +00:00
martin
71d29ac07e DBG: watch dyn array, show some values
git-svn-id: trunk@36292 -
2012-03-24 17:38:22 +00:00
martin
1707017a5f DBG: more lazlogger (fix debugln for read)
git-svn-id: trunk@36290 -
2012-03-24 16:03:29 +00:00
martin
1c32c0e67a DBG: more lazlogger
git-svn-id: trunk@36281 -
2012-03-23 16:38:36 +00:00
mattias
9398fb166e IDE: clean up
git-svn-id: trunk@36278 -
2012-03-23 16:06:53 +00:00
zeljko
b7b0b37c30 Debugger: WatchesDlg, setted up Scrollbars to ssAutoBoth instead of ssBoth. issue #20230
git-svn-id: trunk@36259 -
2012-03-23 09:56:07 +00:00
martin
eda13d28d1 DBG: refactor,improve typecast-fixing (pointer needed for stabs)
git-svn-id: trunk@36224 -
2012-03-22 16:18:04 +00:00
martin
cfae3de029 DBG improved expression parsing, array[1]+array[2]
git-svn-id: trunk@36200 -
2012-03-21 23:11:01 +00:00
martin
7a72cee2cf DBG deal with spaces in watches
git-svn-id: trunk@36193 -
2012-03-21 19:13:34 +00:00
martin
b48cf43d34 DBG: Watches/Inspect, add auto typecast to instance class
git-svn-id: trunk@36175 -
2012-03-20 10:39:47 +00:00
martin
a4e1f89a1c DBG: deal with comma separated array index "a[1,2]" instead of "a[1][2]"
git-svn-id: trunk@36166 -
2012-03-19 14:53:56 +00:00
martin
9f02483e2e DBG: More verbose error messages
git-svn-id: trunk@36136 -
2012-03-17 20:19:42 +00:00
martin
9f6e6a8186 DBG: small refactor in start up brk code
git-svn-id: trunk@36121 -
2012-03-17 16:05:04 +00:00
martin
f3ec781aa4 DBG: Clean up
git-svn-id: trunk@36033 -
2012-03-15 14:46:33 +00:00
mattias
6cf24989e8 IDE: fixed warning
git-svn-id: trunk@36016 -
2012-03-14 23:18:01 +00:00
martin
7ac5a99deb DBG: Clean up
git-svn-id: trunk@36014 -
2012-03-14 21:31:25 +00:00