sdk/tools/netcoredbg.git
6 years agoRefactor printing threads state
Igor Kulaychuk [Wed, 10 Jan 2018 19:59:21 +0000 (22:59 +0300)]
Refactor printing threads state

6 years agoAdd .gitignore
Igor Kulaychuk [Wed, 10 Jan 2018 19:56:29 +0000 (22:56 +0300)]
Add .gitignore

6 years agoUse SysStringLen function for BSTR allocation check
Igor Kulaychuk [Thu, 7 Dec 2017 20:13:29 +0000 (23:13 +0300)]
Use SysStringLen function for BSTR allocation check

6 years agoFix return type of vsnprintf
Igor Kulaychuk [Thu, 7 Dec 2017 19:40:35 +0000 (22:40 +0300)]
Fix return type of vsnprintf

6 years agoUpdate README code formatting
Igor Kulaychuk [Mon, 13 Nov 2017 20:26:41 +0000 (23:26 +0300)]
Update README code formatting

6 years agoUpdate project description in README
Igor Kulaychuk [Mon, 13 Nov 2017 20:17:47 +0000 (23:17 +0300)]
Update project description in README

6 years agoUpdate README with Ubuntu x64 build instructions
Igor Kulaychuk [Mon, 13 Nov 2017 20:03:28 +0000 (23:03 +0300)]
Update README with Ubuntu x64 build instructions

6 years agoRemove dll rename patch from spec
Igor Kulaychuk [Mon, 13 Nov 2017 19:38:54 +0000 (22:38 +0300)]
Remove dll rename patch from spec

6 years agoUse SymbolReader.dll instead of SOS.NETCore.dll
Igor Kulaychuk [Mon, 13 Nov 2017 19:36:22 +0000 (22:36 +0300)]
Use SymbolReader.dll instead of SOS.NETCore.dll

6 years agoDisable downloading sources from internal repo
Igor Kulaychuk [Mon, 13 Nov 2017 19:30:33 +0000 (22:30 +0300)]
Disable downloading sources from internal repo

6 years agoMove SymbolReader.cs near SymbolReader.csproj
Igor Kulaychuk [Mon, 13 Nov 2017 19:28:16 +0000 (22:28 +0300)]
Move SymbolReader.cs near SymbolReader.csproj

6 years agoRestore CMakeLists.txt
Igor Kulaychuk [Mon, 13 Nov 2017 19:25:56 +0000 (22:25 +0300)]
Restore CMakeLists.txt

6 years agoMove forward declarations into headers
Igor Kulaychuk [Tue, 17 Oct 2017 17:28:05 +0000 (20:28 +0300)]
Move forward declarations into headers

6 years agoReformat comments about stack walk
Igor Kulaychuk [Wed, 11 Oct 2017 14:46:02 +0000 (17:46 +0300)]
Reformat comments about stack walk

6 years agoAdd license preamble to debugger source files
Igor Kulaychuk [Tue, 10 Oct 2017 18:49:55 +0000 (21:49 +0300)]
Add license preamble to debugger source files

6 years agoList children even if active frame is unavailable
Igor Kulaychuk [Fri, 8 Sep 2017 21:08:14 +0000 (00:08 +0300)]
List children even if active frame is unavailable

6 years agoAllow listing children without active frame
Igor Kulaychuk [Fri, 8 Sep 2017 13:22:59 +0000 (16:22 +0300)]
Allow listing children without active frame

6 years agoRemove unused frame argument from some functions
Igor Kulaychuk [Fri, 8 Sep 2017 13:02:29 +0000 (16:02 +0300)]
Remove unused frame argument from some functions

6 years agoUse ToString method for getting details of unhandled exception
Igor Kulaychuk [Thu, 7 Sep 2017 20:42:32 +0000 (23:42 +0300)]
Use ToString method for getting details of unhandled exception

6 years agoAdd parameter for getting unescaped string values
Igor Kulaychuk [Thu, 7 Sep 2017 20:39:12 +0000 (23:39 +0300)]
Add parameter for getting unescaped string values

6 years agoUse std::future for funceval results
Igor Kulaychuk [Wed, 6 Sep 2017 18:20:44 +0000 (21:20 +0300)]
Use std::future for funceval results

