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
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 [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
Igor Kulaychuk [Fri, 1 Feb 2019 11:35:59 +0000 (14:35 +0300)]
Extend LambdaTest with instance variable and nested lambdas
Vladislav Andresov [Thu, 1 Nov 2018 09:02:40 +0000 (12:02 +0300)]
Add lambda function test
Merge pull request #78 from v-andresov/fix-getting-il-sequence-point
Fix getting sequence point by IL offset
Vladislav Andresov [Fri, 25 Jan 2019 17:56:05 +0000 (20:56 +0300)]
GetLineByILOffset -> GetSequencePointByILOffset
Vladislav Andresov [Thu, 24 Jan 2019 19:20:26 +0000 (22:20 +0300)]
Fix nearest sequence point searching for IL offset
Merge pull request #77 from i-kulaychuk/fix-win-variable-names
Fix string marshalling issues on Windows
Igor Kulaychuk [Tue, 29 Jan 2019 13:18:27 +0000 (16:18 +0300)]
Test always interact with the debugger using utf8 encoding
Igor Kulaychuk [Tue, 29 Jan 2019 13:17:08 +0000 (16:17 +0300)]
Always marshal strings in utf16 encoding
Igor Kulaychuk [Mon, 28 Jan 2019 08:49:10 +0000 (11:49 +0300)]
Add line number to test output about expected line
Merge pull request #74 from i-kulaychuk/fix-function-breakpoints-on-win
Fix function breakpoints on Windows
Alexander Aksenov [Mon, 28 Jan 2019 17:20:30 +0000 (20:20 +0300)]
Function breakpoint: fix setting by part of full name
For, example, setting breakpoints for function named
ClassA.ClassB.func
by string
ClassB.func
Also, test case is updated
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Igor Kulaychuk [Mon, 28 Jan 2019 09:35:09 +0000 (12:35 +0300)]
Allow either empty or full type prefix in function breakpoint
Igor Kulaychuk [Mon, 28 Jan 2019 07:17:09 +0000 (10:17 +0300)]
Fix Windows build
Merge pull request #72 from a-aksenov/function-breakpoint-generic
Function breakpoint: support generic functions
Alexander Aksenov [Wed, 23 Jan 2019 14:08:48 +0000 (17:08 +0300)]
Function breakpoint: support generic functions
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Merge pull request #63 from a-aksenov/function-breakpoint
Function breakpoint: intial implementation
Alexander Aksenov [Mon, 21 Jan 2019 19:01:40 +0000 (22:01 +0300)]
Function breakpoint: add setting breakpoints by short names
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 17 Jan 2019 16:46:10 +0000 (19:46 +0300)]
Function breakpoints: add module and params specifying
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 10 Jan 2019 12:31:02 +0000 (15:31 +0300)]
Function breakpoint: add test
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 9 Jan 2019 17:25:29 +0000 (20:25 +0300)]
Function breakpoint: add MI protocol support
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 11 Dec 2018 18:15:52 +0000 (21:15 +0300)]
Add capabilities event
It is required to tell VSCode that we supports any features,
for example, funcion breakpoints
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 28 Nov 2018 15:53:01 +0000 (18:53 +0300)]
Function breakpoint: initial implementation
- support VScode
- support basic function names (no modules, no arg types)
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 9 Jan 2019 12:08:11 +0000 (15:08 +0300)]
Move condition field in Breakpoint struct
Breakpoint struct aligns DAP Breakpoint interface by its top, so
conditional field is moved to 'exposed' bottom part, cause it breaks
alignment
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Merge pull request #69 from i-kulaychuk/vscode-adapter-fix-launch-sequence
Accept launch and configurationDone commands in any order
Igor Kulaychuk [Fri, 21 Dec 2018 11:46:21 +0000 (14:46 +0300)]
Accept launch and configurationDone commands in any order
Merge pull request #66 from i-kulaychuk/fix-svace-errors
Fix SVACE errors
Igor Kulaychuk [Wed, 12 Dec 2018 19:49:56 +0000 (22:49 +0300)]
Remove unused field in FileLogger
Igor Kulaychuk [Wed, 12 Dec 2018 19:48:25 +0000 (22:48 +0300)]
Fix localtime thread-safety issues in Logger
Merge pull request #64 from i-kulaychuk/disable-ni-x86
Disable crossgen for Tizen emulator
Igor Kulaychuk [Fri, 30 Nov 2018 16:22:39 +0000 (19:22 +0300)]
Disable crossgen for Tizen emulator
Igor Kulaychuk [Mon, 19 Nov 2018 13:56:49 +0000 (16:56 +0300)]
Merge pull request #8 from github-jane-doe/typos
Typos