Commit Graph

104 Commits

Author SHA1 Message Date
Ahmad Chatila
6e23c44562 Fixed NullReferenceException when closing the form RosDBG/MainWindow.cs 2023-02-25 23:36:40 +01:00
William Kent
af9999e73d
Modernize source and object directory checks (#4)
* Use modern output directory name in DbgHelp

* Use modern outut directory name in settings dialog

* Use CMake file to detect source directory

* Use modern symbol file format to detect output directory

Co-authored-by: William Kent <wjk@users.noreply.github.com>
2020-03-20 09:39:44 +01:00
William Kent
bc151df5a7
Small miscellaneous UI fixes (#5)
* Rename Extras menu to Tools

This fixes a problem where the menu bar had two E shortcut keys.

* Rename Info menu item to About

* Use conventional keyboard shortcut for Exit

Co-authored-by: William Kent <wjk@users.noreply.github.com>
2020-03-20 09:33:12 +01:00
Yaroslav Kibysh
0bb1955a23 Update repository (#1)
* Create .gitattributes

* Create .gitignore

This file is generated by Visual Studio 2017 and
also includes temporary build executables

* Create README.md
2019-08-08 21:53:46 +02:00
Aleksey Bragin
9868a9e7f5 Willem Alexander Hajenius <reactos.1000.ahajenius@spamgourmet.com>
- KDBG/IDebugProtocol: parse/add/delete/enable/disable breakpoints. Some other
refactorings done to reduce method size.
- Dockable window that shows current list of breakpoints with add/delete/edit
button (you can also double-click to edit). Breakpoints can easily be
enabled/disabled with a checkbox.
- Dialog window to add or edit breakpoint details. GUI tries to prevent invalid
input.
- Add svn:ignore to RosDBG directory.

svn path=/trunk/reactosdbg/; revision=1308
2011-08-02 19:54:03 +00:00
Aleksey Bragin
520e484253 [ROSDBG]
Major overhaul of the Registers panel by w.a.hajenius (issue #6116):
- All 17 individual flags are now extracted from the EFLAGS register and
represented by dedicated variables and textboxes.
- All registers and flags are stored as "stateful" variables. Things that have
changed since the last instruction are automatically highlighted.
- The class responsible for the stateful variables is generic and can therefore
easily be applied to other aspects of the application. It can trigger 2 kinds
of events: one triggered at each update, the other triggered only when the new
value differs from the previous one.
- Correct length of registers and flags is taken into account for storage and
representation (e.g. segment registers only need 4 hex chars).
- I also included some handy extension methods to facilitate running GUI
manipulation code on the UI thread.

svn path=/trunk/reactosdbg/; revision=1283
2011-04-16 13:28:47 +00:00
Ged Murphy
2bd148801e [REACTOSDBG]
- Add toolbar icons for step and next
- patch by Alexander - w.a.hajenius at gmail dot com
see bug6030 for more details

svn path=/trunk/reactosdbg/; revision=1279
2011-04-02 14:04:07 +00:00
Ged Murphy
832254aa43 [REACTOSDBG]
- Stop the enter key from making an annoying pinging noise every time you enter a command.

svn path=/trunk/reactosdbg/; revision=1278
2011-04-02 13:40:03 +00:00
Aleksey Bragin
24622bf93f - Robert Horvath: Fix RosDBG compilation (.csproj wasn't updated after removing source code files in r1231). See bug #5815 for details.
svn path=/trunk/reactosdbg/; revision=1264
2011-02-09 21:31:17 +00:00
Christoph von Wittich
5eae39ef96 [rosdbs]
-add a copy popupmenu to backtrace window
-add a statusbar with row/col info to sourceview

svn path=/trunk/tools/reactosdbg/; revision=1231
2010-11-20 14:40:15 +00:00
Christoph von Wittich
f535b1e472 [RosDbg]
upgrade Windows installer project to WiX 3.5

svn path=/trunk/tools/reactosdbg/; revision=1214
2010-06-06 08:13:42 +00:00
Christoph von Wittich
71fa51703c [RosDbg]
convert to VS 2010

svn path=/trunk/tools/reactosdbg/; revision=1213
2010-06-06 08:00:52 +00:00
Gregor Schneider
e6810d7597 - Differentiate between immediate commands and queued commands, remove command queue shortcut, reorder functions accordingly
- Do not duplicate register and process updates upon breaking into kdbg, fixes multiple thread lists
- Remove end line hack from named pipe implementation
- Handle all exception types for sockets, fixes a crash when disconnecting while receiving data

svn path=/trunk/tools/reactosdbg/; revision=1101
2009-08-29 16:03:13 +00:00
Gregor Schneider
11d641c1f5 - Remove built in commands from the input control like other commands after execution
- Append control character to commands in KDBG, not in the input control
- Re-add previously removed code to allow typing commands while the log is highlighted; modify to allow input all the time

svn path=/trunk/tools/reactosdbg/; revision=1100
2009-08-26 18:22:34 +00:00
Gregor Schneider
a35c2ddbf8 - Allow to delete the content of the rawtraffic tab from the edit menu (requested by Stefan Ludowicy)
- Don't send commands to KDBG if it isn't there
- Remove old code and related events

svn path=/trunk/tools/reactosdbg/; revision=1099
2009-08-26 17:01:26 +00:00
Gregor Schneider
147298aa4a - Rename "connected" to "state"; introduce three possible states: not connected, waiting (for a connection or while in kdbg) and debug; bug #4814
- Don't send commands to kdbg without being connected, notice if a user leaves kdbg manually by entering "cont"
- Add subtypes to project file

svn path=/trunk/tools/reactosdbg/; revision=1096
2009-08-26 15:08:02 +00:00
Gregor Schneider
fd54e3f787 - The browser view's document doesn't always exist (bug #4816)
- Suppress website script errors

svn path=/trunk/tools/reactosdbg/; revision=1095
2009-08-26 13:17:02 +00:00
Gregor Schneider
501a9094d7 Fix multiple threads listings 1/x:
Reset receive variables when reaching the block end, continue with the loop as soon as ListEvents were created

svn path=/trunk/tools/reactosdbg/; revision=1094
2009-08-23 21:37:35 +00:00
Johannes Anderwald
e8df78dac1 - Implement Window position/size saving & restoring
- Implemented by Stefan Ludowicy (IRC: BasisBit) reactos A.T. basisbit .D.O.T. de

svn path=/trunk/tools/reactosdbg/; revision=1093
2009-08-21 20:40:00 +00:00
Gregor Schneider
5e12ccfe41 - Improve pipe client mode for improved QEmu debugging: it now waits for a pipe server, threaded
- Remove automatic pipe connection mode, that idea is outdated

svn path=/trunk/tools/reactosdbg/; revision=1092
2009-08-18 12:45:45 +00:00
Gregor Schneider
2938f1a061 RosDbg:
- Don't try to send data to an unconnected debugger ('cos it crashes)
- Opening a connection may fail, don't change connection tool strip text in that case
- Add some basic credits, joined two labels

svn path=/trunk/tools/reactosdbg/; revision=1087
2009-07-28 22:54:03 +00:00
Gregor Schneider
e7314a92ca RosDbg:
- Add support for saving the chosen pipe mode
- Create pipe connected and disconnected signaling functions to support code reuse

svn path=/trunk/tools/reactosdbg/; revision=1086
2009-07-28 11:10:26 +00:00
Gregor Schneider
a7a8471b9a RosDbg: Signal if a client connected in pipe client mode, this mode works with QEMU now
svn path=/trunk/tools/reactosdbg/; revision=1085
2009-07-28 01:25:09 +00:00
Gregor Schneider
a11ec4d33c RosDbg:
- Handle thread abortions gradually, avoid calling Thread.abort()
- Fixes a crash that happened when closing connection to a pipe server waiting for connections
- Fix typo

svn path=/trunk/tools/reactosdbg/; revision=1084
2009-07-27 23:58:40 +00:00
Gregor Schneider
2851938cbe RosDbg:
- Don't crash if there are no COM ports available (inspired by Talley's patch), remove serial tab in that case to avoid user confusion
- Get rid of tab order dependencies
See issue #4585 for more details.

svn path=/trunk/tools/reactosdbg/; revision=1083
2009-07-27 22:21:45 +00:00
Ged Murphy
56a4ad1929 Add a built in command '.cls' command for clearing the output.
Built in commands will be prepended with a period.

svn path=/trunk/tools/reactosdbg/; revision=1050
2009-06-21 18:25:18 +00:00
Christoph von Wittich
d74d4f9ea2 fix some bugs with external tools
svn path=/trunk/tools/reactosdbg/; revision=1047
2009-06-09 08:42:36 +00:00
Ged Murphy
6749972535 Only grow the input text box in resize
svn path=/trunk/tools/reactosdbg/; revision=1046
2009-06-04 16:05:48 +00:00
Ged Murphy
9b97695399 Display the kdb prompt correctly
svn path=/trunk/tools/reactosdbg/; revision=1045
2009-06-04 13:38:29 +00:00
Ged Murphy
5b1b9f8ac5 - Early stages of improving the console to make behave more like windbg...
- Add a separate command line for entering commands
- Keep a list of previous commands and traverse through them with up/down keys
- Clean the command line with esc

svn path=/trunk/tools/reactosdbg/; revision=1044
2009-06-04 12:35:12 +00:00
Ged Murphy
e23a9246e8 Missed this...
svn path=/trunk/tools/reactosdbg/; revision=1043
2009-06-03 12:32:13 +00:00
Ged Murphy
c47ae8feff split and set the status info instead of dumping everything into a string
svn path=/trunk/tools/reactosdbg/; revision=1042
2009-06-03 12:28:36 +00:00
Ged Murphy
071b4d21ab - Detect when clients disconnect from the pipe server and raise an event
- Reinitialize the pipe server and wait for new connections on disconnect
- You can disconnect and reconnect reactos without restarting rosdbg now
- Fix the read and write threads to we don't have to call the evil Thread.Abort (for kjk)
- Don't enumerate the externals tools if the list is empty, fixes a NullReferenceException

svn path=/trunk/tools/reactosdbg/; revision=1041
2009-06-03 09:41:47 +00:00
Christoph von Wittich
1e2a2c0068 -remove unused app.config from project
-attempt to fix external tool list

svn path=/trunk/tools/reactosdbg/; revision=1040
2009-06-03 08:08:30 +00:00
Christoph von Wittich
9ec4a52664 -add external tools menu (for stuff like errlook)
svn path=/trunk/tools/reactosdbg/; revision=1039
2009-06-03 07:32:29 +00:00
Ged Murphy
5c9713ed2f Rename the Back Trace to Call Stack
svn path=/trunk/tools/reactosdbg/; revision=1038
2009-06-02 21:15:00 +00:00
Ged Murphy
41a57a786f - Run pipe server waiting off on a different thread.
- Raise an event when a client connects and set up the connection as before.
- rosdbg now correctly waits for a connection and auto-connects when it finds one

svn path=/trunk/tools/reactosdbg/; revision=1037
2009-06-02 21:04:18 +00:00
Christoph von Wittich
c25e64e804 -set accept and cancel buttons for connect and settings dialog
-fix next debugger command by waiting for kdbg to respond

svn path=/trunk/tools/reactosdbg/; revision=1036
2009-06-02 19:05:54 +00:00
Christoph von Wittich
27cce022c9 -show EIP in hex
-clear regs on disconnect

svn path=/trunk/tools/reactosdbg/; revision=1035
2009-05-31 13:29:55 +00:00
Christoph von Wittich
0843360601 remove AnyCPU and Mixed targets - only x86 can load dbghelp.dll from ReactOS
svn path=/trunk/tools/reactosdbg/; revision=1034
2009-05-31 12:54:55 +00:00
Christoph von Wittich
13f487cfa6 -show registers in hex
-set pipe server as default instead of client

patches by basisbit:
-fix continue toolbar button
-fix printing multiple pages
-possible fix for backtraces

svn path=/trunk/tools/reactosdbg/; revision=1033
2009-05-31 12:50:16 +00:00
Christoph von Wittich
e9298e1975 -only allow one instance to run
svn path=/trunk/tools/reactosdbg/; revision=1032
2009-05-31 07:43:51 +00:00
Christoph von Wittich
2154b23286 -support printing in console (patch by basisbit) and browser view
-change console font to Courier New

svn path=/trunk/tools/reactosdbg/; revision=1031
2009-05-30 22:04:07 +00:00
Christoph von Wittich
76ab52c360 -don't build an installer for debug builds
-redesign auto versioning: increase "Revision" on every build, increase "Build Number" on every release build to make sure the MSI installer upgrade will work

svn path=/trunk/tools/reactosdbg/; revision=1030
2009-05-29 09:15:56 +00:00
Christoph von Wittich
9e59782b18 renamed wiki page to "ReactOS Remote Debugger"
svn path=/trunk/tools/reactosdbg/; revision=1029
2009-05-29 08:27:39 +00:00
Christoph von Wittich
7087f8b6ba -add a tool to automatically increase the buildno at each build and update the WiX script to get upgrade installations to work
svn path=/trunk/tools/reactosdbg/; revision=1028
2009-05-28 22:17:14 +00:00
Ged Murphy
a613572873 - Improve the diagnostics. Now includes function, file and line to assist debugging
- Remove the null checks from DockPanel and wrap it in try/catch blocks instead (considering it shouldn't happen)
- Use RosDiagnostics.DebugTrace to add debug info now. The app now needs to make correct use of exception handling

svn path=/trunk/tools/reactosdbg/; revision=1027
2009-05-28 19:09:41 +00:00
Ged Murphy
4810e1fc08 - Setup the diagnostics on app load.
- You can now use the static Trace.WriteLine method anywhere within the app to start making use of the log.

svn path=/trunk/tools/reactosdbg/; revision=1026
2009-05-28 17:03:31 +00:00
Ged Murphy
30f3891f5b Add a log file and the ability to turn application logging on and off.
svn path=/trunk/tools/reactosdbg/; revision=1025
2009-05-28 16:51:06 +00:00
Christoph von Wittich
f81252333b try to fix crash on exit
svn path=/trunk/tools/reactosdbg/; revision=1024
2009-05-28 15:31:12 +00:00