DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Saving Break Points

  1. #1
    Join Date
    Dec 2005

    Saving Break Points

    How do I save my break points in VIsual Basic? I am experiencing the frusturation of setting the break points and then, if the program crashes and VB shuts down, the break points are lost.

    I tried to set them and then save all and shut down the IDE and then come back. Yet, the break points vanish and I have to rest them all again.

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    VB6 cannot save breakpoints between sessions.
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Nov 2003
    Alameda, CA
    You can "simulate" a fixed breakpoint using the Assert method of the Debug object

    Declare a boolean (like StopOnAssert), ans set it to True or False (depending if you want to stop or not), then add the line

    debug.Assert StopOnAssert

    where you want the breakpoint to be.

    PS the Debug object works only in the IDE, it is not compiled in the final exe

    "There are two ways to write error-free programs. Only the third one works."

Similar Threads

  1. what Character for page break in Ms Word
    By kero in forum ASP.NET
    Replies: 5
    Last Post: 10-22-2008, 07:25 AM
  2. plz help me n00b here
    By Apocalyp5e in forum Java
    Replies: 11
    Last Post: 12-22-2005, 09:03 PM
  3. break points not hitting
    By jaleel in forum .NET
    Replies: 1
    Last Post: 10-15-2002, 02:46 AM
  4. Saving Object Hierarchies
    By Richard Dalton . in forum Architecture and Design
    Replies: 14
    Last Post: 12-29-2000, 01:41 AM
  5. MSchart points and access
    By Andria in forum VB Classic
    Replies: 2
    Last Post: 09-01-2000, 10:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center