Commit Graph

134 Commits

Author SHA1 Message Date
Roy Qu ac9d62ee5e - fix: Chinese characters in the source code is not correctly displayed in the CPU info window. 2023-03-09 16:09:05 +08:00
Roy Qu 139a6d14c0 - fix: Cpu info window is auto openned, when debug using gdb-server. 2023-03-08 18:31:47 +08:00
Roy Qu 0c8f3a0f60 - fix: Cpu info window is auto openned, when debug using gdb-server. 2023-03-08 18:01:10 +08:00
Cyano Hao bdfa4c066b
Linux package: bundled terminal in AppImage and minor adjustment (#104)
* AppImage: build Alacritty with from-scratch build environment

* enrich compatible terminal list; fix Linux terminal determination

* Linux: get rid of libicu
2023-03-04 18:44:39 +08:00
Roy Qu 1504e6cb04 - enhancement: Show mousetip for numbers in the GNU assembly file. 2023-03-04 18:23:57 +08:00
Roy Qu b82336e176 - enhancement: Add X86_64 AVX/AVX instruction descriptions to asm syntaxer.
- enhancement: Update to the newest x86 Assembly manual.
2023-03-04 12:47:49 +08:00
Roy Qu da3dda97e3 - enhancement: Add "Close window" and "Move to other view" in the "Window" menu
- enhancement: Auto open CPU info dialog, if the program in debug is stopped at a position that have no source file.
  - enhancement: "add watchpoint" when debug. It's hitted when the watch variable is modified, or it's out of scope.
  - enhancement: Switch current call stack frame in the CPU info dialog
  - fix: Shouldn't try evaluate value of the selection in the cpu info dialog.
  - enhancement: Show oct/bin/bin value in the memory view's tooltip.
  - Don't set optimization level to -Og in the Debug compiler set. (Some variable can't be view in the memory view, because they are put in registers.)
2023-03-03 17:20:33 +08:00
Roy Qu ca0e1b5593 work save 2023-02-27 20:08:24 +08:00
Roy Qu 5bef664106 - fix: Search dialog shouldn't have "confirm when replace".
- change: Default value for the debugger debugger panel "memory view's columns" is changed from 8 to 16.
  - change: Default value for the debugger debugger panel "memory view's rows" is changed from 8 to 16.
  - enhancement: Display hex value as ascii chars in the debugger panel memory view tab.
2023-02-25 21:42:30 +08:00
Roy Qu 5d9ecea491 - enhancement: Add descriptions for x86 registers in the cpu info dialog. 2023-02-25 21:19:14 +08:00
Roy Qu 8ad1915acd - change: Don't stop debug when breakpoint can't be set 2023-02-22 10:39:20 +08:00
Roy Qu c204b39e00 - enhancement: Remove all breakpoints for a closed non-project file.
- enhancement: Check and remove all non-exist breakpoints before debug a project
2023-02-22 08:59:00 +08:00
Roy Qu fcca49e9e5 - fix: Can't debug when debug a file while other file has breakpoints
- change: Don't save breakpoints for non-project files
2023-02-21 09:34:40 +08:00
Roy Qu 24734bfb28 - enhancement: If executable doesn't have symbol table, inform user and stop.
- enhancement: If breakpoint is setted but executable doesn't have debug info ,inform user and stop.
  - enhancement: If current compiler set has "strip addition infos(-s)" enabled, inform user and stop.
2023-02-18 12:08:03 +08:00
Roy Qu 629a90d521 - enhancement: Simplified chinese translations for encoding names.
- fix: Crash when there are preprocessing directives like '#if 0/0' or '#if 0%0'
2023-01-26 11:07:46 +08:00
Roy Qu 7d2920198e - enhancement: Use lldb-mi as the debugger.
- enhancement: Set lldb-mi as the debugger program for clang, when finding compiler set in folders.
2023-01-22 22:19:19 +08:00
Roy Qu bc1b22ad25 - enhancement: Rename symbols won't remove all breakpoints/bookmarks
- enhancement: Batch replace won't remove all breakpoints/bookmarks
  - enhancement: Execute parameters can be used in debug.
2023-01-12 12:07:22 +08:00
Roy Qu 492345b939 - enhancement: "Trim trailing spaces" in code menu
- change: Don't auto disable compile and debug buttons.
  - enhancement: Better error messages for missing compile/debug/make programs.
  - enhancement: "Show special chars" in options / editor / font
  - fix: Lost compiler set settings if a compiler set's bin dirs is empty.
  - enhancement: Better error message when trying to debug with Release compile set.
2022-12-16 11:10:46 +08:00
Roy Qu 77942999d5 - enhancement: Use asm highlighter in cpu window
- fix: "AT&T" radio button not correctly checked in cpu window
  - enhancement: Remove blank lines in the register list of cpu window.
  - fix: Cpu window's size not correctly saved, if it is not closed before app exits.
  - fix: Can't restore cpu window's splitter position.
