如何在Linux中的Mono下调试Visual Studio .NET应用程序? [英] How to debug Visual Studio .NET application under Mono in Linux?

查看:193
本文介绍了如何在Linux中的Mono下调试Visual Studio .NET应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Linux的MonoDevelop下调试在Visual Studio C#中构建的应用程序.

I'm trying to debug an application built in Visual Studio C# under MonoDevelop in Linux.

我有源代码,因此我遵循了Icaza博客上

I have the source code, so I followed instructions that appears at Icaza's blog at http://tirania.org/blog/archive/2010/Feb-20.html without success (which basically consists on create an empty solution and set the Execute command to the already compiled application)

应用程序正确执行,但是当我加载源代码文件并设置断点时,它永远不会停止. 也可以使用pdb2mdb命令将pdb转换为mdb.

The application is executing correctly but when I load the source code file, and set a breakpoint, it never stops. pdb's were also transformed to mdb's using pdb2mdb command.

我想念什么?

顺便说一句,由于应用程序的大小和构建过程中的许多调整,现在不能选择将源代码加载到Monodevelop中并在Linux下构建应用程序.只是想调试编译的程序集.

BTW, load source code into Monodevelop and build the application under Linux is not an option right now, due to the big size of the application and lots of tweaks in the build process. Just wanted to debug the compiled assembly.

推荐答案

有一个命令行实用程序,用于软调试器,看看吧,这可能就是您想要的.

There is a command line utility for soft debugger, have a look it, this might be what you are looking for.

这篇关于如何在Linux中的Mono下调试Visual Studio .NET应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