Breakpoints not working

Add-in Express™ Support Service
That's what is more important than anything else

Breakpoints not working
 
learningaddinexpress




Posts: 16
Joined: 2020-03-19
When I am working with the Add-Ins created with Add-in Express, the breakpoints do not hit. I thought there was something wrong with my current add-in so I opened a new project and created a very basic add-in. Added this sample code


    Private Sub AdxExcelAppEvents1_WorkbookOpen(sender As Object, hostObj As Object) Handles AdxExcelAppEvents1.WorkbookOpen
        MessageBox.Show("Hello World")
    End Sub


I put a breakpoint on `AdxExcelAppEvents1_WorkbookOpen` and ran. I got the message when I opened a new workbook but the breakpoint did not hit.

Have I switched off some setting by mistake?

Note: BTW I tried it with a Windows Forms Application and the breakpoints work.
Posted 21 Mar, 2020 08:48:25 Top
learningaddinexpress




Posts: 16
Joined: 2020-03-19
Update: Updated the Trial version on a different laptop and followed the above. Breakpoint works there.

Things I have done on this laptop.

1. Unregister, Clean + Rebuild, Register
2. Manually cleaning the Debug folder
3. Repairing Add-In Express
4. Uninstalling/ReInstalling Add-In Express
5. Jumping between frameworks 4.5 and 4.6, 4.7.1

But still code doesn't stop on Breakpoint
Posted 21 Mar, 2020 09:35:19 Top
learningaddinexpress




Posts: 16
Joined: 2020-03-19
Posted 22 Mar, 2020 06:05:01 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Mike,

Please find my response on that page.


Andrei Smolin
Add-in Express Team Leader
Posted 23 Mar, 2020 01:58:38 Top