Commit Graph

43 Commits

Author SHA1 Message Date
Ernie Pasveer 82a43a6d9b Detect if gdb exits unexpectedly. 2022-03-31 18:05:14 -05:00
Ernie Pasveer a6d8d890aa Fixed the "new arguments" dialog.
When specifying new arguments with File->Arguments dialog,
the new arguments were not being passed to gdb. Now fixed.

This feature applies to 'run' and 'start'.  Remove it from
'attach'.
2022-03-28 19:07:39 -05:00
Ernie Pasveer f4b3ed1692 Added #scrolllines config setting for the SeerConsole. 2022-03-26 13:09:50 -05:00
Ernie Pasveer 8464ae79a2 Add a -b argument to load a breakpoint file from the command line.
Also, add a line int the SeerDebugDialog to do the same.
2022-03-26 10:29:53 -05:00
Ernie Pasveer 2293786006 Cleaned up some more 'core' handling.
Make the 'gdbCore' more like 'gdbStart', 'gdbRun', and 'gdbAttach'.
'gdbConnect' will happen sometime.
2022-03-12 10:04:09 -06:00
Ernie Pasveer 48e36c08e9 Shutdown gdb when 'close' event happens.
This should take care of detaching from a remote pid.
2022-03-12 09:24:28 -06:00
Ernie Pasveer 3611248913 Reworked gdb starting to remember breakpoints between sessions. 2022-03-10 19:52:58 -06:00
Ernie Pasveer b84c26a76b Checkpoint: new gdb launching to retain existing breakpoints. 2022-03-06 20:13:10 -06:00
Ernie Pasveer ab9c57e5af Add 'handle terminating exceptions' to Seer.
Including config dialogs.
2022-03-02 17:41:34 -06:00
Ernie Pasveer 2a26d21367 Fixed bug when keysettings and a blank session. 2022-02-25 07:38:54 -06:00
Ernie Pasveer aa9bf81eac Checkpoint. Search text shortcuts. 2022-02-24 17:54:31 -06:00
Ernie Pasveer 2845d3b887 Handle a generic "*stopped" message better.
dprintf will result in a very plain "*stopped" message if the
dprintf is told to call a function that may throw an exception, thus
calling std::terminate.
2022-02-20 17:51:06 -06:00
Ernie Pasveer 572e3fc293 Checkpoint. 2022-02-20 10:18:29 -06:00
Ernie Pasveer 77196850b9 Checkpoint. 2022-02-20 09:27:13 -06:00
Ernie Pasveer 177e914e2b Checkpoint. 2022-02-19 17:28:52 -06:00
Ernie Pasveer c4c3e3d2ec Checkpoint. 2022-02-19 14:14:12 -06:00
Ernie Pasveer 99d4ac4848 Add a config page for dprintf settings. 2022-02-17 18:55:03 -06:00
Ernie Pasveer cd3db5b0ce Fixed bug with executable arguments containing a space. 2022-02-15 17:29:01 -06:00
Ernie Pasveer 187c3f3512 Finished with alternate search directories for location source file.
GDB has its notion of where source files live. Sometimes this is
incorrect as the source may be in a different place after the executable
is released.

Seer's source search feature is a list of alternate directories to look
in if the path that GDB knows of doesn't exist.

Use the Config dialog to set them. Then save the config.

This is a global feature. That is, it applies to any and all executables
being debugged. (Perhaps I'll add project based session files to handle
per executable settings).
2022-01-23 10:32:12 -06:00
Ernie Pasveer 1afdf82f91 Switch from __PRETTY_FUNCTION__ to qSetMessagePattern() 2022-01-20 10:40:56 -06:00
Ernie Pasveer 9f92ed65a8 Forgot to add saving of history count. Fixed. 2022-01-16 10:17:34 -06:00
Ernie Pasveer 3203a9b781 Add saving and remembering of manual gdb commands. 2022-01-16 09:55:17 -06:00
Ernie Pasveer 384838e5b0 Add library load/unload catch points. 2022-01-13 11:03:24 -06:00
Ernie Pasveer ffca84a922 Finished console mode (normal,minimized,hidden). 2022-01-11 19:47:31 -06:00
Ernie Pasveer 9cce2761f1 Finished editor font and syntax highlighing settings. 2022-01-08 12:39:37 -06:00
Ernie Pasveer 70b3c9d3d0 Finished save/restore of important syntax settings. 2022-01-05 19:14:49 -06:00
Ernie Pasveer 78bf57fce4 Checkpoint. Still working on saving highlight colors. 2022-01-04 19:41:01 -06:00
Ernie Pasveer bda1ce4270 Checkpoint. Syntax colors. Can now apply new ones. 2022-01-03 16:03:07 -06:00
Ernie Pasveer 7449fc7e66 Add 'catchpoint' support.
Still working on Editor config options.
2021-12-31 13:00:54 -06:00
Ernie Pasveer 5a1d31d15c Config editor font.
Save and restore from settings file. Change all open
and future editors.
2021-12-26 14:57:58 -06:00
Ernie Pasveer e3bf55b4c1 Add a 'spinning' indicator to the toolbar when the program runs. 2021-12-22 19:52:21 -06:00
Ernie Pasveer 19b018c916 Save and load config settings from "rc" file. 2021-12-22 15:16:39 -06:00
Ernie Pasveer c79ce234ce Finished gdb options dialog. 2021-12-20 20:28:00 -06:00
Ernie Pasveer 6222c13bf5 Checkpoint for Settings dialog. 2021-12-19 11:11:42 -06:00
Ernie Pasveer de72fa2b79 Add under the Control menu for step, next, continue, etc. 2021-11-29 17:33:33 -06:00
Ernie Pasveer 79f243c198 Added buttons for Memory and future Array visualizers.
Added icons for more buttons.
Changed About dialog to load text from a resource.
Incremented version number preparing for the next release.
2021-11-29 16:40:52 -06:00
Ernie Pasveer e8cfe9a857 seer attach pid now displays source file, if possible. 2021-11-28 07:05:14 -06:00
Ernie Pasveer ee7dfd0a09 Attach pid was broken. Fixed now.
Didn't pickup when "*stopped,frame" was issued.
2021-11-27 17:17:59 -06:00
Ernie Pasveer 65ac92bf77 Add a feature to send alternate signals when the Interrupt button is
used.
2021-11-18 19:25:11 -06:00
Ernie Pasveer 87a2b60bd6 Add RMB in code editor to add variable to Logger. 2021-11-03 16:10:25 -05:00
Ernie Pasveer 04782a6f37 Add a About dialog. 2021-10-02 16:22:31 -05:00
Ernie Pasveer 0828ad6da0 Save window and splitter sizes and positions.
Remove 'quit' toobar button.
Verify 'start' and 'run' if executable is already running.
2021-09-21 18:56:15 -05:00
Ernie Pasveer 6357b7a0ef Move source into a 'src' directory. Update README.md file for build
instructions.
2021-09-04 17:02:25 -05:00