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 153534

Summary: Debugger does not stop at breakpoints remote connecting to merb application
Product: ruby Reporter: richo <richo>
Component: DebuggerAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: breakpoint not set before attaching debugger
breakpoint set before attaching debugger

Description richo 2008-11-20 13:23:28 UTC
when running my merb application in a terminal and trying to connect using NetBeans [Debug|Attach Process] feature the
debugger won't stop at breakpoints or freezes the merb application

scenerio 1: NO breakpoints set

console command$ rdebug-ide -p 7000 `which merb`

the merb application runs fine, and the debugger attaches to the process. Now set a breakpoint in the applicaition,
everything continues to run, but the debugger never stops at the breakpoint.

scenerio 2: breakpoint set BEFORE attaching debugger

console command$ rdebug-ide -p 7000 `which merb`

the merb application runs fine, and the debugger attaches to the process. If you execute code that hits the breakpoint
the merb app stops responding, NetBeans does not indicate anything has happened.

Attaching two logs, one with breakpoint not set before attaching, one with it set before attaching.
Comment 1 richo 2008-11-20 13:28:51 UTC
Created attachment 73951 [details]
breakpoint not set before attaching debugger
Comment 2 richo 2008-11-20 13:29:41 UTC
Created attachment 73952 [details]
breakpoint set before attaching debugger