- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- VS Community Edition 2015
- Intel® Parallel Studio XE 2017 Update 2 Composer Edition for Fortran Windows* Package ID: w_comp_lib_2017.2.187
I have integrated C++ into my Fortran using Bind. The C++ is in an object library in different solution and project,
I start debugging using Attach to process (to either Mathematica Net/link of Excel but cannot step into the C++
How can I properly debug the C++ code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would appear that your C++ library was built without debug information. This requires both the compiler to generate object files containing debug information, and a Link/Librarian command to not strip out debug information. This may also require you to not move the library from where it was built. The VS debugger can pop-up a symbols locator in the event the library is moved, but sometimes this does not happen when you expect it to.
Is this a static or dynamic library?
Is the entry point a Fortran Program or a C/C++ main()?
Jim Dempsey
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would appear that your C++ library was built without debug information. This requires both the compiler to generate object files containing debug information, and a Link/Librarian command to not strip out debug information. This may also require you to not move the library from where it was built. The VS debugger can pop-up a symbols locator in the event the library is moved, but sometimes this does not happen when you expect it to.
Is this a static or dynamic library?
Is the entry point a Fortran Program or a C/C++ main()?
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, see this thread, particularly Message #5 and #6. Are you, by any chance, using managed C++? If yes, then it poses a limitation in the current VS environment with Intel Fortran integration.
https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/710188
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page