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.
Alexander Soldatov [Thu, 26 May 2022 14:07:47 +0000 (17:07 +0300)]
Add .NET Foundation license headers for code taken from CoreCLR
Update authors and contributors of project
Mikhail Kurinnoi [Mon, 16 May 2022 12:34:50 +0000 (15:34 +0300)]
Improve breakpoint code.
This changes is part of Hot Reload preparation.
For line breakpoint setup we use methods range map, that in case of Hot Reload must be corrected by PDB delta.
Note, we need only one map with last changes since CoreCLR can setup new breakpoints for last method version code only.
Mikhail Kurinnoi [Wed, 18 May 2022 14:57:07 +0000 (17:57 +0300)]
Fix Windows 32bit related issues.
Mikhail Kurinnoi [Thu, 21 Apr 2022 14:02:32 +0000 (17:02 +0300)]
Add multiple PDB files (PDB deltas) support.
Also add multiple PDB support for:
* evaluation;
* async step;
* single step;
* scope variables related code;
* breakpoint (Debugger.Break());
* JMC;
* stack trace;
Mikhail Kurinnoi [Fri, 6 May 2022 10:17:59 +0000 (13:17 +0300)]
Fix managed part build type.
Should care about CMAKE_BUILD_TYPE and don't build "Debug" all the time.
In case CMAKE_BUILD_TYPE not set, "Release" is preferred for managed part.
Mikhail Kurinnoi [Wed, 4 May 2022 15:09:49 +0000 (18:09 +0300)]
Fix callbacks return code check.
Fix SIGSEGV in case DEBUG_EXCEPTION_FIRST_CHANCE exception was thrown outside of managed code.
Fix SIGSEGV in TypePrinter::GetTypeOfValue().
Remove wrong assertion.
Mikhail Kurinnoi [Tue, 16 Feb 2021 12:48:36 +0000 (04:48 -0800)]
Add stepping implementation related documentation.
Mikhail Kurinnoi [Thu, 21 Apr 2022 21:40:14 +0000 (00:40 +0300)]
Update Catch2.
Lukas [Fri, 18 Mar 2022 09:04:33 +0000 (10:04 +0100)]
Adding limits due to GCC11 changes https://gnu.org/software/gcc/gcc-11/porting_to.html#header-dep-changes
a-shaurtaev [Fri, 11 Mar 2022 16:25:54 +0000 (19:25 +0300)]
Add GetDeltaApi to TestFramework
a-shaurtaev [Fri, 11 Mar 2022 16:25:54 +0000 (19:25 +0300)]
Updated version of Roslyn nuget package
Alexander Soldatov [Wed, 6 Apr 2022 19:03:15 +0000 (22:03 +0300)]
Bump to 2.0.0-63 version
Mikhail Kurinnoi [Tue, 5 Apr 2022 14:35:14 +0000 (07:35 -0700)]
Add initial Hot Reload support.
- Add launch parameter "--hot-reload".
- Add MI/GDB command "apply-deltas".
- Add "enable-hot-reload" parameter support for MI/GDB command "gdb-set".
- Add Metadata and IL deltas apply for particular DLL, that have PDB loaded.
Mikhail Kurinnoi [Tue, 5 Apr 2022 13:48:17 +0000 (06:48 -0700)]
Fix Tizen test package installation.
Should use same command (sdb install skip) as VS Tizen Plugin, in order to prevent NI.DLL generation.
Mikhail Kurinnoi [Mon, 28 Mar 2022 16:10:01 +0000 (19:10 +0300)]
Improve async stepping code.
Mikhail Kurinnoi [Fri, 25 Mar 2022 14:52:52 +0000 (17:52 +0300)]
Fix frame id assertion in case no frame id available.
Alexander Soldatov [Thu, 17 Feb 2022 15:41:46 +0000 (18:41 +0300)]
Bump to 2.0.0-58 version
Mikhail Kurinnoi [Wed, 2 Feb 2022 10:56:46 +0000 (02:56 -0800)]
Fix MCD.
Add info on fast start and debugging of Release dlls
Mikhail Kurinnoi [Tue, 1 Feb 2022 17:02:47 +0000 (09:02 -0800)]
Fix debugging with disabled JMC.
Update default sdk version to 6.0
Alexander Soldatov [Tue, 15 Feb 2022 17:33:30 +0000 (20:33 +0300)]
Bump to 2.0.0-53 version
Mikhail Kurinnoi [Tue, 15 Feb 2022 11:32:31 +0000 (03:32 -0800)]
Fix Clang 10 build.
Mikhail Kurinnoi [Tue, 21 Dec 2021 10:26:34 +0000 (02:26 -0800)]
Add VSCode protocol async commands read and execution.
Add VSCode protocol 'cancel' command implementation.
Oleg Lekarev [Tue, 28 Dec 2021 10:46:57 +0000 (13:46 +0300)]
[CLI] Bug: No command prompt appears when breakpoint hit - fixed.
Windows only. When breakpoint is hit, no command prompt
appears until user press <Enter>
Oleg Lekarev [Fri, 24 Dec 2021 12:55:27 +0000 (15:55 +0300)]
[CLI] Mark the current source line for <list> command.
Mikhail Kurinnoi [Fri, 17 Dec 2021 11:05:56 +0000 (03:05 -0800)]
Fix eval timeout return code.
In case of evaluation timeout we abort evaluation by "abort" feature with meaning, that evaluation is failed. But in case of successful evaluation abort, runtime return CORDBG_S_FUNC_EVAL_ABORTED successful return code.
Mikhail Kurinnoi [Tue, 14 Dec 2021 14:44:18 +0000 (06:44 -0800)]
Fix debug process race.
Oleg Lekarev [Tue, 14 Dec 2021 10:34:45 +0000 (13:34 +0300)]
[CLI] Auto-exit ncdb when dubugging process is finished or detached.
Rename option in docs
a-shaurtaev [Wed, 15 Dec 2021 17:59:01 +0000 (20:59 +0300)]
Fix build error on OSX
Alexander Soldatov [Fri, 10 Dec 2021 13:59:58 +0000 (16:59 +0300)]
Bump to 2.0.0-43 version
Mikhail Kurinnoi [Tue, 7 Dec 2021 14:21:58 +0000 (06:21 -0800)]
Fix not user code stack and scopes related work.
Fix thread ID related logic in stop event at debuggee process pause.
Fix arguments and local scope variables evaluation logic in not user code.
Fix static members and methods evaluation in not user code.
Update CLI documentation
Add description of more commands
Cleanup output
Mikhail Kurinnoi [Thu, 9 Dec 2021 10:13:14 +0000 (02:13 -0800)]
Reduce methods cyclomatic complexity.
Oleg Lekarev [Thu, 9 Dec 2021 14:14:49 +0000 (17:14 +0300)]
[CLI] Fixed: Frozen console input to the debugging application. (Windows only)
Mikhail Kurinnoi [Wed, 8 Dec 2021 13:00:41 +0000 (05:00 -0800)]
Fix Windows OS build without .git folder in CoreCLR/debugger sources.
Mikhail Kurinnoi [Wed, 8 Dec 2021 10:43:49 +0000 (02:43 -0800)]
Fix Windows OS build with CoreCLR 6.0 sources.
Related to https://github.com/dotnet/runtime/commit/
fcd862e06413a000f9cafa9d2f359226c60b9b42
Note, in case warning level 4, you also could need https://github.com/dotnet/runtime/pull/60967 changes.
Mikhail Kurinnoi [Thu, 2 Dec 2021 10:58:33 +0000 (02:58 -0800)]
Add Async methods arguments/local variable eval support.
Fix Lambda methods arguments/local variable eval support.
Fix local variable eval support in methods that contain Lambdas.
Add MI/GDB and VCode protocols tests.
Oleg Lekarev [Wed, 1 Dec 2021 14:42:18 +0000 (17:42 +0300)]
[CLI] Fixed wrong command prompt location after the commands run, next, step and continue
Oleg Lekarev [Thu, 25 Nov 2021 16:12:29 +0000 (19:12 +0300)]
[CLI] Bugfix: disable server mode for using with CLI interpreter.
Oleg Lekarev [Mon, 22 Nov 2021 13:53:15 +0000 (16:53 +0300)]
[CLI] CLI output cleanup:
- remove unneeded empty lines;
- display resolved line breakpoints filenames (bugfix)
Mikhail Kurinnoi [Fri, 19 Nov 2021 11:13:07 +0000 (03:13 -0800)]
Fix Set Value by expression feature.
Fix VSCode `setExpression` command and MI/GDB `var-assign` command work with property setter.
MI/GDB var-create, var-show-attributes and var-list-children replies will provide "noneditable" attributes in case property don't have setter.
Update cli.md
Add information about *.pdb required.
Update cli.md
Create cli.md
The brief instructions how to use netcoredbg with examples.
a-shaurtaev [Mon, 18 Oct 2021 12:41:44 +0000 (15:41 +0300)]
Add coalesce operator
Mikhail Kurinnoi [Fri, 12 Nov 2021 14:08:19 +0000 (06:08 -0800)]
Fix Set Value routine in MI/GDB and VSCode protocols.
- Add VSCode protocol setExpression command implementation.
- Add MI/GDB protocol var-evaluate-expression command implementation.
- Fix MI/GDB protocol "editable/noneditable" attribute in var-create, var-show-attributes and var-list-children replies.
- Add MI/GDB and VSCode protocols tests in order to cover all changes and fixed.
Oleg Lekarev [Thu, 11 Nov 2021 09:57:48 +0000 (12:57 +0300)]
Fix eval search for function without full qualified name.
a-shaurtaev [Mon, 1 Nov 2021 11:43:43 +0000 (14:43 +0300)]
Fix processing line from file
Mikhail Kurinnoi [Thu, 28 Oct 2021 09:18:03 +0000 (02:18 -0700)]
Add exception rethrow tests.
Oleg Lekarev [Wed, 13 Oct 2021 10:29:59 +0000 (13:29 +0300)]
sizeof() operator added to evaluator
Alexander Soldatov [Mon, 25 Oct 2021 19:48:29 +0000 (22:48 +0300)]
Bump to 2.0.0-22 version
Mikhail Kurinnoi [Mon, 25 Oct 2021 16:55:51 +0000 (09:55 -0700)]
Revert GetFrameLocation() changes.
Partially revert
0eb46078b47ba31a04269fcc8e19b42081cc0267.
Fix possible debugger hang at stack trace command.
Mikhail Kurinnoi [Fri, 22 Oct 2021 11:49:00 +0000 (04:49 -0700)]
Add new eval void return support.
Alexander Soldatov [Tue, 19 Oct 2021 15:09:57 +0000 (18:09 +0300)]
Exit on --version and --help options
Mikhail Kurinnoi [Tue, 19 Oct 2021 15:06:45 +0000 (08:06 -0700)]
Add new eval arithmetic related code.
Implementation for SyntaxKinds: AddExpression, MultiplyExpression, SubtractExpression, DivideExpression, ModuloExpression, RightShiftExpression, LeftShiftExpression, BitwiseNotExpression, LogicalAndExpression, LogicalOrExpression, ExclusiveOrExpression, BitwiseAndExpression, BitwiseOrExpression, LogicalNotExpression, EqualsExpression, NotEqualsExpression, GreaterThanExpression, LessThanExpression, GreaterThanOrEqualExpression, LessThanOrEqualExpression.
Mikhail Kurinnoi [Thu, 7 Oct 2021 16:04:16 +0000 (09:04 -0700)]
Remove old eval related code.
Alexander Soldatov [Mon, 18 Oct 2021 18:19:49 +0000 (21:19 +0300)]
[CLI] Print executed from command script commands
Alexander Soldatov [Mon, 18 Oct 2021 18:07:00 +0000 (21:07 +0300)]
[CLI] Remove ^done message for every command execution
Alexander Soldatov [Mon, 18 Oct 2021 17:53:40 +0000 (20:53 +0300)]
[CLI] 'q' alias for quit command
Alexander Soldatov [Mon, 18 Oct 2021 17:50:17 +0000 (20:50 +0300)]
[CLI] Add more readable backtrace
Mikhail Kurinnoi [Mon, 18 Oct 2021 16:18:31 +0000 (09:18 -0700)]
Fix control characters in JSON.
Based on https://github.com/Samsung/netcoredbg/pull/60.
a-shaurtaev [Fri, 8 Oct 2021 13:03:46 +0000 (16:03 +0300)]
Add boolean and comparison operators