6 years agoGuard against nullptr active frame
Igor Kulaychuk [Thu, 24 Aug 2017 17:31:36 +0000 (20:31 +0300)]
Guard against nullptr active frame

6 years agoAdd exec-abort command
Igor Kulaychuk [Wed, 23 Aug 2017 19:22:52 +0000 (22:22 +0300)]
Add exec-abort command

6 years agoPrint event name to output-window
Igor Kulaychuk [Wed, 23 Aug 2017 19:17:36 +0000 (22:17 +0300)]
Print event name to output-window

6 years agoAdd dummy interpreter-exec command
Igor Kulaychuk [Tue, 22 Aug 2017 18:35:08 +0000 (21:35 +0300)]
Add dummy interpreter-exec command

6 years agoAdd environment-cd command
Igor Kulaychuk [Fri, 11 Aug 2017 19:31:18 +0000 (22:31 +0300)]
Add environment-cd command

6 years agoReimplement stack walking similar to Mdbg
Igor Kulaychuk [Tue, 1 Aug 2017 13:45:33 +0000 (16:45 +0300)]
Reimplement stack walking similar to Mdbg

6 years agoEnabled handling CORECLR_SET_RPATH build option
Igor Kulaychuk [Thu, 3 Aug 2017 20:02:09 +0000 (23:02 +0300)]
Enabled handling CORECLR_SET_RPATH build option

6 years agoImplement notifications about resolved breakpoints in loaded module
Igor Kulaychuk [Tue, 1 Aug 2017 17:11:07 +0000 (20:11 +0300)]
Implement notifications about resolved breakpoints in loaded module

6 years agoDo not step into overloaded operator methods when JMC is enabled
Igor Kulaychuk [Mon, 31 Jul 2017 20:14:17 +0000 (23:14 +0300)]
Do not step into overloaded operator methods when JMC is enabled

6 years agoDo not step into methods with DebuggerStepThroughAttribute when JMC is enabled
Igor Kulaychuk [Mon, 31 Jul 2017 20:00:03 +0000 (23:00 +0300)]
Do not step into methods with DebuggerStepThroughAttribute when JMC is enabled

6 years agoDo not step into property setters and getters when JMC is enabled
Igor Kulaychuk [Mon, 31 Jul 2017 19:53:14 +0000 (22:53 +0300)]
Do not step into property setters and getters when JMC is enabled

6 years agoShow child of pointer type
Igor Kulaychuk [Mon, 31 Jul 2017 17:40:38 +0000 (20:40 +0300)]
Show child of pointer type

6 years agoUnregister startup token on timeout
Igor Kulaychuk [Mon, 31 Jul 2017 14:58:33 +0000 (17:58 +0300)]
Unregister startup token on timeout

6 years agoDo not hit breakpoints during func-eval
Igor Kulaychuk [Mon, 24 Jul 2017 18:00:50 +0000 (21:00 +0300)]
Do not hit breakpoints during func-eval

6 years agoAdd support for literals
Igor Kulaychuk [Mon, 24 Jul 2017 15:58:40 +0000 (18:58 +0300)]
Add support for literals

6 years agoAllow TypePrinter to resolve ELEMENT_TYPE_VAR
Igor Kulaychuk [Mon, 24 Jul 2017 15:46:23 +0000 (18:46 +0300)]
Allow TypePrinter to resolve ELEMENT_TYPE_VAR

6 years agoAdd methods to TypePrinter for renaming system types to CSharp types and vice versa
Igor Kulaychuk [Mon, 24 Jul 2017 11:06:46 +0000 (14:06 +0300)]
Add methods to TypePrinter for renaming system types to CSharp types and vice versa

6 years agoAdd support for array types in generic parameters in expression evaluation
Igor Kulaychuk [Mon, 24 Jul 2017 01:07:20 +0000 (04:07 +0300)]
Add support for array types in generic parameters in expression evaluation

6 years agoAdd support for printing type name from PCCOR_SIGNATURE
Igor Kulaychuk [Mon, 24 Jul 2017 01:03:22 +0000 (04:03 +0300)]
Add support for printing type name from PCCOR_SIGNATURE

