Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

breakpoint will not be reached, no symbols loaded

Discussion in 'Scripting' started by mcyber4, Nov 22, 2019.

  1. mcyber4

    mcyber4

    Joined:
    Oct 24, 2019
    Posts:
    14
    How to debug crest ocean etc. scripts? VS community
    Thanks
     
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,151
    What is a crest ocean script?
     
  3. mcyber4

    mcyber4

    Joined:
    Oct 24, 2019
    Posts:
    14
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Joe-Censored likes this.
  5. eisenpony

    eisenpony

    Joined:
    May 8, 2015
    Posts:
    971
    You debug crest ocean etc. scripts the same way you debug all other scripts.

    Your message title gives a small clue about the problem you are encountering, but you should go a little further when asking a question. It will save everyone time.

    Here's my guess based on what little we have. Visual Studio isn't loading the assembly's symbols. It could be for a variety of reasons such as: there are no symbols, the symbols are out of date, you are building in release mode.

    To troubleshoot a little further, bring up your "Modules" view in Visual Studio after starting the debugger. It's in Debug/Windows menu.
    upload_2019-11-22_11-29-26.png

    Post us a screenshot of your Modules view.
     
  6. mcyber4

    mcyber4

    Joined:
    Oct 24, 2019
    Posts:
    14
    Thanks. Yesterday I've attached to unity process. Today I get as in the screenshot:
    -------
    upload_2019-11-23_9-53-11.png

    Project with output type class library can not be started. add an executable project that references the class library. Define the executable project as start project. (I cannot get as far as modules in VS).
    Many thanks
     

    Attached Files:

  7. mcyber4

    mcyber4

    Joined:
    Oct 24, 2019
    Posts:
    14
    PS attaching to unity/crest process. Same errors as yesterday:
    upload_2019-11-23_10-8-39.png