Pelles C forum

C language => Beginner questions => Topic started by: blzbb on July 20, 2009, 05:41:37 PM

Title: is it possible generate a pdb file in PellesC?
Post by: blzbb on July 20, 2009, 05:41:37 PM
hello guys
I want to use windbg to debug my program
it seems windbg need pdb file to debug in source mode
but i didn't find any way to generate pdb file with pellesC
can anybody help me to show how can i do this
Title: Re: is it possible generate a pdb file in PellesC?
Post by: Pelle on July 31, 2009, 02:39:22 PM
PDB is a Microsoft proprietary file format. I can't do anything with an undocumented format.
Title: Re: is it possible generate a pdb file in PellesC?
Post by: TimoVJL on July 31, 2009, 02:51:51 PM
Has WinDbg support for .dbg files ?
Title: Re: is it possible generate a pdb file in PellesC?
Post by: Pelle on August 02, 2009, 03:40:15 PM
I hardly ever use WinDbg, so I don't know for sure, but I don't think so. There is also a problem with the CodeView format inside .pdb/.dbg files, since it has become proprietary too in recent years (and evolved). The situation is really poor: on Windows there is no standard debugging format like DWARF, only the (more or less) de facto standard of CodeView (due to lack of competition). I'm really fed up with Microsoft in general, so supporting some other debugging format would be nice, but it would only mean lots of work without any real benefits. The CodeView format I use will work fine within the Pelles C tools, but will probably not work well in other places...
Title: Re: is it possible generate a pdb file in PellesC?
Post by: blzbb on August 04, 2009, 12:01:15 PM
OK, Thank for your attend.