How to Debug .PLB and .FLL Source Code (110921)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows, Professional Edition 3.0
- Microsoft FoxPro Library Construction Kit for MS-DOS 2.5x
- Microsoft FoxPro Library Construction Kit for MS-DOS 2.6x
- Microsoft FoxPro Library Construction Kit for Windows 2.5x
- Microsoft FoxPro Library Construction Kit for Windows 2.6x
This article was previously published under Q110921 SUMMARY
In order to step through the source code of a .PLB or .FLL file, you must
compile the source code with the _BreakPoint() function. This macro
generates the debugger breakpoint instruction Interrupt 3h. (NOTE: All
interrupts are given in hexadecimal.)
Once this is done, you must start the debugger and execute FoxPro from
within the debugger. After FoxPro has been started, it can be used
normally, which means you must load the library and then call the functions
from within the library that have the _BreakPoint() function. The library
will execute normally until the _BreakPoint() function is reached. When
this statement is reached, control will be transferred to the debugger. At
this point, you will be able to step through the .C source code. When the
code terminates, control will then be transferred back to FoxPro.
REFERENCES
Library Construction Kit "Developer's Guide," Chapter 8
| Modification Type: | Major | Last Reviewed: | 12/3/2003 |
|---|
| Keywords: | KB110921 |
|---|
|