2022-12-02 10:19:03 +08:00
Roy Qu 82564239b9 - enhancement: project's custom compile include/lib/bin directory is under folder of the app, save them using the path relative to the app 2022-11-16 09:24:42 +08:00
Roy Qu 052f4610ee - fix: crash when alt+mouse drag selection 2022-11-10 09:05:34 +08:00
Roy Qu e0c4ba201d - fix: Crash when editing a function at the end of file without ; or {
- enhancement: Add the "parsing TODOs" option in Options Dialog / Editor / Misc
  - enhancement: Remove todos/bookmarks/breakpoints when deleting file from project
  - enhancement: Rename filenames in todos/bookmarks/breakpoints  when renaming project file
2022-11-07 21:44:12 +08:00
Roy Qu 6d2ce9035d - reduce memory usage when deciding file types
- enhancement: refresh project view for git status won't redraw project structure
  - enhancement: auto save project options after the compilerset option for project resetted
  - enhancement: "." and ".." in paths of issues not correctly handled
2022-10-24 17:23:37 +08:00
Roy Qu be0c9ad4f5 - fix: save/load bookmark doesn't work 2022-10-23 00:39:24 +08:00
Roy Qu f0874217b0 minor fix 2022-10-19 01:23:55 +00:00
Roy Qu 3509c25fc8 - enhancement: delete a watch expression don't reload who watch var view
- enhancement: auto save/restore debug panel's current tab
  - fix: correctly restore left(explorer) panel's current tab
  - enhancement: auto close non-modified new editor after file/project openned;
  - fix: project files openned by double click in bookmark/breakpoint panel may cause app crash when closed.
  - fix: When open a project that's already openned, shouldn't close it.
  - enhancement: When open a project, let user choose weither open it in new window or replace the already openned project
2022-10-17 23:23:05 +08:00
Roy Qu 984d10eaf1 - enhancement: project and non-project files use different breakpoint and watchvar view (auto switch when not debugging and editor switched)
- enhancement: save project's breakpoint and watchvar in it's own debug file.
  - enhancement: delete a watch expression don't reload who watch var view
2022-10-16 23:10:57 +08:00
Roy Qu f67628863f - fix: minor memory leaks when set itemmodels
- fix: thread for parsing doesn't correctly released when parsing finished ( so and the parser)
2022-10-10 18:05:18 +08:00
Roy Qu d034089214 5.12 compatibility fix 2022-07-24 03:19:11 +00:00
Roy Qu 17eb0c1f94 - enhancement: add select current word command in the Selection menu
- change: add Selection menu
  - enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel
  - enhancement: add "Go to Line..." in the Code menu
2022-07-21 15:28:07 +08:00
Roy Qu a6f334f837 remove all warnings 2022-07-04 11:39:06 +08:00
Roy Qu 9dacc9bbb9 - fix: when debug the executable using gdb server, add current compiler set's bin folders to path 2022-06-16 21:56:07 +08:00
Roy Qu 3d6d3c5210 - fix: when run/debug the executable, add current compiler set's bin folders to path
- fix: when open in shell, add current compiler set's bin folders to path
2022-06-16 21:34:31 +08:00
Roy Qu 90b6916978 - fix: modify watch doesn't work 2022-05-30 16:40:45 +08:00
Roy Qu c56a020781 - enhancement: can debug files that has non-ascii chars in its path and is compiled by clang
- fix: when debugging project, default compiler set is wrongly used
2022-05-15 17:14:22 +08:00
Roy Qu f0c0197380 - fix: auto syntax check fail, if the file is not gbk and includes files encoded with utf8
- fix: running programs with input redirected can't exit at once.
2022-03-31 09:56:49 +08:00
Roy Qu f08b14978c remove inform dialog for non-ascii char in gdb path 2022-03-30 20:45:08 +08:00
Roy Qu 461df394cb - fix: when open a project, and it's missing compiler set getten reset, it's modification flag is not correctly set. 2022-03-30 20:15:15 +08:00
Roy Qu 7bc5a2ee7a - fix: can't stop a freeze program that has stdin redirected.
- enhancement: context menu for problem cases table
2022-03-30 19:28:46 +08:00
Roy Qu afec4355bd - fix: can't correctly set break conditions 2022-03-01 08:13:51 +08:00
Roy Qu 454df24e08 work save 2022-01-12 19:25:37 +08:00
Roy Qu 797a9b8498 - enhancement: redirect stdio to a file while debugging ( must use gdb server mode to debug) 2022-01-12 18:47:50 +08:00
Roy Qu 351f4e86ed clear up debug codes 2022-01-12 18:35:14 +08:00
Roy Qu d8413ab76c - enhancement: modify values in the watch view by double click 2022-01-12 17:14:39 +08:00
Roy Qu 3ca1a9fc4c - enhancement: modify values in the memory view while debugging
- enhancement: auto update watch, local and memory view after expression evaluated
  - enhancement: auto update watch, local and memory view after memory modified
2022-01-11 22:29:03 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 1d48991d20 - fix: debugger's "continue" button not correctly disabled 2022-01-03 20:18:53 +08:00
Roy Qu 69e5e76a6f work save 2022-01-02 11:43:23 +08:00
Roy Qu 2319034be4 - fix: heartbeat for gdb server async command shouldn't disable actions 2022-01-01 09:17:12 +08:00
Roy Qu 13c79bb55d - enhancement: detach pausing console window
- use "-var-update" gdb command instead of "noop"
2021-12-29 22:03:18 +08:00