Python Forum
Is there a keyword that's equivalent to breakpoint for debugging?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a keyword that's equivalent to breakpoint for debugging?
#1
Hello Pythonians,

I came from MATLAB background. In MATLAB, there is a keyword which is "keyboard" which you type it down anywhere in your code to work exactly like breakpoint. The good thing about it is that even if you close your project and open it again, the code will keep your debugging locations. i.e., wherever "keyboard" is found. It's very handy keyword.

I'm wondering if there is an equivalent keyword for debugging in Python?

Thank you,
Reply


Messages In This Thread
Is there a keyword that's equivalent to breakpoint for debugging? - by Tim - Feb-14-2018, 10:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find a specific keyword after another keyword and change the output sgtmcc 5 859 Oct-05-2023, 07:41 PM
Last Post: deanhystad
  pydev error pydev debugger: warning: trying to add breakpoint to file that does not e kwhhst 8 9,173 Jun-15-2019, 02:52 PM
Last Post: kwhhst
  equivalent commands saeed_balk 2 2,705 Sep-23-2018, 05:44 AM
Last Post: saeed_balk
  gdb breakpoint in python module Viesturs 0 2,228 Jul-27-2018, 02:02 PM
Last Post: Viesturs

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020