Mega Search
23.2 Million


Sign Up

Make a donation  
Stop at a statement when run inside IDE  
News Group: borland.public.delphi.ide.general

I have D7 installed.
However, I found recently in my application a strange behaviour:
When I run the app from IDE by pressing F9, it stops like a breakpoint at a
statement where I have not set a breakpoint (line no. 301).
If I move the statement one row lower (line no. 302), run again (F9), it
still stopped in the same line(line no. 301, now is blank line).

Any idea?



Vote for best question.
Score: 0  # Vote:  0
Date Posted: 10-Jan-2008, at 10:40 AM EST
From: Alan T
 
Re: Stop at a statement when run inside IDE  
News Group: borland.public.delphi.ide.general
You go in the menu "Tools\Editor Options...".
You modified it some option.
Hope this helps.



"Alan T"  escreveu na mensagem 
news:47855b68@newsgroups.borland.com...
>I have D7 installed.
> However, I found recently in my application a strange behaviour:
> When I run the app from IDE by pressing F9, it stops like a breakpoint at 
> a
> statement where I have not set a breakpoint (line no. 301).
> If I move the statement one row lower (line no. 302), run again (F9), it
> still stopped in the same line(line no. 301, now is blank line).
>
> Any idea?
>
> 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 10-Jan-2008, at 1:53 PM EST
From: selmar
 
Re: Stop at a statement when run inside IDE  
News Group: borland.public.delphi.ide.general
Alan T wrote:

> Yes, I found this line is on the breakpoint list.
> Any idea why it did not show up as red on the line 301 inside the code
> editor?

Sometimes breakpoints sit inside a line, visible only in assembler code 
(CPU window). The IDE only recognizes and marks breakpoints at the begin 
of a line.

DoDi

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 10-Jan-2008, at 12:04 PM EST
From: Hans-Peter Diettrich
 
Re: Stop at a statement when run inside IDE  
News Group: borland.public.delphi.ide.general
> Look in the break points window and delete all entries. I had this
> happen before, the break point is not displayed correctly in the IDE
> gutter but it is listed in the View/debug windows/breakpoints window.

Yes, I found this line is on the breakpoint list.
Any idea why it did not show up as red on the line 301 inside the code
editor?



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 10-Jan-2008, at 1:41 PM EST
From: Alan T
 
Re: Stop at a statement when run inside IDE  
News Group: borland.public.delphi.ide.general
Yep

Moght be mismatched BPL version...

Recompile your units, and subsequents packages...

DH

"Alan T"  a écrit dans le message de news: 
47855b68@newsgroups.borland.com...
>I have D7 installed.
> However, I found recently in my application a strange behaviour:
> When I run the app from IDE by pressing F9, it stops like a breakpoint at 
> a
> statement where I have not set a breakpoint (line no. 301).
> If I move the statement one row lower (line no. 302), run again (F9), it
> still stopped in the same line(line no. 301, now is blank line).
>
> Any idea?
>
> 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 10-Jan-2008, at 1:28 AM EST
From: HAROUCHE, David
 
Re: Stop at a statement when run inside IDE  
News Group: borland.public.delphi.ide.general
> Any idea?


Look in the break points window and delete all entries. I had this 
happen before, the break point is not displayed correctly in the IDE 
gutter but it is listed in the View/debug windows/breakpoints window.



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 9-Jan-2008, at 9:02 PM EST
From: -