6 years agoAdd ICorDebugThread argument to WalkMembers() function
Igor Kulaychuk [Sun, 23 Jul 2017 20:25:40 +0000 (23:25 +0300)]
Add ICorDebugThread argument to WalkMembers() function

6 years agoDo not duplicate variables when showing lambda captures
Igor Kulaychuk [Sun, 23 Jul 2017 17:09:35 +0000 (20:09 +0300)]
Do not duplicate variables when showing lambda captures

6 years agoFix nested lambda captures display
Igor Kulaychuk [Sat, 22 Jul 2017 20:28:46 +0000 (23:28 +0300)]
Fix nested lambda captures display

6 years agoRefactor argument name utf8 conversion
Igor Kulaychuk [Sat, 22 Jul 2017 20:06:29 +0000 (23:06 +0300)]
Refactor argument name utf8 conversion

6 years agoFix loading symbols on attach
Igor Kulaychuk [Sat, 22 Jul 2017 19:00:04 +0000 (22:00 +0300)]
Fix loading symbols on attach

6 years agoReport lines and columns in frame location
Igor Kulaychuk [Sat, 22 Jul 2017 18:27:54 +0000 (21:27 +0300)]
Report lines and columns in frame location

6 years agoReturn SequencePoint when reporting frame location
Igor Kulaychuk [Sat, 22 Jul 2017 18:22:14 +0000 (21:22 +0300)]
Return SequencePoint when reporting frame location

6 years agoPut ICorDebugModule related stuff into Modules namespace
Igor Kulaychuk [Sat, 22 Jul 2017 17:45:08 +0000 (20:45 +0300)]
Put ICorDebugModule related stuff into Modules namespace

6 years agoSet JMC status to false for methods without the source code
Igor Kulaychuk [Sat, 22 Jul 2017 17:23:36 +0000 (20:23 +0300)]
Set JMC status to false for methods without the source code

6 years agoEnable SymbolReader to get SequencePoints for method
Igor Kulaychuk [Sat, 22 Jul 2017 17:09:51 +0000 (20:09 +0300)]
Enable SymbolReader to get SequencePoints for method

6 years agoFix display of captured variables in lambda
Igor Kulaychuk [Sat, 22 Jul 2017 00:18:17 +0000 (03:18 +0300)]
Fix display of captured variables in lambda

6 years agoAdd support for generics in expression evaluation
Igor Kulaychuk [Fri, 21 Jul 2017 21:18:33 +0000 (00:18 +0300)]
Add support for generics in expression evaluation

6 years agoSupport simple expression evaluation - access only fields and array indices
Igor Kulaychuk [Thu, 20 Jul 2017 21:14:45 +0000 (00:14 +0300)]
Support simple expression evaluation - access only fields and array indices

6 years agoReduce precision when printing floats(8) and doubles(16) to match vsdbg
Igor Kulaychuk [Fri, 21 Jul 2017 19:26:01 +0000 (22:26 +0300)]
Reduce precision when printing floats(8) and doubles(16) to match vsdbg

6 years agoLimit RunClassConstructor to ELEMENT_TYPE_CLASS only
Igor Kulaychuk [Fri, 21 Jul 2017 18:16:32 +0000 (21:16 +0300)]
Limit RunClassConstructor to ELEMENT_TYPE_CLASS only

6 years agoImplement TypePrinter::GetTypeAndMethod()
Igor Kulaychuk [Fri, 21 Jul 2017 16:45:05 +0000 (19:45 +0300)]
Implement TypePrinter::GetTypeAndMethod()

6 years agoFix RunClassConstructor for null objects
Igor Kulaychuk [Fri, 21 Jul 2017 02:06:12 +0000 (05:06 +0300)]
Fix RunClassConstructor for null objects

6 years agoWalk through current class fields before walking the base class
Igor Kulaychuk [Fri, 21 Jul 2017 02:02:48 +0000 (05:02 +0300)]
Walk through current class fields before walking the base class

6 years agoAdd support for mdtTypeRef in TypePrinter::NameForToken()
Igor Kulaychuk [Fri, 21 Jul 2017 01:58:52 +0000 (04:58 +0300)]
Add support for mdtTypeRef in TypePrinter::NameForToken()

6 years agoRefactor string tokenization
Igor Kulaychuk [Thu, 20 Jul 2017 19:32:23 +0000 (22:32 +0300)]
Refactor string tokenization

