Search Unity

External DLL debugging not working

Discussion in 'Editor & General Support' started by scossgrove, Apr 19, 2017.

  1. scossgrove

    scossgrove

    Joined:
    Jan 6, 2016
    Posts:
    35
    Hi,

    I'm using Unity 5.5.2f1 with Visual Studio 2015 Community.

    I have a solution with a class library project and the main unity project.

    The class library is set to Unity 3.5 .net Subset Base Class Libraries. I use the post-build event to copy the dll and pdb into an external folder under the main project.

    This all seems to be working as I can use classes from the class library in the unity project fine.

    However I cannot debug into the class library. I believe I followed the following thread http://unityvs.com/documentation/dll-debugging/ corrrectly. In the external folder of the unity project the mdb has been created as the article suggest.

    When i step into the class library (F11) the error I'm getting is:
    "
    Frame not in module
    The current stack frame was not found in a loaded module. Source cannot be shown for this location.
    "

    Can anyone help?
     
  2. RPKMN1

    RPKMN1

    Joined:
    Feb 13, 2017
    Posts:
    36
    i've had this happen before... I just hit f11 a couple more times and it steps into the code as it should.

    can't tell you why *Shrug*
     
    DragonCoder likes this.