[comp.os.msdos.misc] How can I jump to a different part of my program using CodeView?

rstanton@leland.Stanford.EDU (Richard Stanton) (05/15/91)

I'm using the MS CodeView debugger with Quick C 2.5. It has a lot of
very useful features, but appears to be missing one which I would like
to use. What I want to be able to do is trace program execution up to a
certain point, then miss a whole chunk of code and restart from a different
part of the program. There is no problem doing this on the VAX C debugger, but
I can't see how to do it using CodeView.

Any help would be appreciated.

Richard Stanton
pstanton@gsb-lira.stanford.edu

kai@kaiki.toppoint.de (Kai Voelcker) (05/19/91)

rstanton@leland.Stanford.EDU (Richard Stanton) writes:

> I'm using the MS CodeView debugger with Quick C 2.5. It has a lot of
> .... What I want to be able to do is trace program execution up to a
> certain point, then miss a whole chunk of code and restart from a different
> part of the program. ...

You can set a break point to the desired end position and then apply the set
register function to the IP register (eg rIP0x1234) to continue at that point.
 ________________________________________________________________________
 | Kai Voelcker, Kappelner Str 18, D-2300 Kiel 1, voice: +49 431 335605 |
 | kai@kaiki.toppoint.de    interests: 386asm, c, pascal; OR algorithms |
 |   >>>  polite notice: I have to pay for incoming mail. Thanks  <<<   |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~