镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Closed

Description

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").

Activity

  1. added this to the milestone on Jan 29, 2017
  2. modified the milestones: , 0.10.1, 0.10.2 on Mar 14, 2017
  3. modified the milestones: 0.10.2, on Apr 4, 2017
  4. modified the milestones: June 2017, on Oct 27, 2017
  5. TylerLeonhardt commented on Jan 12, 2018

    @TylerLeonhardt
    Member

    Any idea if this still repros?

  6. rkeithhill commented on Jan 12, 2018

    @rkeithhill
    ContributorAuthor

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

  7. removed this from the milestone on Aug 17, 2021
  8. andyleejordan commented on Jun 15, 2026

    @andyleejordan
    Member

    Believed resolved — attach/stop-location issues were addressed across #1752/#1815/#2130. Closing as completed; reopen if still mis-stopping.


    Drafted by GitHub Copilot (Claude Opus 4.8) at Andy Jordan (@andyleejordan)'s request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions