Is it possiable to apply debugger in DOTNET variable

i want to see source code of DOTNET variable when I apply debugger in navision 2016

Answers

  • DuikmeesterDuikmeester Member Posts: 308
    In you have the source code you can debug the component with attach to process.
  • loggerlogger Member Posts: 126
    Hi @Deepak_Jamwal ,
    AFAIK, that's not possible by native NAV debugger. If you know the dll file which one you use to catch this variable, you can easily decompile it by free decompiler to see source code (but not to debug it), e.g. https://www.jetbrains.com/decompiler/
    If you don't know the dll file - go to google, find where your variable is located, and again use decompiler.
    Let's go!
  • Deepak_JamwalDeepak_Jamwal Member Posts: 13
    edited 2017-11-23
    @ Duikmeester
    can you please elaborate it.
  • loggerlogger Member Posts: 126
    @Deepak_Jamwal ,
    Hm. What do you want me to elaborate?
    Let's go!
  • DuikmeesterDuikmeester Member Posts: 308
    Using Visual Studio open the solution. Then under Debug > Attach to process > NAV Client/Server. Then when your component gets called you can use breakpoints to step thru the process.

    Using DotPeek you could also reverse engineer a dll. However doing this could mean you are breaking some rules/agreements about the usage of software/licenses.
  • loggerlogger Member Posts: 126
    @Duikmeester ,
    Doesn't your method work only if we have dll source (solution)?
    Let's go!
Sign In or Register to comment.