Help Debugging Delphi App

Posted on 2003-03-20
Medium Priority
Last Modified: 2010-04-04

I am trying to trace a Bug within my Delphi App, and so I set a breakpoint near where I think the bug is and then Step through each line of code.

My Problem is, I use third party components, and these UNITS are also cycled through.

I ONLY want to step through MY CODE, not third Party objects.

Could anyone please advise how to do this ?


Question by:pjelias
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8179162
You have a Step Over option... Just start in your code, step in what you recognize as yours and when the cursor get to the third party function/procedure, chose step over. It will execute the code without showing you... and go to the next line...

Expert Comment

ID: 8179444
Thats right, F8=Step over, F7=Trace into !!

Accepted Solution

pradeepind earned 250 total points
ID: 8183148
If you accidentally get into the functions you are not interested in try Shift+F8 to get out off it

Expert Comment

ID: 8184934
Step over by F8, Trace into by F7
Please check if the item "Use Debug DCUs" is selected on the tab "Compiler" of Project Options. If yes, uncheck it.
Good luck!

Author Comment

ID: 8695962
Not what I was hoping for but Accepted Answer was most useful, have used other solutions frequently.

Accepted answer to close question

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 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