6 years agoStep over code with no source
Igor Kulaychuk [Thu, 20 Jul 2017 19:20:57 +0000 (22:20 +0300)]
Step over code with no source

6 years agoUse System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor() before listi...
Igor Kulaychuk [Thu, 20 Jul 2017 03:23:27 +0000 (06:23 +0300)]
Use System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor() before listing static children

6 years agoRefactor EvalProperty() -> EvalFunction()
Igor Kulaychuk [Thu, 20 Jul 2017 01:08:40 +0000 (04:08 +0300)]
Refactor EvalProperty() -> EvalFunction()

6 years agoGuard against children with nullptr ICorDebugValue
Igor Kulaychuk [Wed, 19 Jul 2017 20:25:10 +0000 (23:25 +0300)]
Guard against children with nullptr ICorDebugValue

6 years agoPrint reference type without &
Igor Kulaychuk [Wed, 19 Jul 2017 20:00:38 +0000 (23:00 +0300)]
Print reference type without &

6 years agoRespond to exec-continue with ^running
Igor Kulaychuk [Wed, 19 Jul 2017 19:57:53 +0000 (22:57 +0300)]
Respond to exec-continue with ^running

6 years agoFix stepping through hidden lines
Igor Kulaychuk [Wed, 19 Jul 2017 17:19:07 +0000 (20:19 +0300)]
Fix stepping through hidden lines

6 years agoFix process attach
Igor Kulaychuk [Wed, 19 Jul 2017 17:01:53 +0000 (20:01 +0300)]
Fix process attach

6 years agoUse stderr in symbolreader.cpp
Igor Kulaychuk [Wed, 19 Jul 2017 09:40:37 +0000 (12:40 +0300)]
Use stderr in symbolreader.cpp

6 years agoIncrease startup wait timeout to 5 seconds
Igor Kulaychuk [Wed, 19 Jul 2017 00:40:07 +0000 (03:40 +0300)]
Increase startup wait timeout to 5 seconds

6 years agoEnable searching for CLR path in process using PAL APIs
Igor Kulaychuk [Wed, 19 Jul 2017 00:30:43 +0000 (03:30 +0300)]
Enable searching for CLR path in process using PAL APIs

6 years agoInitial implementation of exec-run
Igor Kulaychuk [Tue, 18 Jul 2017 21:18:02 +0000 (00:18 +0300)]
Initial implementation of exec-run

6 years agoAdd Debugger::Message() method for printing into VS output window
Igor Kulaychuk [Tue, 18 Jul 2017 17:28:50 +0000 (20:28 +0300)]
Add Debugger::Message() method for printing into VS output window

6 years agoMake EscapeMIValue() a method of Debugger class
Igor Kulaychuk [Tue, 18 Jul 2017 17:25:16 +0000 (20:25 +0300)]
Make EscapeMIValue() a method of Debugger class

6 years agoReplace out_printf() with Debugger::Printf()
Igor Kulaychuk [Tue, 18 Jul 2017 17:08:19 +0000 (20:08 +0300)]
Replace out_printf() with Debugger::Printf()

6 years agoMove GetFileName() to platform.cpp
Igor Kulaychuk [Tue, 18 Jul 2017 17:00:00 +0000 (20:00 +0300)]
Move GetFileName() to platform.cpp

6 years agoAdd support for System.Diagnostics.DebuggerNonUserCodeAttribute
Igor Kulaychuk [Tue, 18 Jul 2017 16:49:30 +0000 (19:49 +0300)]
Add support for System.Diagnostics.DebuggerNonUserCodeAttribute

6 years agoUse TypeFromToken in TypePrinter class
Igor Kulaychuk [Tue, 18 Jul 2017 16:39:11 +0000 (19:39 +0300)]
Use TypeFromToken in TypePrinter class

6 years agoAdd support for MemberRef in TypePrinter::NameForToken
Igor Kulaychuk [Tue, 18 Jul 2017 16:11:13 +0000 (19:11 +0300)]
Add support for MemberRef in TypePrinter::NameForToken

6 years agoDisable all steppers before creating a new one
Igor Kulaychuk [Tue, 18 Jul 2017 12:01:51 +0000 (15:01 +0300)]
Disable all steppers before creating a new one

