Board index » delphi » break point's strange question.

break point's strange question.

 I can set break point in one of my program.
I don't know why?

When I can set a break point at some line like "
Application.Initialize;",But the program never stop at it
,the break point line is mark with 'x' not 'V'.That means the break point
line can't debug.

Another program work well except one.

please,help!!!!!!!!!

 

Re:break point's strange question.


Quote
gzsamlee wrote in message <71rk87$d...@forums.borland.com>...
> I can set break point in one of my program.
>I don't know why?

>When I can set a break point at some line like "
>Application.Initialize;",But the program never stop at it
>,the break point line is mark with 'x' not 'V'.That means the break point
>line can't debug.

Got to Project Options and on the Compiler page make sure you have compiler
options checked and optimization unchecked.

--
Wayne Niddery - WinWright Consulting
Delphi, C++Builder, JBuilder, InterDev --
http://home.ican.net/~wniddery/RADBooks.html
...remove chaff when replying...
"You know you've landed gear-up when it takes full power to taxi"

Other Threads