Sunday, 15 July 2012

.net - Execute process in debug mode from current dll -



.net - Execute process in debug mode from current dll -

i have windows forms application internally calling exe file. trying execute exe file in debugging mode unable so. there way can debug exe file while current application runs?

dim proc process = new process() proc.startinfo.filename = "dllreader.exe" proc.startinfo.arguments = path & " " & dllfilename proc.startinfo.windowstyle = system.diagnostics.processwindowstyle.hidden proc.start() proc.waitforexit()

thanks

yes.

open windows forms app in visual studio. navigate point in app sec app launched , launch it. open solution sec app in instance of visual studio. hit ctrl-alt-p (attach process) , select process running sec executable.

you can step through code.

.net vb.net visual-studio-2010 process

No comments:

Post a Comment