sdk/tools/netcoredbg.git
6 years agoFix frame id
Igor Kulaychuk [Mon, 22 Jan 2018 16:08:27 +0000 (19:08 +0300)]
Fix frame id

6 years agoMove JMC related methods into Modules class
Igor Kulaychuk [Mon, 22 Jan 2018 06:31:20 +0000 (09:31 +0300)]
Move JMC related methods into Modules class

6 years agoRefactor printing loaded libraries (modules)
Igor Kulaychuk [Fri, 19 Jan 2018 19:24:01 +0000 (22:24 +0300)]
Refactor printing loaded libraries (modules)

6 years agoRename commands.cpp to miprotocol.cpp
Igor Kulaychuk [Thu, 18 Jan 2018 20:04:57 +0000 (23:04 +0300)]
Rename commands.cpp to miprotocol.cpp

6 years agoMove all MIProtocol methods implementations into commands.cpp
Igor Kulaychuk [Thu, 18 Jan 2018 20:02:05 +0000 (23:02 +0300)]
Move all MIProtocol methods implementations into commands.cpp

6 years agoRefactor ManagedDebugger implementation into separate file
Igor Kulaychuk [Thu, 18 Jan 2018 19:53:45 +0000 (22:53 +0300)]
Refactor ManagedDebugger implementation into separate file

6 years agoRefactor Debugger into the ManagedDebugger class which implements Debugger interface
Igor Kulaychuk [Thu, 18 Jan 2018 19:41:37 +0000 (22:41 +0300)]
Refactor Debugger into the ManagedDebugger class which implements Debugger interface

6 years agoRefactor variables handler into Variables class
Igor Kulaychuk [Thu, 18 Jan 2018 19:17:11 +0000 (22:17 +0300)]
Refactor variables handler into Variables class

6 years agoRefactor breakpoints handler into the Breakpoints class
Igor Kulaychuk [Thu, 18 Jan 2018 18:41:37 +0000 (21:41 +0300)]
Refactor breakpoints handler into the Breakpoints class

6 years agoDo not allow access to private fields of ManagedCallback from Debugger
Igor Kulaychuk [Thu, 18 Jan 2018 18:06:10 +0000 (21:06 +0300)]
Do not allow access to private fields of ManagedCallback from Debugger

6 years agoMake GetThreadsState function non-static
Igor Kulaychuk [Thu, 18 Jan 2018 17:58:58 +0000 (20:58 +0300)]
Make GetThreadsState function non-static

6 years agoRefactor Modules namespace into Modules class
Igor Kulaychuk [Thu, 18 Jan 2018 17:56:19 +0000 (20:56 +0300)]
Refactor Modules namespace into Modules class

6 years agoMake PrintFrameLocation a private static method of the MIProtocol class
Igor Kulaychuk [Wed, 17 Jan 2018 23:12:43 +0000 (02:12 +0300)]
Make PrintFrameLocation a private static method of the MIProtocol class

6 years agoMake DisableAllSteppers a private static method of the Debugger class
Igor Kulaychuk [Wed, 17 Jan 2018 23:11:00 +0000 (02:11 +0300)]
Make DisableAllSteppers a private static method of the Debugger class

6 years agoRefactor last stopped thread id global variable
Igor Kulaychuk [Wed, 17 Jan 2018 23:03:06 +0000 (02:03 +0300)]
Refactor last stopped thread id global variable

6 years agoRefactor global process variable
Igor Kulaychuk [Wed, 17 Jan 2018 22:55:59 +0000 (01:55 +0300)]
Refactor global process variable

6 years agoMove all Evaluator methods implementations into expr.cpp and valuewalk.cpp
Igor Kulaychuk [Wed, 17 Jan 2018 22:01:49 +0000 (01:01 +0300)]
Move all Evaluator methods implementations into expr.cpp and valuewalk.cpp

6 years agoRefactor all evaluation related functions into separate Evaluator class
Igor Kulaychuk [Wed, 17 Jan 2018 21:58:14 +0000 (00:58 +0300)]
Refactor all evaluation related functions into separate Evaluator class

6 years agoMatch only full paths when setting a breakpoint
Igor Kulaychuk [Wed, 17 Jan 2018 20:25:54 +0000 (23:25 +0300)]
Match only full paths when setting a breakpoint

6 years agoRefactor internal structure for handling breakpoints
Igor Kulaychuk [Wed, 17 Jan 2018 20:25:02 +0000 (23:25 +0300)]
Refactor internal structure for handling breakpoints

