+ Start a Discussion
David Roberts 4David Roberts 4 

why do earlier debug statements disappear when I add wrapper objects to a list?

I have system.debug statements at the start of and throughout my method and they all report as expected.
I create a new list of a wrapper class. .
When I add a newly created wrapper object to the list, it causes any debug statements before the call to disappear.
Any suggestions?
AbhishekAbhishek (Salesforce Developers) 
Can you check the points in the below developer discussion,

https://salesforce.stackexchange.com/questions/237140/how-to-debug-individual-elements-in-list-of-wrapper-class

 
David Roberts 4David Roberts 4
Hi Abhishek, This is weird. I’m going to have to isolate bits of code… Stay safe! Kind regards, Dave Roberts [Virtual Worlds Logotype Primary]
AbhishekAbhishek (Salesforce Developers) 
Then I would suggest you reach the salesforce support team so that they can check internally and provide you a definite answer.