Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Turbo C++ 4.5 debugger problem

52 views
Skip to first unread message

Ian Fowler

unread,
Aug 22, 2001, 12:58:23 PM8/22/01
to
Hello everyone,

I've just purchased Turbo C++ Suite and plan to use Turbo C++ 4.5 to teach
an introductory programming course in highschool. I've written my first
program and it runs OK. I cannot, however, get the integrated debugger to
step through the program line by line. When I press the F7 or F8 key for the
first time the first line of the program gets highlighted - so far so good.
Upon pressing the key the 2nd time the highlighted cursor does not step
through the program line by line but instead just runs the entire program as
if I had pressed Ctrl+F9.

I don't know if this is related but I also get a Linker Warning:
No module definition file specified:using defaults.

I am running TC++4.5 on a P166 under WIN 98.

I would appreciate any advice or comments.

Thanks in advance


Ed Mulroy (TeamB)

unread,
Aug 22, 2001, 12:36:07 PM8/22/01
to
Go into Options|Project and under both of Compiler and Linker turn on debug
information. Then do a Project|Build_All

The warning about no module definition file is correct. Every 16 bit
Windows program uses a module definition (*.DEF) file to specify things like
the stack size and the segments. You have not provided one, instead of
stopping with an error, the linker used the default one
(\tcwin45\lib\default.def) and told you what it did.

If you are not using a project get into the help and learn about projects.
They provide a lot of the IDE's functionality.

. Ed

0 new messages