Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug vscode debugger can't step-over breakpoint or continue (disconnects)

Discussion in 'Linux' started by huno92, Dec 31, 2018.

  1. huno92

    huno92

    Joined:
    Oct 20, 2015
    Posts:
    14
    Any version of unity (I've tested like four different versions 2018.2.7 - 2019.1.a12)
    Most recent vscode + unity debugger version 2.6.6 (problem doesn't occur on windows)

    1. I have a script attached to a game object and few breakpoints in the Start() method.
    2. click start debugging in vscode
    3. click run in the unity editor
    4. It stops at the first breakpoint just fine (I can preview variables and all)
    5. -> I click step-over or continue -> the debugger disconnects

    I will post the omni-sharp version and the detailed error message when I switch back to linux
    everything is updated tho so yeah I feel like anyone can reproduce it right now.
     
    Neo_Flash1979 and adrielom23 like this.
  2. adrielom23

    adrielom23

    Joined:
    Jun 7, 2018
    Posts:
    2
    I'm facing the same issue. I've tried different versions of the extension and of unity, but no luck so far. - I'm on a PC, though.
     
  3. adrielom23

    adrielom23

    Joined:
    Jun 7, 2018
    Posts:
    2
  4. huno92

    huno92

    Joined:
    Oct 20, 2015
    Posts:
    14
    @adrielom23 Thats not it! The debugger connects but disconnects only after stepping over the first breakpoint.