Open
Conversation
Author
|
Added example |
|
I have made this work in the past by setting properties by means of ADB, and using the attach support already available. |
Author
|
@borgdylan , you're right, it is how debugger works. But it's not enough for comfortable work: debugger functionality should include:
|
Author
|
Demo with current functionality: https://youtu.be/RnWTy1D031k |
|
Hi, loving this project. This could very well enable Xamarin App development in Linux systems. Anyone tried this on Ubuntu or any other Linux distro yet? |
Author
|
@SimantoR, yes check vscode-xamarin-debug, it's tested on Ubuntu. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is some kind of proof of concept, which shows that it's possible to debug Xamarin application using VS Code. I'd like you to review the idea and probably help me with advice.
Now it supports only Xamarin.Android, but Xamarin.IOS is similar.
To start debugging build and deploy Xamarin.Android application via command line or ide, then define "packageName": "com.yourapp.name" in launch configuration, then run debugger. Debugger expects that you have adb in path. I tested debugger only on mac os.
Xamarin uses some "special" way to connect sdb, you can find more details here https://github.com/xamarin/xamarin-macios/blob/xamarin-mac-3.4.0.33/runtime/monotouch-debug.m#L1270 android has similar code, so I just send few packages before starting connection.
I'm going to continue implementing Xamarin.Anroid debug, then I will implement Xamarin.IOS debug.
Please, share you thoughts about this feature with me.