reloadware / reloadium

Hot Reloading and Profiling for Python
https://reloadium.io
Apache License 2.0
2.74k stars 56 forks source link

Fast debug does not stop on breakpoints. #165

Closed andyp05 closed 7 months ago

andyp05 commented 9 months ago

Describe the bug*

Fast debug does not stop on breakpoints. Regular reloadium debug and regular python debugger does work as expected.

To Reproduce

Steps to reproduce the behavior:

  1. Start debugger with Fast Debug with Reloadium.
  2. Set a breakpoint in the code. I am running django.
  3. Debugger does not stop on breakpoint.

Expected behavior

Stop execution.

Desktop or remote (please complete the following information):**

dkrystki commented 9 months ago

@andyp05 What's the location of the breakpoint? Is it in module scope?

andyp05 commented 9 months ago

Using django. User clicks a button which calls a view. The view calls a function in another module. Set a breakpoint in the other module.

Python debugger: works Reloadium debugger: works Reloadium Fast debugger: does not break on breakpoint.

Breakpoints in the same module work as expected.

dkrystki commented 7 months ago

Reloadium 1.3.2 and PyCharm plugin 1.3.2 add a lot of improvements to the Fast Debug mode. It should be working now.