6 years agoAdd basic support for Just-My-Code debugging - mark all modules with symbols as JMC
Igor Kulaychuk [Tue, 18 Jul 2017 11:55:47 +0000 (14:55 +0300)]
Add basic support for Just-My-Code debugging - mark all modules with symbols as JMC

6 years agoFix stepping over hidden lines
Igor Kulaychuk [Tue, 18 Jul 2017 11:36:22 +0000 (14:36 +0300)]
Fix stepping over hidden lines

6 years agoFix steppers duplication when a breakpoint was hit during the step
Igor Kulaychuk [Tue, 18 Jul 2017 11:35:55 +0000 (14:35 +0300)]
Fix steppers duplication when a breakpoint was hit during the step

6 years agoPrint more detailed frame location
Igor Kulaychuk [Tue, 18 Jul 2017 11:22:04 +0000 (14:22 +0300)]
Print more detailed frame location

6 years agoUse unique_ptr for storing SymbolReader class along with the module
Igor Kulaychuk [Mon, 17 Jul 2017 18:51:43 +0000 (21:51 +0300)]
Use unique_ptr for storing SymbolReader class along with the module

6 years agoSkip loading symbols for System.* dlls
Igor Kulaychuk [Mon, 17 Jul 2017 18:45:58 +0000 (21:45 +0300)]
Skip loading symbols for System.* dlls

6 years agoUse module load address as a key in loaded modules map
Igor Kulaychuk [Mon, 17 Jul 2017 18:26:43 +0000 (21:26 +0300)]
Use module load address as a key in loaded modules map

6 years agoAdd breakpoint hit count display
Igor Kulaychuk [Mon, 17 Jul 2017 18:09:15 +0000 (21:09 +0300)]
Add breakpoint hit count display

6 years agoDisplay $exception stack variable (if any)
Igor Kulaychuk [Mon, 17 Jul 2017 17:33:15 +0000 (20:33 +0300)]
Display $exception stack variable (if any)

6 years agoFix resolving multiple pending breakpoints
Igor Kulaychuk [Mon, 17 Jul 2017 16:27:34 +0000 (19:27 +0300)]
Fix resolving multiple pending breakpoints

6 years agoPrint Static memebers for null values
Igor Kulaychuk [Mon, 17 Jul 2017 16:16:54 +0000 (19:16 +0300)]
Print Static memebers for null values

6 years agoReport isNull also for dereferenced values
Igor Kulaychuk [Mon, 17 Jul 2017 15:56:20 +0000 (18:56 +0300)]
Report isNull also for dereferenced values

6 years agoAdd noneditable attribute to Variable Objects
Igor Kulaychuk [Mon, 17 Jul 2017 14:55:19 +0000 (17:55 +0300)]
Add noneditable attribute to Variable Objects

6 years agoRefactor Variable Object printing
Igor Kulaychuk [Mon, 17 Jul 2017 14:51:26 +0000 (17:51 +0300)]
Refactor Variable Object printing

6 years agoPrint has_more value for var-list-children command
Igor Kulaychuk [Mon, 17 Jul 2017 14:15:40 +0000 (17:15 +0300)]
Print has_more value for var-list-children command

6 years agoFix unhandled exceptions output
Igor Kulaychuk [Mon, 17 Jul 2017 14:04:18 +0000 (17:04 +0300)]
Fix unhandled exceptions output

6 years agoDo not stop on unmapped code
Igor Kulaychuk [Mon, 17 Jul 2017 13:25:49 +0000 (16:25 +0300)]
Do not stop on unmapped code

6 years agoAllow to run debugger without arguments
Igor Kulaychuk [Mon, 17 Jul 2017 12:15:00 +0000 (15:15 +0300)]
Allow to run debugger without arguments

6 years agoEnable printing ^running for step commands
Igor Kulaychuk [Mon, 17 Jul 2017 03:26:00 +0000 (06:26 +0300)]
Enable printing ^running for step commands

6 years agoFix exception-received and end-stepping-range location output
Igor Kulaychuk [Mon, 17 Jul 2017 03:23:47 +0000 (06:23 +0300)]
Fix exception-received and end-stepping-range location output