-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Xamarin #34
base: main
Are you sure you want to change the base?
Support Xamarin #34
Conversation
Added example |
I have made this work in the past by setting properties by means of ADB, and using the attach support already available. |
@borgdylan , you're right, it is how debugger works. But it's not enough for comfortable work: debugger functionality should include:
|
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? |
@SimantoR, yes check vscode-xamarin-debug, it's tested on Ubuntu. |
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.