# LeaveButtonClicked() can't work

**URL:** <https://devforum.zoom.us/t/leavebuttonclicked-cant-work/3989>\
**Category:** Windows\
**Created:** [April 19, 2019, 11:33am UTC](https://devforum.zoom.us/t/leavebuttonclicked-cant-work/3989 "2019-04-19T11:33:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alicanaygor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alicanaygor/32/540_2.png) [@alicanaygor](https://devforum.zoom.us/u/alicanaygor)\
**Post date:** [April 19, 2019, 11:33am UTC](https://devforum.zoom.us/t/leavebuttonclicked-cant-work/3989/1 "2019-04-19T11:33:20Z")

</div>

Hello,  
I’d like to debug the “Leave Meeting” button but don’t know where to put breakpoint.  
Could you tell me where the “leave meeting” button is triggered.

i tried to put breakpoint on those lines:

`toolbar_bottom_workflow.cpp`  
void CToolbarBottomWorkFlow :: LeaveButtonClicked ()  
`toolbar_bottom_ui.cpp`  
void CToolbarBottom :: DoLeaveButtonClick ()

but didn’t work.

 ![leavemeeting](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/766d5ab2396a3b36262dfaec641e64c6d0422983.png)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 23, 2019, 1:10am UTC](https://devforum.zoom.us/t/leavebuttonclicked-cant-work/3989/3 "2019-04-23T01:10:30Z")

</div>

Hi alicanaygor,  
Thanks for the post. Based on the screenshot you are posting, you are using the Zoom UI. Unfortunately, the “Leave Meeting” button (and all buttons shown in the bottom panels) does not allow breakpoints on them. The methods you have mentioned are for the custom UI.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:16pm UTC](https://devforum.zoom.us/t/leavebuttonclicked-cant-work/3989/5 "2020-08-21T18:16:02Z")

</div>

Closed on August 21, 2020, 6:16pm UTC


