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.

Bug 193300

Summary: Breakpoints do not work 'inside' a require/load
Product: ruby Reporter: wvdbos
Component: DebuggerAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: simple project explaining the problem

Description wvdbos 2010-12-12 18:12:17 UTC
Created attachment 103989 [details]
simple project explaining the problem

I made 2 simple sources one (newmain.rb) requiring the other (File2.rb).
Setting a breakpoint in newmain.rb will break at the line. Stepping into the require will eventually get you into File2.rb.
I then did put a breakpoint in File2.rb and started the debug session again.
The first breakpoint did stop, the second did not..
Comment 1 wvdbos 2010-12-29 10:28:49 UTC
The project was in the next directory.
d:\nb\delf\NetBeans\RubyProject2
I was doing a similar thing in another directory
c:\projects\delft\NetBeans
And debugging was possible !?