Rstudio breakpoint not hit in modules

I have an rshiny app with modules. I use Rstudio to run the app. The breakpoints that I set in modules don't get hit. I use browser() to get around this - which works consistently. The breakpoints in the main app file (where shinyApp() is run) are hit without a problem.
What can I do to hit breakpoints consistently in modules without using browser?

Cross posted here

Please familiarize yourself with our cross-posting policy.

I didn't get any answer there. I thought this place has more "active" rstudio experts. Thank you.

No answers from the community? Is it a known problem? And is it going to be fixed?

Hi,
I'm experiencing the same issue here. I suppose it has to do with this: Debugging with the RStudio IDE – RStudio Support

However, since modules are intended to improve code structure in large/complex shiny apps, the fact that it also makes them harder to debug is a deal breaker for me... Any input from the RStudio team would be very appreciated.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.