codice / acdebugger

Purpose-built debugger for determining missing OSGi bundle security permissions
Apache License 2.0
7 stars 10 forks source link

Enhance ACDebugger to use config file for breakpoint definitions #6

Open coyotesqrl opened 6 years ago

coyotesqrl commented 6 years ago

Breakpoint definitions are currently hardcoded; they should be moved to configuration files so they can be more easily overridden when using updated libraries. In the case of the OSGi breakpoint, there might be cause to do a lookup based on the version of OSGi being used. This might be a dynamic lookup or require a command line parameter for the version.

paouelle commented 6 years ago

In some cases that might be sufficient. But since the breakpoints and the code that handles those is very specific to how the method where we are breaking is defined, it might still require some changes in our automated debugging code if the method and its logic changes across version updates.