PowerShell / PowerShellEditorServices

A common platform for PowerShell development support in any editor or application!
MIT License
633 stars 216 forks source link

Attach to process debugging stops in a weird spot after initial attach #355

Open rkeithhill opened 7 years ago

rkeithhill commented 7 years ago

I've been using "attach to" to debug posh-git tab expansion (awesome that I can do this!). However when I attach the debugger and trigger a breakpoint, the debugger stops where there is no breakpoint: image You can repro this by running posh-git from a cloned repo, attach to the process, set a breakpoint in src/GitTabExpansion.ps1 (somewhere in function GitTabExpansionInternal) and get posh-git to do tab expansion (cd to posh-git dir and type "git chec").

TylerLeonhardt commented 6 years ago

Any idea if this still repros?

rkeithhill commented 6 years ago

Dunno because attach to process has been broken for a while. :-(