Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

Commented Feature: how to ignore the initial breakpoint?? [13872]

$
0
0
```
from pykd import *
startProcess(r"notepad")
go()
go()
```
is there any usable option to ignore initial breakpoint? i don't want to use go() twice

and i wonder that can i use windbg/cdb command line options for pykd.
Comments: ** Comment from web user: kernelnet **

I decided to change second parameter of startProcess routine. Now it should be a combinations of flags from ProcessDebugOptions class. So, you should rewrite your script:
```
from pykd import *
startProcess(r"notepad", ProcessDebugOptions.Default & (~ProcessDebugOptions.ProcessBreakOnStart))
```
or
```
from pykd import *
startProcess(r"notepad", 0)
```
ProcessDebugOptions.Default == ProcessDebugOptions.ProcessBreakOnStart

all options:
BreakOnStart
BreakOnStop
Deafult
DebugChildren
NoDebugHeap



Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>