Commit Graph

114 Commits

Author SHA1 Message Date
Ernie Pasveer 22b845f5fe A snapshot with HighContrast icons from KDE. 2022-02-09 10:04:48 -06:00
Ernie Pasveer d5e9516ad5 Add oxygen icons. 2022-02-09 09:54:51 -06:00
Ernie Pasveer 6b3a86e105 Added HighContrast icons instead of from current them. 2022-02-09 09:48:53 -06:00
Ernie Pasveer 82406284e2 Switch to Q_ASSERT. 2022-02-08 19:24:41 -06:00
Ernie Pasveer 87dccea96d Fixed setting a breakpoint when selecting the stack frame. 2022-02-06 15:47:57 -06:00
Ernie Pasveer 76cfc228d0 Move SeerSlashProcWidget into QProcessInfoWidget.
So I can release QProcessInfoWidget on its own.
The SeerSlashProcDialog remains the same.
2022-02-06 10:32:31 -06:00
Ernie Pasveer f0d9245ee3 The enable mode of the Seer/Gdb output log is remebered between sessions. 2022-02-03 11:43:23 -06:00
Ernie Pasveer cb11d1ab48 Merge branch 'main' of https://github.com/epasveer/seer into main 2022-01-31 16:28:52 -06:00
Ernie Pasveer 82c67426cf Create LICENSE 2022-01-31 16:22:12 -06:00
Ernie Pasveer 90b066819c Fix small typo. 2022-01-30 09:52:53 -06:00
Ernie Pasveer 1a10445281 Update some images and project description. v1.0.8 2022-01-29 18:07:40 -06:00
Ernie Pasveer 9d3da66898 Add some 'help' for printpoint format and arguments. 2022-01-29 17:45:51 -06:00
Ernie Pasveer 58543b33e7 Finished Printpoints for now.
They always go to printf(). So the go to the console.
In the future, I can add an option to go to the "GDB output" tab.

Also, it may be possible to have a "Printpoint output" tab.
If the format has some magic text, the handleText() mechanism
may be able to intercept the output. For example, if the format
is:

    "^PrintPointFormat %d %d\n"

Of course this would work only if dprintf uses printf().
2022-01-29 17:16:12 -06:00
Ernie Pasveer 4aaee0a12a Printpoints: add more code for printpoints (aka as dprintf). 2022-01-26 19:46:37 -06:00
Ernie Pasveer c948880555 Printpoints (aka - dprintf): first cut. 2022-01-26 19:45:14 -06:00
Ernie Pasveer 42b3588803 Increment version number for next release. 2022-01-24 13:39:00 -06:00
Ernie Pasveer 0d5376be06 Add a button to quickly add a path to the alternate directories list.
Done from the editor window after Ctrl+O. Use the + button to add
the path that is in the path lineedit.
2022-01-24 13:37:37 -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).
v1.0.7
2022-01-23 10:32:12 -06:00
Ernie Pasveer e5fe2e9d54 Add proper text for alternate diretory window. 2022-01-22 11:34:42 -06:00
Ernie Pasveer 46df5c8a55 Allow an alternate directory to look for the source file.
It's possible the location of a source file is not in the
location that gdb thinks. Seer now allows to load the source
file from an alternate directory using the Ctrl^O key while
in the code editor.
2022-01-20 19:11:15 -06:00
Ernie Pasveer 1afdf82f91 Switch from __PRETTY_FUNCTION__ to qSetMessagePattern() 2022-01-20 10:40:56 -06:00
Ernie Pasveer b5b292fbed Change dialogs to use Qt's version.
The native dialogs have different behavior when dealing with
filters. Qt's behavior is well defined.
2022-01-20 09:03:39 -06:00
Ernie Pasveer 0317ae9ec4 Minor wording on some dialogs. 2022-01-18 17:47:12 -06:00
Ernie Pasveer 591af6f7ad Fix bug when automatically bringing up a source file at a breakpoint.
If an exception is raised from a source file (or function) that is
not compiled with debug info (resulting in no file or lineno), the
EditorManager can't automatically open the next most available file (the
one from the next stack frame).

StackFramesBrowser now figures out which source file can be available
if the file for frame 0 isn't available.
2022-01-17 16:18:30 -06:00
Ernie Pasveer e3c87ca2c9 Stack Arguments was broken. Now Fixed.
If frame 0 has no arguments (via it not being debug), then
the code would exit too soon.
2022-01-17 11:36:49 -06:00
Ernie Pasveer e5091af6dc Fix bug when scrolling down to the last line.
It wasn't positioning to the begining of the line.
2022-01-16 12:22:37 -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 1339e89af3 Catchpoints for 'catch' broke. Now fixed.
As well, saving of all catchpoints works.
2022-01-13 20:36:39 -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 33e62cc891 Prepare for 1.0.7 release. 2022-01-08 12:42:49 -06:00
Ernie Pasveer 9cce2761f1 Finished editor font and syntax highlighing settings. 2022-01-08 12:39:37 -06:00
Ernie Pasveer 201b085b76 Checkpoint. 2022-01-07 17:33:16 -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 611af86f59 Checkpoint - more work done on the highlighter settings. 2022-01-02 11:33:56 -06:00
Ernie Pasveer 97a17bc135 Add save/load for watchpoints.
Doesn't work though. When the load happens, the 'expression'
is no longer in scope.
2021-12-31 16:50:06 -06:00
Ernie Pasveer 2d9444e537 Save and reload catchpoints when the program is rerun. 2021-12-31 14:23:40 -06:00
Ernie Pasveer 7449fc7e66 Add 'catchpoint' support.
Still working on Editor config options.
2021-12-31 13:00:54 -06:00
Ernie Pasveer 07f2f0176b Add 'catchpoint' support.
Still working on editor config options.
2021-12-31 13:00:02 -06:00
Ernie Pasveer 2737f9f925 Checkpoint. Syntax color options. 2021-12-27 11:09:14 -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 f645a76959 Checkpoint for editor fonts.. 2021-12-25 10:26:01 -06:00
Ernie Pasveer dc93f413bf Checkpoint for editor font selector. 2021-12-25 08:48:36 -06:00
Ernie Pasveer 1cbb6ce715 Changed org name to "Seer" so the config file would be in a better named
directory.
v1.0.6
2021-12-23 08:08:43 -06:00
Ernie Pasveer 1016d2d720 Fixed some help doc typos. 2021-12-22 20:33:28 -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