How to debug java code which is being called from c# in visual studio


  • I am working on a visual studio plugin.

    In the c# plugin code I am calling one jar by using System.Diagnostics.Process() and passing the relevant argument.

    I did some changes in java code using eclipse and then build the jar and executed the plugin , now its throwing the exception.

    I want to debug the java code and figure out the issue .

    How can I achieve that ? Do i need to add the java source code in visual studio ? If yes , how can it be done ?

    Or is there a way I can use Debug-->"Attach to Process"  in this scenario?  

    Wednesday, May 16, 2018 10:36 AM