Jump to page: 1 2
Thread overview
[ddbg] Unable to find source files
May 28, 2007
Bill Baxter
Jun 04, 2007
Jascha Wetzel
Jun 04, 2007
Bill Baxter
Jun 08, 2007
Myron Alexander
Jul 19, 2007
Regan Heath
Jul 19, 2007
Regan Heath
Jul 19, 2007
Jascha Wetzel
Aug 14, 2007
Simen Haugen
Aug 14, 2007
Jascha Wetzel
Aug 14, 2007
Simen Haugen
Aug 14, 2007
Jascha Wetzel
Aug 14, 2007
Ary Manzana
Aug 14, 2007
Jascha Wetzel
Aug 14, 2007
Ary Manzana
Aug 14, 2007
Ary Manzana
Aug 14, 2007
Simen Haugen
Aug 14, 2007
Jascha Wetzel
Aug 14, 2007
Simen Haugen
Aug 14, 2007
Jascha Wetzel
Aug 14, 2007
Ary Manzana
May 28, 2007
I ran into a problem the other day where ddbg 0.8.1 was telling me that it couldn't find line xxx of file yyy.  But it knew there was a file yyy.  It listed it in the modules list.

Don't have time to narrow it down to a repro right now, but just wanted to see if anyone else had seen this.  The source file in question was called OptMesh.d and I was running the debugger from a \data directory beneath that.  It was finding the other files fine, so my thought was maybe there's a bug with mixed case filenames.  The files that were working were all lowercase.  Maybe just a coincidence, though.

--bb
June 04, 2007
if you're using codeblocks, it happens rather frequently that CB messes up the linenumbers of breakpoints and issues them at some very high linenumber that doesn't exist.
if you find that the linenumber ddbg is complaining about doesn't exist, it's probably this problem.
else i'll need to reproduce this situation.
i haven't seen any problem concerning case of filenames, yet.

Bill Baxter wrote:
> I ran into a problem the other day where ddbg 0.8.1 was telling me that it couldn't find line xxx of file yyy.  But it knew there was a file yyy.  It listed it in the modules list.
> 
> Don't have time to narrow it down to a repro right now, but just wanted to see if anyone else had seen this.  The source file in question was called OptMesh.d and I was running the debugger from a \data directory beneath that.  It was finding the other files fine, so my thought was maybe there's a bug with mixed case filenames.  The files that were working were all lowercase.  Maybe just a coincidence, though.
> 
> --bb
June 04, 2007
Jascha Wetzel wrote:
> if you're using codeblocks, it happens rather frequently that CB messes up the linenumbers of breakpoints and issues them at some very high linenumber that doesn't exist.

Nope it wasn't codeblocks.  I was getting the line number from emacs and typing it in at the ddbg command prompt.

> if you find that the linenumber ddbg is complaining about doesn't exist, it's probably this problem.
> else i'll need to reproduce this situation.
> i haven't seen any problem concerning case of filenames, yet.

Ok.  I'll keep my eyes open for it happening in a little more compact sample.

--bb

June 08, 2007
Bill Baxter wrote:
> Jascha Wetzel wrote:
>> if you're using codeblocks, it happens rather frequently that CB messes up the linenumbers of breakpoints and issues them at some very high linenumber that doesn't exist.
> 
> Nope it wasn't codeblocks.  I was getting the line number from emacs and typing it in at the ddbg command prompt.

I have the same problem using ddbg from command line.
July 19, 2007
I am getting the same sort of error but my situation is almost entirely different :)

I'm using code::blocks.  I have:

E:\Program Files\CodeBlocks
E:\D\DMD
E:\D\DMC
E:\D\DMD\BIN    <-ddbg installed here
E:\D\src

I followed the directions on the ddbg site to setup the debugger etc.

I created a new project in CodeBlocks:

E:\D\src\Sudoku\

adding 1 file

E:\D\src\Sudoku\sudoku.d

which I open and add 1 breakpoint, then I run and get:

> break "E:/D/src/Sudoku/sudoku.d:5"
Soure file "E:\D\src\Sudoku\sudoku.d" not found

in the Debugger(debug) window and it does not stop on the breakpoint.

