Results 1 to 5 of 5

Thread: Debugger doesn't work annymore!

  1. #1

    Thread Starter
    Addicted Member Lectere's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    222

    Debugger doesn't work annymore!

    I probally hit a wrong key combination, or pressed a wrong button, but I can't seem to fix it.

    When I enter e new breakpoint in VB, I have the normal red dot appear in front of the code. But when I hit run/F5 it changes to this icon;



    What the f* is that? I have no idea of anny version numbers of my code? And I dont Have a 'debuggin' option under tools, options. How do I fix this? And how did I cause this?

    Thanks in advance!


    (f stands for flower!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Debugger doesn't work annymore!

    It looks like the problem is that your code is not compiling but you're still running the old version of the application. That means that the code that is running in the debugger and the code that you are seeing are not the same, as the error message says. A breakpoint can't be hit if the line it's on doesn't exist in the compiled code. Open your Errors window and if there are any errors listed then fix them and try compiling again. Also, take notice of what the IDE tells you. It probably showed you the dialogue below and you checked the box and pressed Yes. Now it doesn't ask any more. Another possibility is that you have changed the configuration to Release instead of Debug, so each time you compile you're compiling a Release version and running an old Debug version. Does it say Debug or Release on your tool bar.
    Attached Images Attached Images  
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member Lectere's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    222

    Re: Debugger doesn't work annymore!

    Thanks for the quick responce!

    But I think this is what went wrong:

    Im busy building a licesing structure, disableing the application after a certain date. To test this, I had put the timer to august 2007, tested it, and put the date back to may.

    Ever since its giving this error, but I still don't know how to fix it! :/

    I have deleted every file dating august from the debug dir, doesn't help...

  4. #4
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: Debugger doesn't work annymore!

    Delete your BIN and OBJ folders and then try and recompile.

  5. #5

    Thread Starter
    Addicted Member Lectere's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    222

    Re: Debugger doesn't work annymore!



    Respect negative0! that solved it! thanks a lot!

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