Monodevelop on Mac how to I set the working directory for debugging

不问归期 提交于 2019-12-08 03:56:44

问题


I know I can set custom run commands for running which includes setting the working directory but I cannot seem to find the setting to set the working directory when debugging. Any ideas?


回答1:


The debugger uses the same working directory that "Run" uses.




回答2:


To set a working directory in "Run" or "Debug" mode :

  • in "Project Options", add a "Run/Custom Command" with type "Execute"
  • set the command: ${TargetFile}
  • set your working directory


来源:https://stackoverflow.com/questions/8186009/monodevelop-on-mac-how-to-i-set-the-working-directory-for-debugging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!