Results 1 to 2 of 2

Thread: I am having trouble debugging my application

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301

    I am having trouble debugging my application

    I am making a IRC Chat Program and i when i run my program using the little "play" button in debug mode, it won't display everything.

    It just says "Connect" and there should be other messages. I also have another window that displays that incoming/outgong packets that nothing is showing up in. However, it does add the people in the current channel to the userlist. When i run the actual Executable, not through the IDE, Everything works.. as it's supposed to.

    Thanks for your help

    - Joel
    There are only two kinds of people who are truely fascinating: people who know absolutely everything, and people who know absolutely nothing.

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

    Re: I am having trouble debugging my application

    So use the debugger. Place a breakpoint at a line that you believe should be executed and when execution breaks there step through the code one line at a time to see where execution goes. Use the Locals and Watch windows to follow the values of variables, properties and expressions as you go. Add lines like Debug.WriteLine to your code so it will output information as it executes telling you where it's at and what it's doing.
    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

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