Start a new topic

Browser Breakpoints

I have noticed breakpoints don't stop when using lamdas.


button.onclick += ButtonClicked;


or  


button.onlick = (e) => {

Trace.Info("Button Clicked")

};


 WILL NOT STOP ON A BREAKPOINT IN THE BUTTON CLICK FUNCTION


BUT


sendButton.addEventListener("click", ButtonClick);

 

DOES STOP ON BREAKPOINT


protected dynamic ButtonClick(MouseEvent evt)
{
 Trace.Info("Button Clicked");

}

1 Comment

We can't reproduce this error, in DuoCode 2.0 and the coming 2.1.

Can you please try to reproduce it on http://duoco.de/try, Working with DOM sample.

Attaching screenshot is the Run from the Microsoft Edge.



Login or Signup to post a comment