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 Options changed

Status
Not open for further replies.

lespaul

Programmer
Feb 4, 2002
7,083
US
I think when I opened a Delphi project that a former employee created, somehow my debugging options were changed. When I'm stepping through the code I now get to see all the events that are occuring in Windows.pas (EnterCriticalSection and LeaveCriticalSection are the processes that I get to step through 50 times before I get to something different!) and FlatSB.pas.

Does anyone which setting I need to change so I don't step through that code, just my code?

Thanks!

leslie
 
it's not checked :(

anywhere else I could look?
 

Rebuild the application after changing Project Options. Just compiling is not enough.
 
but I didn't change the Project Options, it wasn't checked when I looked after you said that's what needed to be changed.
 

How about Tools / Debugger Options... / General

"Debug spawned processes"

And Tools / Debugger Options... / Language Exceptions

"Stop on Delphi Exceptions"

 
'Debug spawned processes' was not checked.

'Stop on Delphi Exceptions' was checked, I unchecked, built the project and still get the other pieces of code to step through.

It's a really annoying little problem!

thanks for trying!

les
 

It may be that the .dcu file(s) you are using aren't the ones you think they are. (Path issues.)

I would copy all of the source (but not the .dcu files) to another environment and build a new .exe there after carefully checking all of the search path references to be sure you aren't getting some cross-over effects.

(Look in the .dpr for any "hard-coded" path names, too.)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top