Options

Debugging an C# Automation DLL

HediHedi Member Posts: 16
edited 2010-05-24 in NAV Three Tier
Hi all,
I have created an Automation DLL and registred it into Navision Server.
but the DLL return an exception when I execute the CodeUnit that call the required methode.

I need to know haw can I debug my DLL using VS2008, and where I must put the "pdb" file.

Thanks for Help

Comments

  • Options
    kinekine Member Posts: 12,562
    Just run the NAS and in VS open the project and use the Attach function in the debugger menu to attach to the NAS.exe or NASSQL.exe process...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    HediHedi Member Posts: 16
    kine wrote:
    Just run the NAS and in VS open the project and use the Attach function in the debugger menu to attach to the NAS.exe or NASSQL.exe process...

    so I dont need the pdb file?
  • Options
    kinekine Member Posts: 12,562
    Of course, if you want to see what is inside the DLL in debugger, you need PDB file... the PDB file must be in same folder as the dll or in some path defined for symbols in VS. http://msdn.microsoft.com/en-us/library/ms241903.aspx
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.