I have the problem with camera"build In" I want to debug to investigate more in the issue but I face a problem which is my class call the .exe project directly it doesn't use no interface or something else so this prevent me to debug. The ".exe" exist in my solution they use ProcessStartInfo to started. Can somebody give me a way how i can debug into the exe from the other project in the same solution thinks for you help ine advance
Asked
Active
Viewed 419 times
0
-
So as I understand it your project `Process.Start()`s a `.exe` file and you want to debug the execution of that? Is that a native `.exe` or is it a .NET assembly? Do you have source code for it? You can't really look into that `exe` nicely with your visual studio debugging tools, but any other debugger (`x64dbg`, `OllyDbg`) is helpfull. What exactly is the problem with the .exe? If it doesn't behave like it should (bug inside that program), reverse-engineering the problem might be hard. It might be better to ask the creators of that program for help. – Maximilian Gerhardt Dec 09 '16 at 11:51
-
It sound like he has the code within the solution - but calls a compiled version using Process.Start() on the exe. In Visual Studio you can attach the debugger to an exe by name and then it will hit break points/allow you to debug etc – C. Knight Dec 09 '16 at 12:00
-
yes i have the exe in the solution but I don't know how I can attach the debugger to the exe, I already try to add breakpoint on the code but it doesn't work, I never reach breakpoint . – abla Dec 09 '16 at 14:31
-
I resolve the problem by calling directly the Main Program instead of using the ProcessStartInfo that launch the EXE and it works fine – abla Dec 15 '16 at 10:14