www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - ddbi - breakpoints not set. Line not found.

reply "Simen Haugen" <simen norstat.no> writes:
I cannot get ddbg to work  in all situations. In some of my projectfiles I 
get an line not found error on my breakpoints: 'Line 1546 in 
".\src\in2view.d" not found'
In these files no breakpoints can be set, but I can step into the files.

I'm using ddbg 0.08.1b on codeblocks rev 3938 with dmd 1.014 
May 09 2007
parent reply Jascha Wetzel <"[firstname]" mainia.de> writes:
does that line 1546 in .\src\in2view.d actually exist?
codeblocks sometimes tries to set breakpoints on lines that are beyond
the end of the file. the only fix i found so far is restarting CB in
such a case.

Simen Haugen wrote:
 I cannot get ddbg to work  in all situations. In some of my projectfiles I 
 get an line not found error on my breakpoints: 'Line 1546 in 
 ".\src\in2view.d" not found'
 In these files no breakpoints can be set, but I can step into the files.
 
 I'm using ddbg 0.08.1b on codeblocks rev 3938 with dmd 1.014 
 
 
May 09 2007
parent reply "Simen Haugen" <simen norstat.no> writes:
Yes. The errors applies to certain files and affects all lines in the file. 
All the files is in the same directory, and I see a reason why some work and 
others dont.

"Jascha Wetzel" <"[firstname]" mainia.de> wrote in message 
news:f1s2ib$2p8h$2 digitalmars.com...
 does that line 1546 in .\src\in2view.d actually exist?
 codeblocks sometimes tries to set breakpoints on lines that are beyond
 the end of the file. the only fix i found so far is restarting CB in
 such a case.

 Simen Haugen wrote:
 I cannot get ddbg to work  in all situations. In some of my projectfiles 
 I
 get an line not found error on my breakpoints: 'Line 1546 in
 ".\src\in2view.d" not found'
 In these files no breakpoints can be set, but I can step into the files.

 I'm using ddbg 0.08.1b on codeblocks rev 3938 with dmd 1.014

 
May 09 2007
parent Jascha Wetzel <firstname mainia.de> writes:
could you send me all i need to reproduce this problem?

Simen Haugen wrote:
 Yes. The errors applies to certain files and affects all lines in the file. 
 All the files is in the same directory, and I see a reason why some work and 
 others dont.
 
 "Jascha Wetzel" <"[firstname]" mainia.de> wrote in message 
 news:f1s2ib$2p8h$2 digitalmars.com...
 does that line 1546 in .\src\in2view.d actually exist?
 codeblocks sometimes tries to set breakpoints on lines that are beyond
 the end of the file. the only fix i found so far is restarting CB in
 such a case.

 Simen Haugen wrote:
 I cannot get ddbg to work  in all situations. In some of my projectfiles 
 I
 get an line not found error on my breakpoints: 'Line 1546 in
 ".\src\in2view.d" not found'
 In these files no breakpoints can be set, but I can step into the files.

 I'm using ddbg 0.08.1b on codeblocks rev 3938 with dmd 1.014
Jun 04 2007