- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the Command field should be pointing to your executable - mine shows $(TargetPath)
If this is hardcoded to another path, then you are not running theexecutable you have compiled.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes when I experience a problem similar to yours of placing a break point in a source module, I find that I can place a break point in some source file that calls the function/subroutine of interest. Then by stepping into the function/subroutine (assuming it steps into) will expose which file is being called. Sometimes it is a case of you having the wrong file open in your IDE session.
If the debugger will not step into the function/subroutine then this is usually the result of what is being called either does not have debug symbols or the source file (usually DLL) cannot be ascertained until after it is called. In this case, when you reach the break point in the caller, open a dissassembly window (note you may receive cannot display... - ignore this), then press F11 (Step Into) until the call completes. When you get into what was called, the source window should identify the file. This will likely not be the file you thought it was.
Note, if this is a first call of a DLL then you may be entering the DLL loader instead of the DLL which will make debugging difficult. In this case, insert a benign call to the "same"DLL just in front of the call in the outer source file. This should load the DLL and populate the dispatch vectors, and then the step into should reach the now loaded DLL. If you still reach the DLL loader instead of the DLL then the benign call is calling a different DLL than what you expected. i.e. you have a library viersioning issue (Window SBS is loading different version of "same named" DLL).
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have succesfully debugged my IVF dll in both Excel and Mathamatica (net/link). But today, and at various other times, I get the messages.
"The breakpoint will not currently be hit. No symbols have been loaded for this document" next to an incomplete debug F9) point .. and I cannot debug it. Very frustrating!
This problem is identical in w_cprof_p_11.0.072_ia32 (where it was fine all last week) and my" brand new" w_fcompxe_novsshell_2013.1.119". Obviously I am doing something different!
- am running the correct DLL (e.g. that one cannot then be deleted)
- I have disabled optimization
- I have gutted the debug dir and tried again
/OUT:"Debug\Lexus01031.dll" /NOLOGO /LIBPATH:"C:\Program Files\Intel\MKL\10.0.5.025\ia32\lib" /MANIFEST /MANIFESTFILE:"C:\Users\psa\Documents\Laplacian\Lexus\lexus2005\Lexus01031\Debug\Lexus01031.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\psa\Documents\Laplacian\Lexus\lexus2005\Lexus01031\Debug\Lexus01031.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"C:\Users\psa\Documents\Laplacian\Lexus\lexus2005\Lexus01031\Debug\Lexus01031.lib" /DLL /qnoipo mkl_c.lib libguide.lib
- Are there any more obvious things to try?
- If necessary is there a "dump" I can attach that contains the essence.. without all my source code?
Should I have put this question here or elsewhere?
Thanks Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter, I'm also trying to debug Mathematica (.NET/Link using DefinDLLFunction) and IVF. I tried attaching to InstallableNET but can't get code to attach. Did you solve this?
[EDIT] the attach options kept switching to managed. Once I switched it off "Automatic" and manually set Native, it attached.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page