Scroll Down to See All▾
absaiterallanextanyasciibinboolbytearraybytescallablechrclassmethodcompilecomplexdelattrdictdivmodenumerateevalexecfilterfloatformatfrozensetgetattrglobalshasattrhashhelphexidinputintisinstanceissubclassiterlenlistlocalsmapmaxmemoryviewminnextobjectoctopenordpowprintpropertyrangereprreversedroundsetsetattrslicesortedstaticmethodstrsumsupertupletypevarszip__import__clear_(dict)clear_(list)clear_(set)copy_(dict)copy_(list)copy_(set)fromkeysgetitemskeyspop_(dict)pop_(list)pop_(set)popitemsetdefaultupdatevaluescount_(tuple)count_(list)count_(str)index_(tuple)index_(list)index_(str)adddifferencedifference_updatediscardintersectionintersection_updateisdisjointissubsetissupersetremove_(set)remove_(list)symmetric_differencesymmetric_difference_updateunionupdateclosefilenoflushisattyreadreadablereadlinereadlinesseekseekabletelltruncatewritablewritewritelinesappendextendinsertreversesortcapitalizecasefoldcenterencodeendswithexpandtabsfindformatisalnumisalphaisasciiisdecimalisdigitisidentifierislowerisnumericisprintableisspaceistitleisupperjoinljustlowerlstripmaketranspartitionreplacerfindrindexrjustrpartitionrsplitrstripsplitsplitlinesstartswithstripswapcasetitletranslateupperdirzfillFunction Details: breakpoint
Description
Drops you into the debugger at the call site.
Extended Description
The breakpoint() function is a convenient way to enter the debugger at a specific point in your code. By default, it calls sys.breakpointhook(), which in turn calls pdb.set_trace(). However, this can be overridden by setting the PYTHONBREAKPOINT environment variable. This function is particularly useful for debugging complex programs or for educational purposes when explaining program flow.
Read More about breakpoint from Python Documentation
Function Signature
breakpoint() -> None
Module: builtins
Parameters
This function doesn't take any parameters.
Return
This function doesn't return a value; it transfers control to the debugger.
Return Type
None
Output
Explanation
When this script runs, it will pause at the breakpoint, allowing you to inspect variables and step through the code.