The interesting thing is that in command prompt the path "E:/D/src/Sudoku/sudoku.d" cannot be found, but changing one path set from / to \ and it can!

C:\Development>dir "E:/D/src/Sudoku/sudoku.d"
 Volume in drive E is REMOVABLE
 Volume Serial Number is 9C9D-85FE

 Directory of E:\D\src\Sudoku

File Not Found

C:\Development>dir "E:/D/src/Sudoku\sudoku.d"
 Volume in drive E is REMOVABLE
 Volume Serial Number is 9C9D-85FE

 Directory of E:\D\src\Sudoku

19/07/2007  10:24             5,782 sudoku.d
               1 File(s)          5,782 bytes
               0 Dir(s)     131,833,856 bytes free


The line number ":5" is correct.

Regan
July 19, 2007
Stopping CodeBlocks and starting it up again seems to have resolved all the problems, weird!

Regan
July 19, 2007
Regan Heath wrote:
> Stopping CodeBlocks and starting it up again seems to have resolved all the problems, weird!

CB has a couple of issues with the GDB integration (which also controls Ddbg). When in doubt, try reproducing the problem on the Ddbg command line.
August 14, 2007
I have also been having problems with this, but now I'm getting another
error using ddbg 0.10, descent 0.4, rebuild 0.70 and dmd 1.020
->Soure file "C:\projects\nsd\src\nsd.d" not found

Everything was working perfectly, but suddenly it stopped working. I've been debugging this project before, but after writing more code (no more files or anything) it just couldn't find the files anymore.

The strange thing is that it is not happening for all the files in the project, just a couple of them...


"Bill Baxter" <dnewsgroup@billbaxter.com> wrote in message news:f3fpmd$2iis$1@digitalmars.com...
>I ran into a problem the other day where ddbg 0.8.1 was telling me that it couldn't find line xxx of file yyy.  But it knew there was a file yyy.  It listed it in the modules list.
>
> Don't have time to narrow it down to a repro right now, but just wanted to see if anyone else had seen this.  The source file in question was called OptMesh.d and I was running the debugger from a \data directory beneath that.  It was finding the other files fine, so my thought was maybe there's a bug with mixed case filenames.  The files that were working were all lowercase.  Maybe just a coincidence, though.
>
> --bb


August 14, 2007
Simen Haugen wrote:
> I have also been having problems with this, but now I'm getting another error using ddbg 0.10, descent 0.4, rebuild 0.70 and dmd 1.020
> ->Soure file "C:\projects\nsd\src\nsd.d" not found
> 
> Everything was working perfectly, but suddenly it stopped working. I've been debugging this project before, but after writing more code (no more files or anything) it just couldn't find the files anymore.
> 
> The strange thing is that it is not happening for all the files in the project, just a couple of them...

does that problem also occur when you debug the program on the command line?
August 14, 2007
Can you send me the source code, or at least the hierarchy of the project with stub functions? That way we'll see if it's a problem with ddbg or with Descent.

Simen Haugen wrote:
> I have also been having problems with this, but now I'm getting another error using ddbg 0.10, descent 0.4, rebuild 0.70 and dmd 1.020
> ->Soure file "C:\projects\nsd\src\nsd.d" not found
> 
> Everything was working perfectly, but suddenly it stopped working. I've been debugging this project before, but after writing more code (no more files or anything) it just couldn't find the files anymore.
> 
> The strange thing is that it is not happening for all the files in the project, just a couple of them...
> 
> 
> "Bill Baxter" <dnewsgroup@billbaxter.com> wrote in message news:f3fpmd$2iis$1@digitalmars.com...
>> I ran into a problem the other day where ddbg 0.8.1 was telling me that it couldn't find line xxx of file yyy.  But it knew there was a file yyy.  It listed it in the modules list.
>>
>> Don't have time to narrow it down to a repro right now, but just wanted to see if anyone else had seen this.  The source file in question was called OptMesh.d and I was running the debugger from a \data directory beneath that.  It was finding the other files fine, so my thought was maybe there's a bug with mixed case filenames.  The files that were working were all lowercase.  Maybe just a coincidence, though.
>>
>> --bb 
« First   ‹ Prev
1 2