Visual Studio Debugging

Discussion in 'External Tools' started by Reapazor, Feb 11, 2011.

?

I would like to see support for Visual Studio

  1. Yes

    99.2%
  2. No

    0.8%
  1. Reapazor

    Reapazor

    Member

    Joined:
    Jun 19, 2008
    Messages:
    162
    How many people would like to see Visual Studio support for debugging Unity (identical to the MonoDevelop implementation).
  2. Dreamora

    Dreamora

    Member

    Joined:
    Apr 5, 2008
    Messages:
    26,586
    all would likely like it but you can't cause MS.NET does not debug mono.
    you would need the mono plugin for VS to even approach it, which costs money to buy while mono develop does it for free. Also from what mention in 2010, it seems like monodevelop as time passes by, will become the new standard editor for unity development

    at the time debugging even with the mono plugins for VS doesn't work at least not in a form that makes any sense at all
    Last edited: Feb 11, 2011
  3. Reapazor

    Reapazor

    Member

    Joined:
    Jun 19, 2008
    Messages:
    162
    The long and the short of it ... this is more of an informational post to anyone that cares :)

    When you launch Unity from MonoDevelop it sends along a few arguments which tell Unity to pipe the internal Mono debug information to a socket where there is a service (built into MonoDevelop) listening for the info.

    This part is quite easy to replicate and I was able to have Unity sending data to Visual Studio in that capacity rather quickly (spent an evening). The issue is having the debugger in VS show that information, and thats where VS's extendible Debug Engine and Evaluation Engine come into play.

    The process would involve crafting a layer between the two which would convert Mono's information into readable information by VS. Sounds fun?

    Well the reality is Mono Tools for VS is basically doing that (more or less), it launches apps and send similar arguments along. It would be entirely feasible to extend Mono Tools to support Unity. That would save the time of creating the DE/EE, but then that starts the financial debate. It's 99$ for the base line Mono Tools ...

    Anyways, entirely possible, and proof of concepts worked quite well.

    It's been suggested though that I return to my roots of working on MD addins/features to make up for the features in VS that I really like.
    I probably will do that. I just wanted to see if there was enough demand for something like this.
    Last edited: Feb 12, 2011
  4. trs79

    trs79

    New Member

    Joined:
    Jan 27, 2012
    Messages:
    1
    I have MonoTools installed, and am very interested in how you got the information to forward to Visual Studio. Thanks for any help
  5. jc_lvngstn

    jc_lvngstn

    Member

    Joined:
    Jul 19, 2006
    Messages:
    1,278
    I'd pay a nice amount to be able to have visual studio debugging with good performance. Visual studio is just an awesome product, and with Resharper I just have a hard time using anything else.
  6. samizzo

    samizzo

    Member

    Joined:
    Sep 7, 2011
    Messages:
    60
    Agreed. After using various IDEs and debuggers over the last 15+ years (CodeWarrior for GC/Wii, ProDG for PS2/PS3, VS from 5+, MonoDevelop, gdb, Turbo Pascal from 3+, Borland C++ 4+, Turbo Debugger, etc etc etc) , I've found Visual Studio to be one of the best out there. I would definitely pay to get VS integrated with Unity. Imho MonoDevelop is clunky and doesn't feel like a professional tool.
  7. kablammyman

    kablammyman

    New Member

    Joined:
    Nov 22, 2010
    Messages:
    466
    hell yeah i want this!!
  8. Doddler

    Doddler

    Member

    Joined:
    Jul 12, 2011
    Messages:
    176
    I would love to see this available!
  9. Neutron

    Neutron

    Member

    Joined:
    Apr 25, 2011
    Messages:
    21
    Would definitely pay good money to be able to debug in VS
  10. imtrobin

    imtrobin

    Member

    Joined:
    Nov 30, 2009
    Messages:
    1,064
    same here, I will pay to get rid of monodevelop!
  11. PatHightree

    PatHightree

    Member

    Joined:
    Aug 18, 2009
    Messages:
    166
    Shut up and take my money !
    (when you're finished)
  12. konetkar500

    konetkar500

    New Member

    Joined:
    Feb 16, 2012
    Messages:
    2
    i have used in Vb .net but now i will def try it in .net
  13. jbevain

    jbevain

    New Member

    Joined:
    Feb 22, 2012
    Messages:
    61
    Hey,

    I'm tooting my own horn here, but we've just announced UnityVS, a plugin bridging Unity and Visual Studio, which includes debugging of scripts inside VS. I encourage you to sign-up to the beta if you want to try it out!
  14. Doddler

    Doddler

    Member

    Joined:
    Jul 12, 2011
    Messages:
    176
    Sexy, this looks quite promising too!
  15. wulven

    wulven

    New Member

    Joined:
    Sep 29, 2010
    Messages:
    5
    Yes, it's nice. But I think Mono Develop is best choose of all time, because VS is windows' IDE and Mono Develop is an cross-platform IDE.
  16. josszp

    josszp

    Member

    Joined:
    Jul 15, 2010
    Messages:
    13
    Yes, it's so useful!!! I am waiting for it online.
  17. Integria

    Integria

    New Member

    Joined:
    May 12, 2012
    Messages:
    145
    I'd absolutely love to see it.

    It is amusing how I can't live without the ability to debug in any regular C++ or C# project I do, but when it comes to C# scripting in Unity... well, in that context my mind has entirely forgotten about debugging the regular way. It just seems that I'd rather debug with prints and workarounds than actually switch momentarily to monodevelop.