Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / November 2006

Tip: Looking for answers? Try searching our database.

Why has debug.print stopped working???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Manes - 09 Nov 2006 20:07 GMT
Strangest thing, but, if I put debug.print statements in my code, they
simply get ignored when I run the project. Also, if I try to put a
breakpoint on a line containing debug.print, it jumps down to the next
available line of code when I run the project (or jumps down
immediately if the project is already running).

Another thing that's stopped working is the gray highlighting that
shows which blocks of code were played prior to the current one. Now
it's very difficult to answer questions like "who called this function
in the first place?"

The only thing I can think that could have caused these problems is
that I've added an installer to my solution (so the solution now
contains one main project and one installer project).

Ideas/suggestion/help greatly appreciated.

-Dan
Michael D. Ober - 09 Nov 2006 20:33 GMT
Check the compile configuration.  If it is set to "Release", the debug class
doesn't get compiled.

Mike Ober.

> Strangest thing, but, if I put debug.print statements in my code, they
> simply get ignored when I run the project. Also, if I try to put a
[quoted text clipped - 14 lines]
>
> -Dan
Daniel Manes - 09 Nov 2006 21:05 GMT
That's it! Thank you!

-Dan

> Check the compile configuration.  If it is set to "Release", the debug class
> doesn't get compiled.
[quoted text clipped - 19 lines]
> >
> > -Dan
Soddy - 09 Nov 2006 23:50 GMT
Hello!

So, then this is in the "build Output Path"...?  If so, then just have
"bin\"...?

Signature

Thanks!
Soddy

> Check the compile configuration.  If it is set to "Release", the debug class
> doesn't get compiled.
[quoted text clipped - 19 lines]
> >
> > -Dan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.