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)
-
0
I also often encounter this hint from VS. There seems to be no way unless you rewrite and replace the component.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Rewrite?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
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
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
That is very ugly. Purpose of using symbols to debug is to not need to apply above tecnhique.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
As I said, most of the time you don't need to do this.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Yes but sometimes you need it and I have such a case right now :)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @antonis
Is there any specific code block which we can test with ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)