How can I debug MonoDevelop add-ins using MonoDevelop?

This topic says it all. I can not find information on monodevelop or google.

Even adding System.Diagnostics.Debugger.Break()and starting with mono --debug MonoDevelop.exeseems to do nothing ..

+5
source share
2 answers

mono --debug has nothing to do with the debugger, it just makes Mono track debugging information so that it can provide you file / row / column information in the opposite direction.

System.Diagnostics.Debugger.Break() Mono. AFAIK , , , . Mono Soft Debugger Mono 2.11 ( ), .

addin. " ", " > ", "". MonoDevelop.exe, - . , / MD . MonoDevelop.exe , , ..

, MD . , dll addin , MD , , . - MONODEVELOP_DEV_ADDINS, , MD . MD env vars , - csproj.

, :

<CustomCommands>
  <CustomCommands>
    <Command type="Execute"
      command="..\..\..\monodevelop\main\build\bin\MonoDevelop.exe"
      workingdir="..\..\..\monodevelop\main\build\bin" />
  </CustomCommands>
</CustomCommands>

:

<CustomCommands>
  <CustomCommands>
    <Command type="Execute"
      command="..\..\..\monodevelop\main\build\bin\MonoDevelop.exe"
      workingdir="..\..\..\monodevelop\main\build\bin">
      <EnvironmentVariables>
        <Variable name="MONODEVELOP_DEV_ADDINS" value="${TargetDir}" />
      </EnvironmentVariables>
    </Command>
  </CustomCommands>
</CustomCommands>

, <CustomCommands> , .

+10

System.Diagnostics.Debugger.Break(), .

MonoDevelop MonoDevelop .

0

All Articles