Solved

Tracing an interrupted-based program

Posted on 1998-03-19
3
246 Views
Last Modified: 2010-04-10
I don't know where I should put the question in. I chose here anyway... please bear with me.

Hi, everyone. I have a problem for you concerning a set of
interrupt-based programs.
Its particulars are as follows:
  1. it contains a driver (written in C/C++) which alters a high
     interrupt vector (i.e. driver.exe) and the main code is in here.

  for example:
      int_60h_entry proc near
           :
           :
           call get_string

      int_60h_entry endp

      get_string proc near   <--- this part is where I want to know of.
          :
          :
          ret
      get_string endp
     
           

  2. A calling program (i.e 1.exe) calls the interrupt vector

  for example:
       mov ax, 0ah
       int 60h     <--- the debugger traces over this point
       add sp, 4
       ret

 p.s: there is an interrupt entry point in the driver, in which there are
      cores and guts that I want to know of.

What I would like to do with these programs is:

   Using Turbo Debugger 5.0 to trace into the interrupt, but debugger
   only traces up to the point where it calls the interrupt (e.g. int 60h).
   Then it steps over it.

Do you guys know how to trace into the interrupt?
,from the calling program to the driver?
0
Comment
Question by:whluk
3 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1183641
I dont' know turbo debuger, but if it allows you to place a breakpoint at an address, just look up the address from the interrupt table and place the breakpoint there.

An easier and more expensive solution is to use a debugger that will step into interrupts, like NuMega's SoftIce.
0
 
LVL 2

Accepted Solution

by:
mnguyen021997 earned 200 total points
ID: 1183642
if its not gui then you can also use debug.exe in a pinch.
0
 
LVL 1

Expert Comment

by:Nexial
ID: 1183643
See comment in other posting of this question about PDVIM.EXE.  This also allows you to trace into and through DOS.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Load and store *.pnm image file 1 75
C++ mouse_event mouse look 7 69
FMX TCameraComponent Problem 2 50
show out valin of json for debugging in visaul c++ 1 15
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now