Debugging
Question

Please Provide the example to put breakpoint from producer to consumer module.

Also Please clarify this point below

"When debugging a consumer module, how do we guarantee that the execution stops on breakpoints defined in the producer module? " with an example



@Muhammed Riyas  I refer that , can you provide me another example ?

Hi @Sangam Bhondele


Here I can explain some more clearly that

Main Module : Leave Application 

Core Module : Leave Application CS

Here one Server action which I had created in core module using in main module while I'm adding the breaking point.
Here we need to add the main module as the entry module.


By adding this entry module, if you add breakpoint in main module it will get triggers.
NOTE : Start debugging in both the modules are mandatory.

I hope this helps.

- Palle Vijay Bhaskar Reddy

Hello sangam,

first thing what ever @Vijay Bhaskar Reddy Palle said is right except Start debugging in both the modules are mandatory. (it not mandtatory), if you want to check CS then you only need to start debug in CS and but entry module as main module

second thing not neccesary for every entry point you need to put entry point as main modules

if you are four modules
ABC (Main module)
ABC_CW (Core widget)
ABC_CS(Core service)
ABC_IS(library service)

In this Case you can directly start debug in IS with this module (as entry point)

Thanks and Regards,

Akshay Deshpande 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.