mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Added sample + link from debug.rst for FunctionCallBP
This commit is contained in:
@@ -88,7 +88,15 @@ When a breakpoint is hit, its ``trigger`` function is called with the debugger a
|
||||
:inherited-members:
|
||||
:special-members: __init__
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_debugger_bp_functioncallbp`
|
||||
|
||||
.. autoclass:: FunctionBP
|
||||
:members:
|
||||
:inherited-members:
|
||||
:special-members: __init__
|
||||
:special-members: __init__
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_debugger_bp_functionbp`
|
||||
@@ -261,6 +261,20 @@ Output
|
||||
.. literalinclude:: samples_output\debug_debugger_membp_singlestep.txt
|
||||
|
||||
|
||||
|
||||
.. _sample_debugger_bp_functioncallbp:
|
||||
|
||||
:class:`windows.debug.FunctionCallBP`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. literalinclude:: ..\..\samples\debug\change_function_ret_value.py
|
||||
|
||||
Output
|
||||
|
||||
.. literalinclude:: samples_output\debug_change_function_ret_value.txt
|
||||
|
||||
.. _sample_debugger_bp_functionbp:
|
||||
|
||||
:class:`windows.debug.FunctionBP`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
(cmd) python debug\change_function_ret_value.py
|
||||
[DEBUGGE] IsDebuggerPresent=42
|
||||
[DEBUGGE] IsDebuggerPresent=43
|
||||
[DEBUGGE] IsDebuggerPresent=44
|
||||
Reference in New Issue
Block a user