Commit Graph

5 Commits

Author SHA1 Message Date
Kevin Ernst 379d094191 Updates to build on Ubuntu 18.04 LTS (…)
- replace `add_compile_definitions` (added in CMake ≥3.12) with
`add_definitions` in `CMakeLists.txt`

    * hat tip to: https://stackoverflow.com/a/61250302/785213

- add #ifdef's to support Qt 5.9.5 for Ubuntu 18.04 by replacing QString
`.front()` and `.back()` methods with `.at(0)` and `.at(s.size() - 1)`

    * hat tip to: https://github.com/pawelsalawa/sqlitestudio/commit/90ca398

- add #ifdef's to replace `QFontMetrics` `.horizontalAdvance()` method
with `.width()` to support Qt 5.9.5 on Ubuntu 18.04

    * hat tip to: https://github.com/Sigil-Ebook/Sigil/commit/a32f890

- closes #107
2022-10-07 00:32:46 -04:00
Luke Simmons e76f53be2c Allow breakpoints for files with spaces
Adds double quotes to source file paths to fix garbage data error.
2022-08-30 16:16:16 -05: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