NO

Author Topic: is it possible generate a pdb file in PellesC?  (Read 3258 times)

blzbb

  • Guest
is it possible generate a pdb file in PellesC?
« 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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: is it possible generate a pdb file in PellesC?
« Reply #1 on: July 31, 2009, 02:39:22 PM »
PDB is a Microsoft proprietary file format. I can't do anything with an undocumented format.
/Pelle

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: is it possible generate a pdb file in PellesC?
« Reply #2 on: July 31, 2009, 02:51:51 PM »
Has WinDbg support for .dbg files ?
May the source be with you

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: is it possible generate a pdb file in PellesC?
« Reply #3 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...
/Pelle

blzbb

  • Guest
Re: is it possible generate a pdb file in PellesC?
« Reply #4 on: August 04, 2009, 12:01:15 PM »
OK, Thank for your attend.