Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-28[compliance] Updated NewtonSoft.Json to 13.0.1 (#369)Mauro Agnoletti
2022-06-24Support new hotreload features and support line changes (#365)Thays Grazia
* About HotReload now we can do in an android app and the debug will continue working: 1) add lines before the breakpoint and the breakpoint will continue working 2) remove lines before the breakpoint and the breakpoint will continue working 3) add new static methods 4) add new static fields 5) add new classes Also we check what is supported by runtime to make it possible from debugger. * Addressing @lewing comments. * Fix wrong implementation. * Changing enum as it was changed on runtime * Addressing @nosami comments.
2022-05-03Protect from errors related to cancelling debugger connection (#361)dev/gregm/testMauro Agnoletti
* Protect from null AsyncState when canceling the connection in VirtualMachineManager Under some circumstances it could happen that the AsyncState is null because the socket connection was not established and the socket is therefore null. This may happen when the debugger session has been started but the connection to the app didn't take place * Added exception handling when canceling debugger connection on SoftDebuggerSession.EndLaunch If any unexpected error occurs at this point, some important things may not happen like invoking the TargetExited event, which could cause the debugger session to hang For this reason we should handle any exception happening here and report it accordingly One reason for this problem to reproduce is when the debugger session launches but the connection with the app is not established, so the session will never end and potentially hang under any UI interaction
2022-03-28Fix fatal null reference exception in StartConnectionMatt Ward
When the iOS simulator is stopped immediately after it starts up the debugger would crash the IDE with a fatal unhandled null reference exception in StartConnection. An unhandled exception has occurred. Terminating Visual Studio? True System.NullReferenceException: Object reference not set to an instance of an object. at Mono.Debugging.Soft.SoftDebuggerSession.<>c__DisplayClass47_0 .<StartConnection>b__0(IAsyncResult ar) in Mono.Debugging.Soft/ SoftDebuggerSession.cs:line 158 On stopping the simulator the startArgs field is set to null in EndLaunch. This was not handled in the callback used in StartConnection and would cause the fatal exception. Handle a null startsArgs in the callback when checking if a retry is required. Fixes VSTS #1506514 - VS crashes when start debugging Xamarin.Forms (target iOS) project using iPhone simulator
2022-03-22fix commentThays Grazia
2022-03-22fix commentThays Grazia
2022-03-22remove unrelated changesThays Grazia
2022-03-22remove unrelated changesThays Grazia
2022-03-22Fix https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1447827Thays Grazia
2021-12-21Add net472 back to Mono.Debugging.Soft (#351)Peter Collins
Xamarin.Android has build tasks and tests that target net472 which won't build without multitargeting Mono.Debugging.Soft.
2021-12-16Merge pull request #349 from mono/net6Jason Imison
Net6
2021-09-03Use Mono.Unix package instead of Mono.Posix.NETStandardLluis Sanchez
2021-08-28Fix ↵Thays Grazia
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1384996?src=WorkItemMention&src-action=artifact_link (#347)
2021-08-24Add support for .net 6Lluis Sanchez
For now, just removed some code that doesn't work
2021-07-15Support debug on android after hot reload. (#344)Thays Grazia
2021-03-03Add Module.ApplyChanges (#342)d16-10Aleksey Kliger (λgeek)
[Mono.Debugger.Soft] add ModuleMirror.ApplyChanges [Mono.Debugging.Soft] add SoftDebuggerSession.ApplyChanges Related mono/mono Mono.Debugger.Soft PR: mono/mono#20889 Related dotnet/runtime PR: dotnet/runtime#49043 Contributes to dotnet/runtime#44806
2021-02-10Fix assembly version after converting projects to SDK styleMatt Ward
SDK style projects set the assembly version to 1.0.0.0 by default. Classic projects use 0.0.0.0 as the assembly version. Setting the version to 0.0.0.0 to avoid compatibility warnings.
2021-02-09Convert csproj files to SDK style.Jonathan Pobst
2021-01-20Migrate pdb information to be embedded to reduce number of file handl… (#339)Marius Ungureanu
2021-01-20Change DebugType from `full` to `portable` (#335)Dmitriy Vornychev
2020-11-11Fix whitespace.Kirill Osenkov
2020-11-03WIP ignoresDavid Karlaš
2020-10-29Add support for subprocess debuggingLluis Sanchez
Added options and events to support subprocess debugging. Implemented experimental subprocess debugging for the Mono soft debugger. This is done by intercepting calls to start the debugger and injecting the debugger agent options. This should ideally be handled by Mono itself, and we can propose to incorporate the required hooks to Mono, but meanwhile we can try this hacky implementation.
2020-09-21Added OutputOptions classjoj
VS has UI to select what to output in the debugger. There's a very common request from our users to filter the output in mono apps, which is usually very verbose. This commits adds that in a way that's performant and accurate. The runtime will still show some unneeded output, but this first step enables fixing that in the future.
2020-06-10Added a method to be able to add user assemblies after initjoj
In Visual Studio it is possible to Load Symbols for existing assemblies. This functionality results in new assemblies being debuggable in the middle of the debug session. I'm adding this method so I can use this functionality, but also to be able to load symbols as assemblies are loaded and not all at the same time, which make the debugger more responsive.
2020-05-01[Mono.Debugging.Soft] Invalidate cached local variable valuesJeffrey Stedfast
This is an attempt to fix https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1109965/ Unfortunately, while this *does* improve things, it doesn't fix the issue entirely.
2020-04-15Merge pull request #312 from mono/smarter-breakpoint-resolverJeffrey Stedfast
[Mono.Debugging.Soft] Simplified breakpoint resolving logic
2020-04-15[Mono.Debugging.Soft] Make sure to lock the SourceLinkCache while accessing itJeffrey Stedfast
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1093441/
2020-04-14[Mono.Debugging.Soft] Simplified breakpoint resolving logicJeffrey Stedfast
The old logic was trying to be so smart, it smartness-overloaded into Smartness.MinValue. In all seriousness, though, now that the IDE intelligently resolves breakpoints to the correct line, we don't need to be "smart". This code was only needed 10 years ago when the IDE would put breakpoints on blank lines and so the debugger would need to do insanely fuzzy matching. So fuzzy it needed glasses, apparently. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1094719/
2020-04-13[UnitTests] Fixed GetChildSync() and GetAllChildrenSync()Jeffrey Stedfast
2020-04-03Revert "[debugger] Implementing step through multithreaded code. (#299)"Jeffrey Stedfast
This reverts commit 2f5bb268a473d711605d1d391a75c3153ea1c7d4.
2020-04-02Fixed VariableValueReference.GetValue() to use the cached value if it has itJeffrey Stedfast
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1088095
2020-03-25Doing this PR again: https://github.com/mono/debugger-libs/pull/264/ (#302)Thays Grazia
With this fix it will probably work: https://github.com/mono/mono/pull/19317
2020-03-25[debugger] Implementing step through multithreaded code. (#299)Thays Grazia
* Implementing step through multithreaded code. Fixes #14456
2020-03-02[Mono.Debugging.Soft] Catch and log exceptions thrown inside of ↵Jeffrey Stedfast
OnConnectionError Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1074174/
2020-01-28Invalidating stack when calling abort of invoke method. (#286)Thays Grazia
* Invalidating stack when calling abort of invoke method. * Fix compilation error.
2020-01-22[Mono.Debugging.Soft] Don't queue a user thread for steppingJeffrey Stedfast
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/804257/
2020-01-22Revert "[DebuggerSession] Avoid using a dispatch queue for stepping"Jeffrey Stedfast
This reverts commit 8d2ae3125e9bedd2648619fc7b4b2641041fda9c.
2020-01-22Merge pull request #280 from ↵Jeffrey Stedfast
mono/jstedfast-debugger-session-step-avoid-threadpool-queue [DebuggerSession] Avoid using a dispatch queue for stepping
2020-01-19Removed stray plusAnairkoen Schno
2020-01-18Merge pull request #254 from mono/jstedfast-catch-invalid-stack-frame-exJeffrey Stedfast
Catch InvalidStackFrameExceptions
2020-01-15[DebuggerSession] Avoid using a dispatch queue for steppingJeffrey Stedfast
Just have the backends asynchronously send the request to the remote app/run time (SoftDebuggerSession already does this). Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/804257/
2019-12-13Revert "Only resume VM when suspended."Jeffrey Stedfast
This reverts commit bb5d31bd1db5224b1f5f4315afa38ea23d615a44.
2019-12-05Wrong quotation marks.Thays Grazia
2019-12-05After the new implementation of exception filters, we need to check the ↵Thays Grazia
types that are passed by user and the ones that are already in the exception list, and we can receive some wrong information like a exceptionType = "test[" this is not possible to be parsed so we will get and INVALID_ARGUMENT exception, this PR is logging this information and ignoring the error, because this shouldn't stop the debug process.
2019-11-25Only resume VM when suspended.lateralusX
Running VM with suspend="n" (for late attach scenarios), raise a number of errors in debugger client. This is due to runtime not being suspended for several events, but debugger client didn't check the suspend policy returned by VM and always tried to do a resume triggering a VMNotSuspendedException for several different event types. Fix is to check the returned suspend policy (since that indicates if VM is in a suspend state or not) and only resume when suspended.
2019-11-12Added support for overriding symbol locationsjoj
2019-10-17Exposed ExceptionEventRequestjoj
In Visual Studio in Windows there is no concept of a Catchpoint. I'm exposing the Exception Event Requests so we can use them directly.
2019-10-15Catch InvalidStackFrameExceptionsJeffrey Stedfast
Partial fix for https://devdiv.visualstudio.com/DevDiv/_workitems/edit/901162/
2019-09-24minor code cleanupJeffrey Stedfast