Expand my Community achievements bar.

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

Avatar

Administrator

BlogImage.jpg

Debugging OSGI Bundles in IntelliJ | AEMaaCs by Nikhil

Abstract

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

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies