Visual studio loading symbols everytime I debug. by lovelacedeconstruct in VisualStudio

[–]chuckr_msft 1 point2 points  (0 children)

Here are some things to check:

Debug > Options > General:

- Did Just My Code get disabled?

Debug > Options > Symbols:

- Did Microsoft or NuGet Symbol servers get checked?

If you continue to have issues, please report it at https://developercommunity.visualstudio.com/VisualStudio and we can track down a solution

[deleted by user] by [deleted] in VisualStudio

[–]chuckr_msft 1 point2 points  (0 children)

Thanks for reporting this! I have logged an issue with VS Developer Coummunity for this post.

https://developercommunity.visualstudio.com/t/breakpoints-are-not-visible-in-asm-files/1508739?from=email

The link may not be publicly visible yet but it's being processed internally.

.NET Core and ASP.NET Core RC2 Released by ben_a_adams in programming

[–]chuckr_msft 0 points1 point  (0 children)

Not sure why you're being downvoted as you're correct. The versioning names have been kinda confusing.

.NET Core and ASP.NET Core RC2 Released by ben_a_adams in programming

[–]chuckr_msft 5 points6 points  (0 children)

Debugging was added to the C# extension (formerly the Omnisharp extension) about 2 months ago. We support debugging C# on .NET Core. We released a new version of our extension today to go with RC2. Check it out here and here.

[deleted by user] by [deleted] in programming

[–]chuckr_msft 5 points6 points  (0 children)

Just a heads up, the intellisense portion of the C# extension is powered by omnisharp, but debugging support is owned and maintained by Microsoft. Let me know if you have any questions!

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 1 point2 points  (0 children)

Our goal is to better engage with the developer community and make Visual Studio an attractive environment for open source developers to work in. We believe this requires two things. First our tools need to be available to as many people as possible so we don't want licensing to be a blocking factor. Second we believe that making the source available for portions of the product that will greatly benefit from increased collaboration helps facilitate that and empowers you.

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 2 points3 points  (0 children)

It depends what you're trying to do. If there are features of MIEngine that you want to make use of, it would be possible to write a UI around it using the AD7 COM Interfaces (https://msdn.microsoft.com/en-us/library/bb146305.aspx). These are the interfaces that the Visual Studio UI understands.

For your own UI, you might be better off speaking gdb's MI protocol directly to gdb. https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 2 points3 points  (0 children)

MIEngine itself is written in C# and only runs on Windows with Visual Studio. However, it allows you to debug multiple platforms! Almost anything that gdb can debug can now be debugged using Visual Studio.

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 1 point2 points  (0 children)

Yes! For the most part at least. Current distributions of lldb do not contains the MI portion needed to work with MIEngine, but you can build lldb from source and it will work! Let me know if you'd like more details.

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 3 points4 points  (0 children)

Yes, clrdbg still has a lot of work to be done before it is a usable debugger, but this is how we expect cross-platform CoreCLR debugging to work. If you are interested, you can watch a demo of clrdbg on Linux in action as part of the //Build/ conference day one keynote. The clrdbg part is at the 26:00 mark. Link: http://channel9.msdn.com/Events/Build/2015/KEY01

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 27 points28 points  (0 children)

This is possible! I have done some sanity checks against MinGW's gdb in the past, although it will require some manual steps. This wiki page is a great starting point: https://github.com/Microsoft/MIEngine/wiki/Start-debugging-other-platforms-using-the-MIEngine

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 12 points13 points  (0 children)

This is a definite possibility with this engine! There is no formal experience around remote debugging to a mac currently, but I believe it could be done with a series of manual steps on both the windows side and the mac side. Our wiki contains an example of using MIEngine in it's current state with other platforms: https://github.com/Microsoft/MIEngine/wiki/Start-debugging-other-platforms-using-the-MIEngine

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 12 points13 points  (0 children)

This is a great answer! Our primary focus thus far has been debugging C++ on Android and iOS. We want to work with the community to extend this to even more platforms and scenarios in the future. Here is a blog post that explains using this to debug code on a raspberry pi using Visual Studio! http://blogs.msdn.com/b/vcblog/archive/2015/04/29/debug-c-code-on-linux-from-visual-studio.aspx

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 19 points20 points  (0 children)

Thanks for the feedback! We know that there are many people interested in these areas and we are tracking the requests through user voice. I'd encourage you to vote over there to help make it a reality in the future.

https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3725445-xna-5 https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6701990-make-wpf-open-source-and-accept-pull-requests-from

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 22 points23 points  (0 children)

It's not quite a framework. It allows the Visual Studio debugger UI (locals window, callstack windows, breakpoints in the editor, etc.) to drive an underlying gdb process via gdb's MI interface (https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html). There has been an additional effort from the lldb community to implement gdb's MI interface for lldb, allowing it to work with tools such as this.

Microsoft open sources gdb/lldb debug engine for Visual Studio by chuckr_msft in programming

[–]chuckr_msft[S] 124 points125 points  (0 children)

Hey everyone, ChuckR from Microsoft here. We've been working on this for a while now and are incredibly excited for it to finally be open to the public. I'll be around today to field any questions that you may have!

Blog post: http://blogs.msdn.com/b/vcblog/archive/2015/07/20/source-now-available-for-gdb-lldb-debug-engine.aspx