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.
Debugger session should be ended when user closes whole project -- I recommend to handle it the same way as when whole IDE is closed. Current state is: the Editor source windows get closed when the project is closed, but the debugging sessions remain active, which is rather confusing, especially when user opens another project. This can lead to very weird situations, ie when the second session ends, source window displaying file from the previously opened project will be opened etc.