-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mismatching .PDB-Files? #23
Comments
"Binary was not built with debug information" try with original coreclr: <DllExportOurILAsm>false</DllExportOurILAsm> later I will look this in details when I'll have new time for this :( By the way, for your sample, feel free with Conari engine: using(var l = new ConariL("DllExportLib.dll")) {
l.DLR.Hello(); // that's all what you need in your `DLLExportPdbTest`
} full control via lambda expressions like this: bool v = l.bind<Func<int, string, bool>>("set")(-1, "Hello from Conari !");
// DLR:
bool v = l.DLR.set(-1, "Hello from Conari !"); etc. |
just follow me.
well yes, this problem only from ILAsm. Thanks for reply. |
just details for this issue I don't see strcpy_s(szVarPrefix,MAX_PREFIX_SIZE,"V0");
if(g_pSymReader) // <<<<<<<<<<<<<<<< should be NULL /ISymUnmanagedReader*
{
g_pSymReader->GetMethod(FuncToken,&pSymMethod);
...
pSymMethod->GetSequencePoints(ulLines,&actualCount, offsets,docs,lines,columns, endlines, endcolumns);
for(ULONG i = 0; i < ulLines; i++)
{
pLCD->Line = lines[i];
pLCD->Column = columns[i];
pLCD->LineEnd = endlines[i];
pLCD->ColumnEnd = endcolumns[i];
pLCD->PC = offsets[i];
pLCD->FileToken = (ULONG_PTR)docs[i];
ulActualLines++;
pLCD++;
}
... #ifndef FEATURE_CORECLR
...
hr = CoCreateInstance(CLSID_CorSymBinder_SxS, NULL,
CLSCTX_INPROC_SERVER,
IID_ISymUnmanagedBinder,
(void**)&binder);
if (SUCCEEDED(hr))
{
hr = binder->GetReaderForFile(g_pPubImport,
wzInputFileName,
NULL,
&g_pSymReader);
... and this is a hard limitation, I mean simply def with CMake: project(ildasm)
add_definitions(-DFEATURE_CORECLR)
+ilasm, +mscorpe I found this commit:
well yes... the Any pull requests are welcome, or wait of my time /after the rain on thursday :) |
@nabnaj, What about a thrown exception in KernelBase? :) Seems like this is it. Look for related issues on the current tracker, or please open a new one. |
I seem to be unable to load debug information for projects where I use DLLExport v1.5.1.
I have seen the issue in both Visual Studio 2013 and 2015.
I can load .pdb-files when using DLLExport 1.4.0, without problem.
I have also uploaded a simple sample project, which reproduce the issue.
DLLExportPdbTest.zip
The text was updated successfully, but these errors were encountered: