Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging Question

Status
Not open for further replies.

heecm

Programmer
Dec 3, 2003
10
JP
Hi,

I have a breakpoint in a bpl which is calling a function inside MAIN application. When I tried to trace into it, it doesn't open and trace into that unit function.

I have already set the 'Debug Source Path' to the correct one.

Please help. Thanks.

regards,
CM
 
Set a breakpoint also to the function inside the MAIN application. You'll see if the function is called at all.

-- Pikkunero
 
When you compile your project, you'll see little blue dots appearing in the gutter (grey left-hand margin) on most lines. Each blue dot represents a line that can be stepped onto while debugging. System units like SysUtils and Variants won't have blue dots, and therefore cannot be stepped into, or have breakpoints set on them. Any breakpoint set on a line without a blue dot at compile time will be ignored.

Incidentally - this is also a really quick way of determining if you have any code that is not being used. If you see one of your methods without blue dots - then it's not ever going to be called. This may represent an error in your program somewhere.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top