This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello, I have seen this problem reported in a few areas, but after following the recommendations I still wasn't able to resolve the problem. If I am posting in the wrong place I apologize :). Below are the procedures I followed: 1) New project>C/C++>Fortran Hello World Application 2) Project Name: Hello_2, project location C:\cygwin\home\user project folder C:\cygwin\home\user\Hello_2 Tool Collection Default(Cygwin_4.x (GNU 4.x Compiler Collection from Cygwin)) 3) This creates the default foo.f and bar.f example. 4) Open foo.f 5) Set breakpoint (two methods were tested, simply clicking in the left column as well as setting a breakpoint by: debug>New Breakpoint 6)click Debug main project and the program builds and runs but does not stop at the set breakpoint. A few other comments: - When I work with F90 files, there does not seem to be a problem. Generally breakpoints work fine. - When I build the program in the cygwin bash shell I can set break points with gdb and step through it. - I also tried a different directory rather than my cygwin directory. I used the directory C:\work as the main directory. But still had the same problem. If you require any more information, please do not hesitate to ask. Thanks for you time, L
something is broken in windows file paths, I can see that we use incorrect separators: -break-insert "C:/.../bar.f:32"
what gdb version were you using?
*** This bug has been marked as a duplicate of bug 201670 ***
workaround is to run IDE with the flag: netbeans.exe -J-Dgdb.breakpoints.shortpaths=true
(In reply to comment #2) > what gdb version were you using? Sorry for the delay. Thanks for getting back to me. Here is GDB info if it is still of any benefit. GNU gdb (GDB) 7.3.50.20110727-cvs (cygwin-special) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-cygwin". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>.