Results 1 to 16 of 16

Thread: where would we be without breakpoints

  1. #1

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665

    where would we be without breakpoints

    i have about 2 or 3 hundred lines of code, with an error in them, i put in about 150 breakpoints.

    I propose a tribute, the programmers best friend BREAKPOINTS! haha

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I thought a programmer's best friend was cocaine and lighter fluid?

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Addicted Member kalicki's Avatar
    Join Date
    Mar 2001
    Location
    Orlando, Florida
    Posts
    134
    Just your's crptc...

  4. #4

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    well thats my second best friend

  5. #5
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    I know I'm going to sound like a moron saying this.....never used breakpoints......

    I haven't used VB for at least 2 years, give me a break

  6. #6

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    ??? how do you figure out if your mid statement wasn't off by just a bit, or if you get an unbeievably odd return? see where it went wrong

  7. #7
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    I'd see what it would return and try to figure out what it did and fix it from there. I never got that good at vb.....that probably doesn't help much anyway

  8. #8

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    man that was nice! i just finished a function which is about 200 lines, had all kinds of mid statements in it (easy to be off one charector and be out a bit) and it worked perfect the first time. That is a great feeling

  9. #9
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    nice

  10. #10

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    doesn't happen often but when it does MAN ITS GREAT

  11. #11
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    I never use breakpoints either. I always use messageboxes. Like if i wanna see what is happening to a variable orwhatever i'll stick a Msgbox VariableName in the appropriate place. Works real well for me, but that's just cause i'm used to doing it that way.


    I do know all about the Watch,Immediate,Locals and that other window. I just found that they just get in my way and slow me down.



    Every now and then i screw up and put a messagebox inside a loop then i regret it.
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  12. #12

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    just break it

  13. #13
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    I either do Debug.print statements, or i put an err.raise ### statement in there, so it generates a runtime error, and you can see the value of all the vars just by moving the mouse over them. Very convenient in my opinion.
    You just proved that sig advertisements work.

  14. #14

    Thread Starter
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    that is exactly the same as breakpoints except breakpoints don't require code

  15. #15
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    seriously? Damn...and all this time...
    You just proved that sig advertisements work.

  16. #16
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Hmm just tried them out for the first time...very cool indeed...
    You just proved that sig advertisements work.

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