Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Debugging OSGI Bundles in IntelliJ | AEMaaCs | AEM Community Blog Seeding




Debugging OSGI Bundles in IntelliJ | AEMaaCs by Nikhil


In this article we will see how we can debug any OOTB bundle using IntelliJ IDE, but before that below is the introduction/brief of what an OSGI Bundle actually is.

OSGi is a Java framework for developing and deploying modular software programs and libraries. Each bundle is a tightly coupled, dynamically loadable collection of classes, jars, and configuration files that explicitly declare their external dependencies (if any).

– https://en.wikipedia.org/wiki/OSGi

While working on AEM projects, we know what some OOTB bundles are doing and we have the documentations of those bundles as well but in some cases we might want to take a look inside the bundle to find out what is actually happening. So we will make of our IntelliJ IDE to have a look into the Java code of some OOTB Bundles.

For this article I will be using Day Communique 5 WCM Multi Site Management Corecom.day.cq.wcm.cq-msm-core bundle as an example.

To debug the code of a bundle you first need the ID of the bundle. In our case it’s 399.

Read Full Blog

Debugging OSGI Bundles in IntelliJ | AEMaaCs


Please use this thread to ask the related questions.

Kautuk Sahni
0 Replies