Results 1 to 4 of 4

Thread: hey, what are these red circles?

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    hey,
    i've never done this before. On the coding screen, i just noticed that it wasn't docked with the component toolbar. Then when I clicked in the space between the code area and the toolbar, a red circle appeared and the corresponding line of code became higlighted with a red background.

    What's that for?

  2. #2
    Addicted Member S@NSIS's Avatar
    Join Date
    Aug 2000
    Location
    Stoke-On-Trent, England
    Posts
    243
    Hi,
    That's what is know as Breakpoints. You can set as many of these 'red dots' as you like and then when you run your program, every time the code comes to the line(s) you have highlighted with the 'red dot', your program will pause running and you will be taken to the code. From there you can step through your code one line at a time (using F8) and see what is happening as your code executes.
    It is a very useful feature!

    Hope this helps

    Shaun
    Web/Application Developer
    VB6 Ent (SP5), Win 2000,SQL Server 2000

  3. #3

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    wow!
    what'll they think of next?

    Up to now, i've always used print statements and msgBoxes to do that (which I have to go thru and delete later on)


    Thanks.

  4. #4
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    When you do subclassing you'll have to revert back to doing that

    VB creates a new keyword especially for subclassing, but then renders all of the error handling useless by just letting it crash. Typical.
    Courgettes.

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