Gleb Balykov [Tue, 26 Sep 2023 09:08:58 +0000 (12:08 +0300)]
Bump to 3.0.0-7 version
Mikhail Kurinnoi [Fri, 22 Sep 2023 15:03:23 +0000 (18:03 +0300)]
Prevent SIGSEGV in managed code.
Mikhail Kurinnoi [Wed, 20 Sep 2023 14:22:39 +0000 (17:22 +0300)]
Apply eval abort test fix for CLR 8.0.
Related to https://github.com/dotnet/runtime/issues/82422
Mikhail Kurinnoi [Fri, 15 Sep 2023 12:53:55 +0000 (15:53 +0300)]
Fix eval interop related logic.
Mikhail Kurinnoi [Thu, 14 Sep 2023 09:01:55 +0000 (12:01 +0300)]
Fix typo.
Oleg Lekarev [Fri, 1 Sep 2023 09:12:11 +0000 (12:12 +0300)]
Source code coverage feature for tests on target added.
Gleb Balykov [Thu, 14 Sep 2023 09:03:36 +0000 (12:03 +0300)]
Bump to 3.0.0-1 version
Mikhail Kurinnoi [Tue, 22 Aug 2023 10:42:38 +0000 (13:42 +0300)]
Add CLI protocol interop tests.
Fix rendezvous resolve logic.
Mikhail Kurinnoi [Thu, 27 Jul 2023 15:34:10 +0000 (18:34 +0300)]
Add interop debugging docs.
Mikhail Kurinnoi [Fri, 7 Jul 2023 10:05:08 +0000 (13:05 +0300)]
Implement arm32 software stepping for arm and thumb2 instruction subsets.
Mikhail Kurinnoi [Wed, 24 May 2023 10:16:54 +0000 (13:16 +0300)]
Add native code execution stop for all managed threads.
Other changes:
- Add events for native thread created and thread exited.
- Fix single step at step over breakpoint in order to prevent signals lost.
- Add `wait` wrapper (same idea as we provide wrapper for `waitpid`).
- Fix CLI protocol attach/interrupt commands output.
- Prevent eval code execution on stopped threads by interop debugger.
- Fix circular references in code.
- Add native threads support in `info threads` CLI command.
- Add raise(), kill() and sigsend() support in user code for SIGTRAP and SIGILL signals.
- Add `__builtin_debugtrap()` and `__builtin_trap()` support in user code.
- Fix hang at exit in case `ManagedCallback::ExitProcess()` never called (rarely happens in case debuggee was terminated by signal).
- Add CLI command `bt all`.
- Add native code execution stop for user-related native threads.
Mikhail Kurinnoi [Wed, 29 Mar 2023 18:09:13 +0000 (21:09 +0300)]
Add stack unwind with native code support.
Mikhail Kurinnoi [Thu, 9 Feb 2023 14:00:54 +0000 (17:00 +0300)]
Add interop breakpoints support for amd64/x86/arm32/arm64.
Mikhail Kurinnoi [Thu, 22 Dec 2022 14:42:29 +0000 (17:42 +0300)]
Add native libraries load and unload related routine.
Mikhail Kurinnoi [Mon, 3 Oct 2022 11:31:50 +0000 (14:31 +0300)]
Add initial ptrace support for interop debugging.
Mikhail Kurinnoi [Thu, 15 Sep 2022 16:58:40 +0000 (19:58 +0300)]
Add libelfin.
Serhan Tutar [Wed, 30 Aug 2023 08:23:54 +0000 (11:23 +0300)]
docs: fix GDB/MI link
Current GDB/MI link gives an HTTP 404 error.
Also, this fixes a small typo.
Mikhail Kurinnoi [Mon, 28 Aug 2023 10:28:14 +0000 (13:28 +0300)]
Add more output in case dlerror/dlsym/dlclose errors.
Mikhail Kurinnoi [Thu, 10 Aug 2023 14:08:25 +0000 (17:08 +0300)]
Add CLI protocol tests.
Oleg Lekarev [Thu, 13 Jul 2023 09:17:28 +0000 (12:17 +0300)]
Enable Source code coverage feature:
https://clang.llvm.org/docs/SourceBasedCodeCoverage.html
Gleb Balykov [Fri, 7 Jul 2023 09:56:30 +0000 (12:56 +0300)]
Bump to 2.2.3-1 version
Oleg Lekarev [Thu, 29 Jun 2023 12:35:37 +0000 (15:35 +0300)]
[CLI] Bugfix: <list> command doesn't work properly for sources with
unix/linux line ending style.
Mikhail Kurinnoi [Wed, 5 Jul 2023 21:37:30 +0000 (00:37 +0300)]
Fix async stepping.
Oleg Lekarev [Tue, 4 Jul 2023 09:36:53 +0000 (12:36 +0300)]
[CLI] "frame" command implemented.
Oleg Lekarev [Thu, 22 Jun 2023 16:25:49 +0000 (19:25 +0300)]
Bugfix: The problem with parent's methods of generic classes evaluation fixed.
Mikhail Kurinnoi [Tue, 20 Jun 2023 15:30:52 +0000 (18:30 +0300)]
Add MI/GDB and VSCode tests for anonymous functions.
Noam Soloveichik [Tue, 20 Jun 2023 10:47:51 +0000 (13:47 +0300)]
fix: break on outer call and not on nested func
Mikhail Kurinnoi [Wed, 17 May 2023 15:25:39 +0000 (18:25 +0300)]
Improve custom notification related logic.
Will work with NotifyOfCrossThreadDependency() only during eval's code execution and ignore it during normal code execution.
Mikhail Kurinnoi [Tue, 2 May 2023 15:51:41 +0000 (18:51 +0300)]
Fix dbgshim nuget version download.
Mikhail Kurinnoi [Wed, 7 Jun 2023 18:32:08 +0000 (21:32 +0300)]
Fix Manjaro/Arch Linux build with Clang 15.
Related to https://github.com/Samsung/netcoredbg/issues/122
Gleb Balykov [Wed, 26 Apr 2023 12:02:22 +0000 (15:02 +0300)]
Bump to 2.2.2-1 version
Mikhail Kurinnoi [Thu, 13 Apr 2023 13:20:34 +0000 (16:20 +0300)]
Temporary fix for Abort() related CoreCLR 7.0 tests.
CoreCLR 7.0 have issue with abortable internal native code.
https://github.com/dotnet/runtime/issues/82422
Mikhail Kurinnoi [Tue, 11 Apr 2023 09:22:03 +0000 (12:22 +0300)]
Improve evalwaiter eval abort logic.
In case timeout happens, will provide proper error code even if eval was completed (same as MS vsdbg do), will not hangs debugger in case abort failed and eval freeze (so, user could close debugger now).
Mikhail Kurinnoi [Mon, 10 Apr 2023 17:15:49 +0000 (20:15 +0300)]
Fix HotReload tests.
Make them more stable for eval-related errors.
Mikhail Kurinnoi [Mon, 3 Apr 2023 09:41:54 +0000 (12:41 +0300)]
Fix evalwaiter logic.
Will care about managed code execution stop during evaluation for delegates, reverse pinvokes and managed threads now.
Current logic stop only managed threads (threads that was created with CreateThread() callback) and don't stop delegates and reverse pinvokes called from native threads.
Mikhail Kurinnoi [Fri, 21 Apr 2023 21:07:34 +0000 (00:07 +0300)]
Fix debug session init with CoreCLR 2.1.
Mikhail Kurinnoi [Sat, 15 Apr 2023 22:12:30 +0000 (01:12 +0300)]
Fix high CPU usage while being in idle on Windows x64.
Partially revert
21d84f2da69eb65fd2f69c60eb5fa41ed3d75603 for all not Win x86 builds.
Fix for https://github.com/Samsung/netcoredbg/issues/114
Mikhail Kurinnoi [Sun, 9 Apr 2023 12:56:42 +0000 (15:56 +0300)]
Fix async stepping for Task<TResult>.
Gleb Balykov [Thu, 23 Mar 2023 20:27:09 +0000 (23:27 +0300)]
Bump to 2.2.1-9 version
Gleb Balykov [Thu, 23 Mar 2023 20:21:56 +0000 (23:21 +0300)]
Add comment about MacOS arm64 architecture support
Mubarak Imam [Fri, 9 Sep 2022 22:28:20 +0000 (23:28 +0100)]
added some M1 support
- added arm64 discovery for M1 via CMAKE_SYSTEM_PROCESSOR
Hyungju Lee [Mon, 20 Feb 2023 08:51:58 +0000 (17:51 +0900)]
Add release info to version file
Oleg Lekarev [Tue, 7 Mar 2023 13:16:15 +0000 (16:16 +0300)]
Extension methods evaluation support added.
Oleg Lekarev [Tue, 14 Mar 2023 09:55:51 +0000 (12:55 +0300)]
[CLI] List command bugs fixed:
1. No output for uncompressed source files.
2. Garbage output after the end of source file.
3. Incorrect line counter work at the bottom of source file.
Oleg Lekarev [Wed, 21 Dec 2022 15:12:26 +0000 (18:12 +0300)]
Generic methods evaluation implemented
Gleb Balykov [Mon, 27 Feb 2023 13:11:19 +0000 (16:11 +0300)]
Add more platform defines
Hyungju Lee [Mon, 20 Feb 2023 08:17:38 +0000 (17:17 +0900)]
Bump to 2.2.1-1 version
Gleb Balykov [Wed, 15 Feb 2023 15:46:43 +0000 (18:46 +0300)]
Bump to 2.2.0-25 version
Mikhail Kurinnoi [Mon, 6 Feb 2023 14:16:15 +0000 (17:16 +0300)]
Fix line updates for methods.
Will care about internal line updates for methods in case empty lines added in method's body.
Mikhail Kurinnoi [Thu, 12 Jan 2023 14:40:59 +0000 (17:40 +0300)]
Add MI protocol break-update-line command.
Command format:
break-update-line ID NEW_LINE
where
ID - ID of previously added breakpoint, that should be changed;
NEW_LINE - new line number in source file.
Mikhail Kurinnoi [Tue, 10 Jan 2023 15:01:55 +0000 (18:01 +0300)]
Fix minor code issues.
Gleb Balykov [Tue, 20 Dec 2022 09:17:45 +0000 (12:17 +0300)]
Bump to 2.2.0-21 version
Aleksandr Shaurtaev [Tue, 30 Aug 2022 15:08:09 +0000 (18:08 +0300)]
Remove XUnit tests
Mikhail Kurinnoi [Thu, 27 Oct 2022 09:23:11 +0000 (12:23 +0300)]
Merge all documentation into docs folder.
Minor README.md fixes.
Mikhail Kurinnoi [Fri, 18 Nov 2022 15:13:45 +0000 (18:13 +0300)]
Add Tizen x86_64 emul support for tests.
Gleb Balykov [Wed, 12 Oct 2022 14:41:18 +0000 (17:41 +0300)]
Add .NET 7 build support
Gleb Balykov [Thu, 13 Oct 2022 11:19:14 +0000 (14:19 +0300)]
Fix build warnings related to non-nullable types
Gleb Balykov [Wed, 23 Nov 2022 16:32:04 +0000 (19:32 +0300)]
Fix run_tests.sh on mac (printf for find is not available)
Gleb Balykov [Tue, 11 Oct 2022 18:20:31 +0000 (21:20 +0300)]
Remove extra new line
Gleb Balykov [Mon, 21 Nov 2022 10:24:33 +0000 (13:24 +0300)]
Check .net version for hot reload correctly
Mikhail Kurinnoi [Thu, 17 Nov 2022 10:27:09 +0000 (13:27 +0300)]
Fix sdb work in test suite.
Aleksandr Shaurtaev [Wed, 5 Oct 2022 22:46:19 +0000 (01:46 +0300)]
Add generate report function to run_tests.ps1
Mikhail Kurinnoi [Thu, 27 Oct 2022 14:50:15 +0000 (17:50 +0300)]
Remove deprecated parts from sources.
Alexander Soldatov [Thu, 6 Oct 2022 12:43:41 +0000 (15:43 +0300)]
Bump to 2.2.0-9 version
Mikhail Kurinnoi [Wed, 5 Oct 2022 11:06:54 +0000 (14:06 +0300)]
Add Hot Reload aware reply for `stack-list-frames` command.
Alexander Soldatov [Fri, 16 Sep 2022 15:57:45 +0000 (18:57 +0300)]
Bump to 2.2.0-7 version
Mikhail Kurinnoi [Tue, 13 Sep 2022 14:04:16 +0000 (17:04 +0300)]
Fix VSCode protocol `scopes` command, add `expensive` field.
Related to https://github.com/Samsung/netcoredbg/issues/104
Alexander Soldatov [Fri, 2 Sep 2022 15:33:25 +0000 (18:33 +0300)]
Bump to 2.2.0-5 version
Mikhail Kurinnoi [Fri, 2 Sep 2022 12:07:33 +0000 (15:07 +0300)]
Prevent VARARG and GENERIC methods parse in WalkMethods.
Related to https://github.com/Samsung/netcoredbg/issues/101
Mikhail Kurinnoi [Wed, 31 Aug 2022 12:29:32 +0000 (15:29 +0300)]
Add debuggee process stop at attach for CLI protocol.
Fix CLI and MI/GDB protocols exit behavior in case debuggee process was attached,
will detach now instead of terminate attached debuggee process.
Aleksandr Shaurtaev [Tue, 30 Aug 2022 14:38:46 +0000 (17:38 +0300)]
Fix run_tests.sh
Alexander Soldatov [Tue, 30 Aug 2022 10:52:27 +0000 (13:52 +0300)]
Bump to 2.2.0-1 version
Alexander Soldatov [Mon, 29 Aug 2022 14:00:54 +0000 (17:00 +0300)]
Bump to 2.1.0-4 version
Mikhail Kurinnoi [Fri, 26 Aug 2022 13:33:39 +0000 (16:33 +0300)]
Fix breakpoint setup for running process without stop.
Oleg Lekarev [Tue, 23 Aug 2022 15:28:41 +0000 (18:28 +0300)]
Indexers for nullable generic classes/standard containers evaluation support added.
Alexander Soldatov [Thu, 25 Aug 2022 18:31:30 +0000 (21:31 +0300)]
Bump to 2.1.0-1 version
Mikhail Kurinnoi [Thu, 18 Aug 2022 13:01:58 +0000 (16:01 +0300)]
Minor code improvements and refactor (LOC/DC related).
Oleg Lekarev [Tue, 2 Aug 2022 16:09:57 +0000 (19:09 +0300)]
Indexers for generic classes/standard containers evaluation support
Mikhail Kurinnoi [Tue, 16 Aug 2022 15:23:46 +0000 (18:23 +0300)]
Split Modules class.
Mikhail Kurinnoi [Thu, 4 Aug 2022 14:24:44 +0000 (17:24 +0300)]
Add System.Type array arg for application update methods.
Mikhail Kurinnoi [Tue, 2 Aug 2022 12:51:09 +0000 (15:51 +0300)]
Add application update support in case Hot Reload without process stop.
Oleg Lekarev [Tue, 12 Jul 2022 15:20:57 +0000 (18:20 +0300)]
Indexers support by evluator implemented.
Mikhail Kurinnoi [Tue, 2 Aug 2022 14:23:08 +0000 (17:23 +0300)]
Remove old tests.
a-shaurtaev [Wed, 27 Jul 2022 11:38:47 +0000 (14:38 +0300)]
Add generate xml file to run_tests.sh
Create pull request template
Mikhail Kurinnoi [Mon, 25 Jul 2022 14:54:06 +0000 (17:54 +0300)]
Initial MetadataUpdateHandler attribute support implementation.
Mikhail Kurinnoi [Fri, 22 Jul 2022 10:52:30 +0000 (13:52 +0300)]
Add method array args support for eval.
Mikhail Kurinnoi [Wed, 20 Jul 2022 12:55:33 +0000 (15:55 +0300)]
Improve debuggee process pause routine.
Add thread ID support to VSCode protocol "pause" command.
Fix Newtonsoft.Json vulnerable before 13.0.1
GHSA-5crp-9r3c-p9vr
Improper Handling of Exceptional Conditions in Newtonsoft.Json
Mikhail Kurinnoi [Mon, 18 Jul 2022 12:46:43 +0000 (15:46 +0300)]
Improve function eval related code.
Mikhail Kurinnoi [Fri, 1 Jul 2022 09:08:23 +0000 (12:08 +0300)]
Add line updates support for Hot Reload.
Other changes:
- Change methods and variables names in order to reflect their real meaning.
- Simplify std::ifstream related code in ApplyMetadataAndILDeltas().
- Improve breakpoint resolve for constructor in partial class (in different sources).
Aleksandr Shaurtaev [Thu, 2 Jun 2022 15:46:48 +0000 (18:46 +0300)]
Changed delta api
Mikhail Kurinnoi [Mon, 18 Jul 2022 10:01:39 +0000 (13:01 +0300)]
Improve evaluation output in case runtime-related errors.
Mikhail Kurinnoi [Wed, 13 Jul 2022 15:19:22 +0000 (18:19 +0300)]
Add tests for evaluation with generic.
Fix property's getter call for generic class.
Mikhail Kurinnoi [Mon, 4 Jul 2022 14:53:14 +0000 (17:53 +0300)]
Fix 'async void' method stepping.
Mikhail Kurinnoi [Fri, 10 Jun 2022 15:01:42 +0000 (18:01 +0300)]
Fix CLI work on Windows.
Mikhail Kurinnoi [Fri, 10 Jun 2022 13:25:46 +0000 (16:25 +0300)]
Fix dotnet download in Windows x64 build.
Alexander Soldatov [Tue, 7 Jun 2022 14:55:28 +0000 (17:55 +0300)]
Bump to 2.0.0-78 version
Mikhail Kurinnoi [Tue, 7 Jun 2022 14:53:16 +0000 (17:53 +0300)]
Fix deltas apply in case process running.
Mikhail Kurinnoi [Mon, 30 May 2022 11:52:34 +0000 (14:52 +0300)]
Add Hot Reload tests.