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 140170 - Ability to debug existing JAR files
Summary: Ability to debug existing JAR files
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 21:19 UTC by _ gtzabari
Modified: 2008-08-27 11:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2008-07-15 21:19:16 UTC
Usecase: I've removed unused classes from a JAR using Proguard but it seems I've been too aggressive so the application
fails at runtime. In order for me to figure out what classes I need to put back in I need to be able to start a
debugging session against an existing JAR file.

Essentially this means that I want Netbeans to take an existing project, keep the source-code configuration but allow me
to override some parts of the classpath. Probably the easiest way to implement this would be to add a "Debug Other"
option that allows users to specify a classpath prefix before beginning a debugging session. This would behave similar
to Profile -> Profile Other in the sense that the configuration would only apply to a single session (as opposed to
altering the behavior of normal debugging sessions).