web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to debug on event

(0) ShareShare
ReportReport
Posted on by 229

Hi friends,

I m real new on D365 and i need to debug some behaviour.

I m working on Security Roles Matrix.

I'm debugging some issues on some task from a former DEV.

I got a button which have to validate some security level and insert it on selected matrix and instead of that its delete the selected matrix on form and delete also this matrix in table.

I don't understand why and where it comes.

So i need to debug it to fix that, someone said to me that i need to debug on delete event on this table but i dont know how to do it exactly ?

Could someone teach how to do it and explain please ?

Regards.

I have the same question (0)
  • Awaxx Profile Picture
    229 on at

    Is there someone for some help or explaination please ?

  • Verified answer
    Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    First of all, check if the table in question doesn't already have delete() method. If so, you can put a breakpoint there.

    Otherwise expand the Events node of the table, right-click on the Delete event and choose Copy Event Handler (or something like that). It'll generate an event handler method definition and put it into the clipboard.

    Then create a project, add a class and paste the method there. Now you have an event handler method and you can put a breakpoint there. Build the project, attach debugger to your web server (typically iisexpress) and perform the stepts that you want to debug.

  • Awaxx Profile Picture
    229 on at

    Thank you goshoom 

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    Please consider verifying the answer. You can do that by using Did this answer your question? > Yes on the reply that answered the question.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans