|
-
Aug 11th, 2010, 12:39 AM
#1
Thread Starter
Lively Member
Inactive Vb Editor on debug
in my vb application there are many custom buttons and custon listviews... when I debug the application, the Editor becomes inactive, it responds to keys however (F8, Ctrl + F8). the situation becomes worse if I try to pop a watch window or any other dialog, then the VB hangs and doesnt respond untill I terminate the VB.
why doest it happen? and what can i do, note in some controls I use subclassing and I am afraid they cause this problem.
-
Aug 11th, 2010, 03:27 AM
#2
Re: Inactive Vb Editor on debug
Subclassing is the cause of the problem.
The simplest solution is not to use subclassing while debugging (eg: use a routine which checks if you are in the IDE, and if so doesn't start the subclassing).
If for some reason you need to be able to debug while subclassing, you need to use a more complex method of subclassing. There are various pre-made solutions available, I often see the name "Paul Caton" recommended, so a forum/web search for his name is likely to find something good.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|