6 years agoMake methods SetJustMyCode/IsJustMyCode non-static
Igor Kulaychuk [Tue, 16 Jan 2018 21:30:08 +0000 (00:30 +0300)]
Make methods SetJustMyCode/IsJustMyCode non-static

6 years agoAdd virtual destructor to Protocol interface
Igor Kulaychuk [Tue, 16 Jan 2018 21:00:55 +0000 (00:00 +0300)]
Add virtual destructor to Protocol interface

6 years agoConstruct ManagedCallback class instance inside Debugger constructor
Igor Kulaychuk [Tue, 16 Jan 2018 20:59:33 +0000 (23:59 +0300)]
Construct ManagedCallback class instance inside Debugger constructor

6 years agoRename varobj.cpp to variables.cpp
Igor Kulaychuk [Tue, 16 Jan 2018 20:29:53 +0000 (23:29 +0300)]
Rename varobj.cpp to variables.cpp

6 years agoMove class constructor related global variables into Debugger class
Igor Kulaychuk [Tue, 16 Jan 2018 20:28:19 +0000 (23:28 +0300)]
Move class constructor related global variables into Debugger class

6 years agoDo not expose ICorDebugProcess from Debugger class
Igor Kulaychuk [Tue, 16 Jan 2018 19:13:11 +0000 (22:13 +0300)]
Do not expose ICorDebugProcess from Debugger class

6 years agoRefactor variable children printing
Igor Kulaychuk [Tue, 16 Jan 2018 19:06:50 +0000 (22:06 +0300)]
Refactor variable children printing

6 years agoRefactor printing stack variables
Igor Kulaychuk [Tue, 16 Jan 2018 15:53:10 +0000 (18:53 +0300)]
Refactor printing stack variables

6 years agoRefactor out part of ICorDebug API usages in MIProtocol class
Igor Kulaychuk [Fri, 12 Jan 2018 17:28:06 +0000 (20:28 +0300)]
Refactor out part of ICorDebug API usages in MIProtocol class

6 years agoExtract class for handling GDB MI protocol
Igor Kulaychuk [Fri, 12 Jan 2018 16:23:00 +0000 (19:23 +0300)]
Extract class for handling GDB MI protocol

6 years agoRename isNull methods to IsNull
Igor Kulaychuk [Fri, 12 Jan 2018 15:14:26 +0000 (18:14 +0300)]
Rename isNull methods to IsNull

6 years agoEncode thread id and frame level as frame id
Igor Kulaychuk [Fri, 12 Jan 2018 14:48:48 +0000 (17:48 +0300)]
Encode thread id and frame level as frame id

6 years agoAvoid event printing dependency on debugged process
Igor Kulaychuk [Thu, 11 Jan 2018 22:17:49 +0000 (01:17 +0300)]
Avoid event printing dependency on debugged process

6 years agoRefactor printing messages
Igor Kulaychuk [Thu, 11 Jan 2018 21:46:51 +0000 (00:46 +0300)]
Refactor printing messages

6 years agoRefactor printing thread star/exit events
Igor Kulaychuk [Thu, 11 Jan 2018 21:19:14 +0000 (00:19 +0300)]
Refactor printing thread star/exit events

6 years agoRefactor printing process exit info
Igor Kulaychuk [Thu, 11 Jan 2018 20:47:17 +0000 (23:47 +0300)]
Refactor printing process exit info

6 years agoRefactor printing stopped state on unhandled exception
Igor Kulaychuk [Thu, 11 Jan 2018 20:35:31 +0000 (23:35 +0300)]
Refactor printing stopped state on unhandled exception

6 years agoRefactor printing stopped state when step is complete
Igor Kulaychuk [Thu, 11 Jan 2018 20:09:55 +0000 (23:09 +0300)]
Refactor printing stopped state when step is complete

6 years agoAdd license header to protocol.h
Igor Kulaychuk [Thu, 11 Jan 2018 19:51:50 +0000 (22:51 +0300)]
Add license header to protocol.h

6 years agoRefactor breakpoint printing
Igor Kulaychuk [Thu, 11 Jan 2018 19:51:06 +0000 (22:51 +0300)]
Refactor breakpoint printing

6 years agoRename Breakpoint to ManagedBreakpoint
Igor Kulaychuk [Thu, 11 Jan 2018 18:38:58 +0000 (21:38 +0300)]
Rename Breakpoint to ManagedBreakpoint

6 years agoRefactor frame location printing
Igor Kulaychuk [Thu, 11 Jan 2018 17:20:45 +0000 (20:20 +0300)]
Refactor frame location printing

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