Watcom debugger with FBC?

DOS specific questions.
Posts: 6
Joined: Apr 23, 2018 20:29

Watcom debugger with FBC?

Postby danielnice » Aug 07, 2018 14:36

I'm try to find a way to move from MS-BASIC/MASM to FreeBASIC on DOS.
Later, I would like to move again to non-X-Window Linux.

Can the DOS version of Watcom Debugger be made to work with debug output from FreeBASIC?
If so, what options are needed on FBC command-line and what options must be included with WD (or installed)?

The user-interface of WD seems much more similar to CodeView for DOS than GDB and I think it would help get this off the ground faster for me.
Posts: 1265
Joined: Feb 26, 2007 5:32

Re: Watcom debugger with FBC?

Postby caseih » Aug 07, 2018 17:47

EDIT: Probably not. FB uses the DJGPP linker and debug symbol format. See Marcov's response below.
Last edited by caseih on Aug 07, 2018 19:41, edited 2 times in total.
Posts: 2584
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL

Re: Watcom debugger with FBC?

Postby marcov » Aug 07, 2018 18:31

Afaik Watcom uses the old codeview debug format, while djgpp's go32v2 uses stabs (and maybe later versions DWARF).

Return to “DOS”

Who is online

Users browsing this forum: No registered users and 2 guests