hi every one,
i have recently moved from Ms VS debugger to Windbg (which i got from win SDK ver 7) ,and i'm facing the well known beginners problem which is setting the path for the debug symbol file:
here is a symbol code that have a run-time protected access memory error :
#include <stdio.h>
void main()
{
//point to location 0
int *ptr1;
printf("Hello World\n");
//read from Location 0 (Protected Memory)
printf("%d",*ptr1);
}
i'm using MS Compiler "CL ver 15.00.30729"
here's how i compile
cl a1.c /Zi /DEBUG
i manged to debug the code using an installed MS VisualStudio debugger.
but when i try to debug it using windbg the debugger wont automatically recognize the debugging symbol files like MS VS one ,and when manualy set the path using
File > Symbol File Path ..
and then write the path and hit reload the same issue happens "ERROR: Symbol file couldn't be found "