![]() |
"Duplicate declaration in current scope" during edit and continue
Sometimes when I declare a new variable during edit and continue, I
get the error "Duplicate declaration in current scope", except that there is no other declaration of the affected variable. The only solution I've found is to stop the debugging session and restart. Often that's no problem, but it can be annoying if I'm, say, deep into a couple nested loops. Is there a better workaround? Thanks, Greg |
"Duplicate declaration in current scope" during edit and continue
Greg Lovern used his keyboard to write :
Sometimes when I declare a new variable during edit and continue, I get the error "Duplicate declaration in current scope", except that there is no other declaration of the affected variable. The only solution I've found is to stop the debugging session and restart. Often that's no problem, but it can be annoying if I'm, say, deep into a couple nested loops. Is there a better workaround? Thanks, Greg Can you show us the code so we can better help you? -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc |
All times are GMT +1. The time now is 01:40 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com