Results 1 to 2 of 2

Thread: Inactive Vb Editor on debug

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2009
    Posts
    113

    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.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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
  •  



Click Here to Expand Forum to Full Width