- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to call a program that I have compiled so that it launches in a debugger session like in VS2015?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't done anything like this before and I’m not sure this is really what you’re looking for but you can launch debugging of an executable under the MS IDE via the command-line with: devenv /debug <executable>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the suggestion Kevin D. I was able to launch the solution using devenv /debug name.sln. Using the executable name did not work; however, the project did not start running when VS2015 launched. My goal is to get the project to launch and begin running in debug mode with command line arguments that I provide when I start VS2015. I'm still looking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kevin's suggestion is correct - add /run if you want it to start automatically. If you want to set a breakpoint, use the File menu to open a source file (when you open without /run) and you can then set one there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve. It works when I'm in a command prompt launched in the Intel group IA-32 Visual Studio 2015 environment. What is the batch file that runs to get all the paths set up for this? Using devenv /debug /run progname.sln works in that environment. All I need is to set up the right paths and get Microsoft to tell me whether a solution will feed a console app command line arguments as is done when debugging inside the studio. Thank you for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Locate the shortcut in the Start menu that launched the IFort command window; instead of left-clicking to launch it, do a right-click and select "Properties". Under "Target" you fill find the path of the batch file that you can call from your own batch scripts or from the command window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would suggest:
call "%IFORT_COMPILER17%\bin\ipsxe-comp-vars.bat" intel64
(or ia32 instead of intel64 for 32-bit)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page