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 195360 - Cannot debug Ant scripts if Java debugging session is running and vice-versa
Summary: Cannot debug Ant scripts if Java debugging session is running and vice-versa
Status: VERIFIED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 20:57 UTC by Jiri Kovalsky
Modified: 2011-02-23 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2011-02-11 20:57:53 UTC
Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102100000)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /home/cesilko/.netbeans/7.0beta2

Description:
============
I admit this is probably hardly a real use case but if somebody decides to start Ant debugging session and then also invokes "Debug > Debug Main Project" from main menu, there is no way to control the Ant debugger. Always the last debugger takes precedence over the former one.

Steps to reproduce:
===================
1. Generate Anagram Game sample application and switch to "Files" explorer.
2. Right click "build.xml" and invoke "Debug Target > run" from the popup menu.
3. Invoke "Debug > Debug Main Project" from main menu.
4. Now try to do Step Over in the build.xml Ant script. It's not possible.
Comment 1 Martin Entlicher 2011-02-22 15:25:15 UTC
This was always accessible through Window -> Debugging -> Sessions window.
You can switch between the debugging session there.
Comment 2 Jiri Kovalsky 2011-02-23 14:43:51 UTC
Oh, yes. Thanks for reminding me.