Hassan NOUR EL DINE
asked on
How to allow code change inside VB.net program when in Breakemode
I'm using Visual studio 2015 entreprise version.
I'm writing a visual basic .net program.
The issue I' facing is that : the edit and continue feature is not working properly. I can modify the source code but can't apply it. see the attached file
How to allow code change inside VB.net program when in Breakemode ?
Edit_And_Continu.jpg
I'm writing a visual basic .net program.
The issue I' facing is that : the edit and continue feature is not working properly. I can modify the source code but can't apply it. see the attached file
How to allow code change inside VB.net program when in Breakemode ?
Edit_And_Continu.jpg
there are many reasons why it wouldn't work, the list is vvveeerrryyy long. Have a look at https://stackoverflow.com/questions/1010213/edit-and-continue-changes-are-not-allowed-when
ASKER
Finally I found the reason :
I was using the old error handling methode :
On error goto ErrorHandler ....
I replaced it by the new methode :
Try
Catch
Finally
now edit and continu is working fine.
I was using the old error handling methode :
On error goto ErrorHandler ....
I replaced it by the new methode :
Try
Catch
Finally
now edit and continu is working fine.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.