Added sample + link from debug.rst for FunctionCallBP

This commit is contained in:
hakril
2020-03-11 18:06:23 +01:00
parent fefe9f397f
commit 54f202731d
3 changed files with 27 additions and 1 deletions
+9 -1
View File
@@ -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`
+14
View File
@@ -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