Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Problem while debugging abp code #6782


User avatar
0
antonis created

I have followed the instructions here to debug abp code. However when I step into sometimes I cannot access variables becuase it says the code is optimised maybe impossible to debug. How can I overcome this?


7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    I also often encounter this hint from VS. There seems to be no way unless you rewrite and replace the component.

  • User Avatar
    0
    antonis created

    Rewrite?

  • User Avatar
    0
    maliming created
    Support Team

    You can copy the abp code and write a new component, then replace the abp built-in components for easy debugging.

    Of course, most of the cases do not need

  • User Avatar
    0
    antonis created

    That is very ugly. Purpose of using symbols to debug is to not need to apply above tecnhique.

  • User Avatar
    0
    maliming created
    Support Team

    As I said, most of the time you don't need to do this.

  • User Avatar
    0
    antonis created

    Yes but sometimes you need it and I have such a case right now :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @antonis

    Is there any specific code block which we can test with ?