Hyungju Lee [Wed, 8 Apr 2020 03:20:13 +0000 (12:20 +0900)]
Quick fix for 3.1 build tool
Change-Id: I732b2f751af9cb4e236ba8b84cf0d1bff8d7df28
Alexander Soldatov [Tue, 26 May 2020 15:29:40 +0000 (18:29 +0300)]
Bump to 1.1.0-21 version
Merge pull request #160 from m-kurinnoi/fix_vscode_test_data_loss
Fix VSCode protocol tests data loss if debugger send more then 1024 bytes long data.
Merge pull request #170 from m-kurinnoi/fix_mi_tests
Fix GDB/MI protocol tests.
Mikhail Kurinnoi [Wed, 20 May 2020 10:42:59 +0000 (13:42 +0300)]
Add MI/GDB and VSCode tests for eval with exception.
Mikhail Kurinnoi [Mon, 18 May 2020 16:19:26 +0000 (19:19 +0300)]
Fix exception behaviour in implicit function execution during eval.
Mikhail Kurinnoi [Mon, 18 May 2020 09:30:52 +0000 (12:30 +0300)]
Add warning in case process exit during implicit function evaluation.
Mikhail Kurinnoi [Thu, 14 May 2020 15:45:17 +0000 (18:45 +0300)]
Add MI/GDB and VSCode tests for timeout routine.
Mikhail Kurinnoi [Thu, 14 May 2020 15:44:10 +0000 (18:44 +0300)]
Add timeout routine for evaluation.
Mikhail Kurinnoi [Wed, 13 May 2020 15:26:26 +0000 (18:26 +0300)]
Add MI/GDB and VSCode tests for Debugger.NotifyOfCrossThreadDependency.
Mikhail Kurinnoi [Wed, 13 May 2020 15:25:06 +0000 (18:25 +0300)]
Add Debugger.NotifyOfCrossThreadDependency support.
Mikhail Kurinnoi [Wed, 6 May 2020 13:41:37 +0000 (16:41 +0300)]
Add ICorDebugManagedCallback3 support.
Mikhail Kurinnoi [Fri, 24 Apr 2020 16:57:08 +0000 (19:57 +0300)]
Add MI/GDB and VSCode tests for DebuggerBrowsable attribute on the property.
Mikhail Kurinnoi [Fri, 24 Apr 2020 13:30:00 +0000 (16:30 +0300)]
Add support for DebuggerBrowsable attribute on the property.
Mikhail Kurinnoi [Thu, 23 Apr 2020 09:43:35 +0000 (12:43 +0300)]
Add MI/GDB protocol test for evaluation flags.
Mikhail Kurinnoi [Thu, 23 Apr 2020 09:42:43 +0000 (12:42 +0300)]
Add evaluation flags support.
Mikhail Kurinnoi [Thu, 23 Apr 2020 08:09:16 +0000 (11:09 +0300)]
Remove unused code.
Anton Zhukov [Wed, 13 May 2020 13:21:18 +0000 (09:21 -0400)]
Add --buildinfo cmd
Issue: https://github.sec.samsung.net/dotnet/netcoredbg/issues/198
Alexander Soldatov [Fri, 1 May 2020 16:23:45 +0000 (19:23 +0300)]
Added --version option and updated spec version to 1.1.0
Anton Zhukov [Wed, 22 Apr 2020 10:41:33 +0000 (06:41 -0400)]
Fixed threads enumerate command issue
VSCode `threads' command failed periodically for multithread apps,
because `GetUserState()' retutns failed code for running Thread.
Any user/debug status is not available for running thread.
Issue: https://github.sec.samsung.net/dotnet/netcoredbg/issues/195
Merge pull request #191 from m-kurinnoi/fix_vs_hangs
Add ret code check for ICorDebugEval2::NewStringWithLength()
Merge pull request #193 from m-kurinnoi/fix_testsuite_dotnet
Fix test-suite dotnet parameter according to launcher changes.
Mikhail Kurinnoi [Mon, 20 Apr 2020 11:36:31 +0000 (14:36 +0300)]
Fix test-suite dotnet parameter according to launcher changes.
Mikhail Kurinnoi [Thu, 16 Apr 2020 14:15:22 +0000 (17:15 +0300)]
Add ret code check for ICorDebugEval2::NewStringWithLength()
Note, ICorDebugEval2::NewStringWithLength() provide real ret code for eval routine related to code patching.
For example, we could have situation, when code patching impossible since we stop at a GC not safe place.
Mikhail Kurinnoi [Thu, 17 Oct 2019 16:16:39 +0000 (19:16 +0300)]
Add Tizen specific tests.
Test tpk applications installation with and without NI generation (test debugger's pdb search routine).
Test launch_app work with debugger (in this way MSVS plugin work with debugger).
Merge pull request #188 from m-kurinnoi/fix_warning_CS1573
Fix warning CS1573
Merge pull request #187 from m-kurinnoi/add_clang-accel-armv7l
Add clang-accel package to build requirement for arm.
Mikhail Kurinnoi [Mon, 6 Apr 2020 09:52:14 +0000 (12:52 +0300)]
Fix warning CS1573
[ 112s] SymbolReader.cs(188,79): warning CS1573: Parameter 'readMemory' has no matching param tag in the XML comment for 'SymbolReader.LoadSymbolsForModule(string, bool, ulong, int, ulong, int, SymbolReader.ReadMemoryDelegate)' (but other parameters do) [/home/abuild/rpmbuild/BUILD/netcoredbg/src/debug/netcoredbg/SymbolReader.csproj]
Mikhail Kurinnoi [Mon, 6 Apr 2020 09:24:29 +0000 (12:24 +0300)]
Add clang-accel package to build requirement for arm.
No reason build with emulation, if we could use clang cross-build and increase compilation speed dramatically.
Mikhail Kurinnoi [Wed, 4 Mar 2020 12:12:56 +0000 (15:12 +0300)]
Fix PDB load logic.
Allow system and framework assemblies debugging in case of Just My Code feature enabled and PDBs are available.
Anton Zhukov [Wed, 4 Dec 2019 10:28:15 +0000 (05:28 -0500)]
Updated gihub.com CI credentials
Mikhail Kurinnoi [Thu, 21 Nov 2019 12:39:40 +0000 (15:39 +0300)]
Fix GDB/MI protocol tests.
https://github.sec.samsung.net/dotnet/netcoredbg/pull/167 added some changes in debugger code: "continue" now act in another way (code was refactored), debugger provide proper result for sync/async calls now; exception breakpoint don't generate second event now (debugger behaviour was changed).
Anton Zhukov [Tue, 12 Nov 2019 09:55:25 +0000 (04:55 -0500)]
Fixes for PR review notes
Anton Zhukov [Mon, 11 Nov 2019 10:36:18 +0000 (05:36 -0500)]
Fix for review
Anton Zhukov [Tue, 22 Oct 2019 15:47:45 +0000 (11:47 -0400)]
Fix new lines in logs
Anton Zhukov [Tue, 22 Oct 2019 10:32:05 +0000 (06:32 -0400)]
Test of multithreading exception breakpoints
* Unhandled exceptions breakpoint test for 10 threads
Anton Zhukov [Thu, 17 Oct 2019 15:13:19 +0000 (11:13 -0400)]
Fix Mi Test
* After migration to Exception2 callback MI interrupted after
catch first unhandled exception event.
* Minor refactoring of filter processing.
Anton Zhukov [Wed, 16 Oct 2019 14:30:10 +0000 (10:30 -0400)]
Fix VSCode User-Unhandled exception filter behavior
Anton Zhukov [Tue, 15 Oct 2019 16:38:17 +0000 (12:38 -0400)]
Fix for #167 review
Anton Zhukov [Tue, 15 Oct 2019 14:32:58 +0000 (10:32 -0400)]
Fix for #167 PR review
Anton Zhukov [Tue, 15 Oct 2019 14:07:06 +0000 (10:07 -0400)]
Fix typo for #167 PR
Anton Zhukov [Tue, 15 Oct 2019 12:48:43 +0000 (08:48 -0400)]
Fix WIN32 buildwq
Anton Zhukov [Tue, 15 Oct 2019 11:27:55 +0000 (07:27 -0400)]
Fixes for #167 PR review
* Tabs to spaces
* Comments syntax
Anton Zhukov [Mon, 14 Oct 2019 17:40:12 +0000 (13:40 -0400)]
Fix ExceptionInfo evaluation for threads
* Fix exceptionInfo interruption for multithreaded exceptions
* Fix catching and evaluations of coreCLR exception queue
from N threads in the same time. Implemented properly behavior
for processing exception queues and evaluations queues.
Fix #134
Mikhail Kurinnoi [Fri, 8 Nov 2019 14:40:11 +0000 (17:40 +0300)]
Fix test suite GDB/MI protocol client.
Prevent possible data loss during encoding from UTF8 by 64 byte blocks.
Mikhail Kurinnoi [Fri, 11 Oct 2019 13:18:02 +0000 (16:18 +0300)]
CI script corrections.
Mikhail Kurinnoi [Wed, 2 Oct 2019 13:08:53 +0000 (16:08 +0300)]
Remove unused code.
Mikhail Kurinnoi [Thu, 10 Oct 2019 07:51:21 +0000 (10:51 +0300)]
Prevent possible MI protocol async events lost.
Mikhail Kurinnoi [Wed, 9 Oct 2019 16:26:17 +0000 (19:26 +0300)]
Revise VSCode protocol events parsing.
Mikhail Kurinnoi [Wed, 9 Oct 2019 14:41:44 +0000 (17:41 +0300)]
Revise MI protocol events parsing.
Mikhail Kurinnoi [Tue, 8 Oct 2019 14:33:34 +0000 (17:33 +0300)]
Fix MI protocol issue with async events after result befor prompt (gdb).
Mikhail Kurinnoi [Thu, 3 Oct 2019 08:21:47 +0000 (11:21 +0300)]
Remove PAL dependency.
Starts from CoreCLR 3.0 preview7, all PAL function exports was removed
https://github.com/dotnet/coreclr/commit/
a6292a6573e1f7d6e218293773e443280683cd83
Jan Kotas (@jkotas) also confirmed, that PAL will be not provided as part of external API,
see https://github.com/dotnet/coreclr/issues/26964 for more details.
Mikhail Aksenov [Tue, 1 Oct 2019 14:18:20 +0000 (17:18 +0300)]
Remove duplicated function
Mikhail Kurinnoi [Fri, 27 Sep 2019 12:34:27 +0000 (15:34 +0300)]
Fix possible VSCode protocol tests data loss.
This patch fix test's execution crash with exception:
Script running is failed. Got exception:
Newtonsoft.Json.JsonReaderException: Invalid character after parsing property name. Expected ':' but got: . Path 'body.stackFrames[3].endLine', line 1, position 1359.
at NetcoreDbgTestCore.DebuggeeScript.ExecuteCheckPoints() in /home/viewizard/Desktop/netcoredbg/test-suite/NetcoreDbgTest/DebuggeeScript.cs:line 104
at NetcoreDbgTestCore.Debuggee.Run(DebuggeeScript script, DebuggerClient debugger, Environment env) in /home/viewizard/Desktop/netcoredbg/test-suite/NetcoreDbgTest/Debuggee.cs:line 33
at TestRunner.Program.Main(String[] args) in /home/viewizard/Desktop/netcoredbg/test-suite/TestRunner/TestRunner.cs:line 113
Mikhail Kurinnoi [Thu, 26 Sep 2019 08:28:11 +0000 (11:28 +0300)]
Add GDB/MI exception breakpoint test.
Mikhail Kurinnoi [Wed, 25 Sep 2019 11:39:13 +0000 (14:39 +0300)]
Add debugger exit routine for GDB/MI protocol tests.
Now we kill debugger on exit after test finished, with this patch we close debugger in proper way by control application for all GDB/MI tests.
Minor changes in VSCode protocol control applications in order make it more clean.
Mikhail Kurinnoi [Mon, 19 Aug 2019 12:42:06 +0000 (15:42 +0300)]
Fix spec file.
We don't use SOS plugin native libs and/or managed part.
Since we have all necessary assemblies in corefx (System.Collections.Immutable.dll
and System.Reflection.Metadata.dll), no reason in coreclr-diagnostics dependency.
Mikhail Kurinnoi [Tue, 24 Sep 2019 12:13:30 +0000 (15:13 +0300)]
Fix test suite framework event/response parse sequence.
Usually we have "command -> respond -> event(s)" behaviour, but on some devices second
thread could generate 'event' before first thread send 'respond' on 'command'.
In this patch we care about case, when we could have 'event' before 'respond'.
Fix https://github.sec.samsung.net/dotnet/netcoredbg/issues/156
Mikhail Kurinnoi [Fri, 30 Aug 2019 08:09:52 +0000 (11:09 +0300)]
Switch to explicit type conversion in StackFrame constructor.
Mikhail Kurinnoi [Fri, 30 Aug 2019 08:14:40 +0000 (11:14 +0300)]
Don't prevent copy elision for temporary object.
Suppress compiler warning:
moving a temporary object prevents copy elision [-Wpessimizing-move]
Mikhail Kurinnoi [Fri, 30 Aug 2019 08:22:56 +0000 (11:22 +0300)]
Remove dead assignment.
Clang static analyser output:
Dead store: Dead assignment: Value stored to 'isMessage' is never read
1: Value stored to 'isMessage' is never read in ./src/debug/netcoredbg/variables.cpp:338
Mikhail Kurinnoi [Mon, 23 Sep 2019 09:57:21 +0000 (12:57 +0300)]
Add Xunit tests support.
Mikhail Kurinnoi [Wed, 22 May 2019 15:06:15 +0000 (18:06 +0300)]
Add GDB/MI and VSCode protocol tests.
Mikhail Kurinnoi [Mon, 19 Aug 2019 13:21:13 +0000 (16:21 +0300)]
Fix pdb search routine.
Related to "background install" see https://github.sec.samsung.net/dotnet/dotnet-launcher/issues/89
for more info.
Mikhail Kurinnoi [Tue, 13 Aug 2019 10:08:16 +0000 (13:08 +0300)]
Fix build with CoreCLR preview-7.
Temporary solution. Code should be refactored in order
to use corpriv.h and metadata.h directly (part of CoreCLR).
Anton Zhukov/AI Ecosystem Lab /SRR/Engineer/삼성전자 [Fri, 31 May 2019 15:04:47 +0000 (11:04 -0400)]
Add exception bp for vscode and single thread (#111)
* Add exception bp for vscode and single thread
* Add innerException for exception-bp
* Add nested InnerException for exceptionInfo response by vscode
* Fix BreakMode response
* Minor fixes from previous pull-request comments
* Fix ASan errors
* Move JSON header to third_party directory
* Add Catch2 v2.6.1 unit testing framework
* Add license files
* Empty commit for check building after merge with updstream master.
* Add exception bp for MI and single thread
* Fix User-Unhandled Exceptions
* Fix Exception BP MI commands
* Minor fix MI BP exception for single thread
* Add MI test for exception BP
* supported only single thread debug mode
Merge pull request #126 from m-kurinnoi/test-suite-pull1
Functional testing framework, initial commit.
Mikhail Kurinnoi [Wed, 10 Apr 2019 14:56:01 +0000 (17:56 +0300)]
Functional testing framework, initial commit.
Merge pull request #133 from m-kurinnoi/mi_add_gdb-show
Add GDB/MI "gdb-show" command.
Mikhail Kurinnoi [Thu, 18 Apr 2019 13:31:24 +0000 (16:31 +0300)]
Add GDB/MI "gdb-show" command.
Igor Kulaychuk [Thu, 18 Apr 2019 08:25:24 +0000 (11:25 +0300)]
Merge pull request #16 from itn3000/ignore-case-in-resolvesequencepoint
ignore case sensitivity in sourcefile mapping(#12)
Yusuke Ito [Thu, 18 Apr 2019 08:05:09 +0000 (17:05 +0900)]
ignore case sensitivity in sourcefile mapping(#12)
Merge pull request #132 from m-kurinnoi/vscode_evaluate_fix
Fix VSCode "evaluate" command behavior.
Mikhail Kurinnoi [Wed, 17 Apr 2019 13:49:22 +0000 (16:49 +0300)]
Fix VSCode "evaluate" command behavior.
Merge pull request #130 from m-kurinnoi/mi_exec-interrupt_fix
Fix GDB/MI "exec-interrupt" command behavior.
Merge pull request #131 from m-kurinnoi/mi_bp_code_refactoring
Minor GDB/MI breakpoints related code refactoring.
Mikhail Kurinnoi [Wed, 17 Apr 2019 08:51:22 +0000 (11:51 +0300)]
Minor GDB/MI breakpoints related code refactoring.
Mikhail Kurinnoi [Mon, 15 Apr 2019 14:48:03 +0000 (17:48 +0300)]
Fix GDB/MI "exec-interrupt" command behavior.
Merge pull request #129 from m-kurinnoi/mi_fbp_condition_fix
Fix GDB/MI "break-condition" command behavior for function breakpoints.
Mikhail Kurinnoi [Mon, 15 Apr 2019 08:10:22 +0000 (11:10 +0300)]
Fix GDB/MI "break-condition" command behavior for function breakpoints.
Merge pull request #128 from m-kurinnoi/mi_fbp_delete_fix
Fix GDB/MI "break-delete" command behavior for function breakpoints.
Mikhail Kurinnoi [Fri, 12 Apr 2019 10:32:42 +0000 (13:32 +0300)]
Fix GDB/MI "break-delete" command behavior for function breakpoints.
Merge pull request #127 from m-kurinnoi/fix_func_break
Fix delete function breakpoints issue.
Mikhail Kurinnoi [Wed, 10 Apr 2019 15:00:34 +0000 (18:00 +0300)]
Fix delete function breakpoints issue.
Igor Kulaychuk [Thu, 4 Apr 2019 07:23:41 +0000 (10:23 +0300)]
Merge pull request #15 from mickaelistria/14-initialize-capabilities
Issue #14 - Send capabilities in initialize
Mickael Istria [Wed, 3 Apr 2019 15:26:18 +0000 (17:26 +0200)]
Issue #14 - Send capabilities in initialize
Signed-off-by: Mickael Istria <mistria@redhat.com>
Merge pull request #116 from dotnet/sdb-test-automation
Update run_tests_sdb.sh script
Igor Kulaychuk [Wed, 3 Apr 2019 07:22:51 +0000 (10:22 +0300)]
Add Tizen emulator support
Igor Kulaychuk [Tue, 2 Apr 2019 13:08:03 +0000 (16:08 +0300)]
Use netcoreapp Tizen symlink
Igor Kulaychuk [Tue, 2 Apr 2019 08:51:28 +0000 (11:51 +0300)]
Avoid issues with path to run_tests_sdb.sh containig spaces
Igor Kulaychuk [Tue, 2 Apr 2019 08:45:36 +0000 (11:45 +0300)]
Put rm -rf paths inside quotes
Igor Kulaychuk [Wed, 27 Mar 2019 13:16:08 +0000 (16:16 +0300)]
Update run_tests_sdb.sh script
Now the script performs all necessary actions by itself
Merge pull request #98 from i-kulaychuk/add-third-party-dir
Add third_party directory
Igor Kulaychuk [Thu, 28 Feb 2019 12:51:19 +0000 (15:51 +0300)]
Add license files
Igor Kulaychuk [Wed, 13 Feb 2019 19:31:43 +0000 (22:31 +0300)]
Fix ASan errors
Igor Kulaychuk [Thu, 14 Feb 2019 14:45:22 +0000 (17:45 +0300)]
Add Catch2 v2.6.1 unit testing framework
Igor Kulaychuk [Thu, 14 Feb 2019 14:03:21 +0000 (17:03 +0300)]
Move JSON header to third_party directory
Build without CoreCLR (#83)
* Enable build without coreclr build libraries
* Enable automatic build dependency downloading
* Rename build option: DBGSHIM_DIR -> DBGSHIM_RUNTIME_DIR
* Fix Tizen build spec
* Remove global clang compiler declaration in Travis
* Use Clang 5 and Xenial for linux release build on Travis
Merge pull request #59 from v-andresov/tests
Add lambda function test
Igor Kulaychuk [Fri, 1 Feb 2019 16:50:13 +0000 (19:50 +0300)]
Fix lambda variables display