VB.net exe - view Debug.print lines

I'd like to view the debug.print lines when running as an exe, just like you can view them in the IDE - can this be done and how?
rwallacejAsked:
Who is Participating?
 
AlexFMConnect With a Mentor Commented:
Download DebugView utility from here:
http://www.sysinternals.com/utilities/debugview.html
0
 
rwallacejAuthor Commented:
can this not be done without 3rd party tool?
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
vsvbCommented:
this is not 3 party tool just open the project and add the code in your current porject
0
 
AlexFMCommented:
You want this outside of Visual Studio, so you must run some program, right?
DebugView is free tool which is used by all C++ developers. .NET debug lines are shown as well. Download link points to zip file with DebugView.exe and help file - pretty simple. Add you need is to run DebugView.exe and your program.
0
 
rwallacejAuthor Commented:
got called away, I'll look at these tomorrow. thanks
0
 
Kinger247Connect With a Mentor Commented:
Why don't you write them off to a text file ?

I place the debug.pring statement in a proc, then call the proc.
So if your running your app as an exe, you can change the proc to write to a textfile instead.
0
 
chrsmrtnCommented:
Can't you attach to the process while it's running?  I've done this to help debug a process that i wrote recently in VB.net.  All you do is make sure the process is running.  Open your .NET development project for the compiled exe.  Place in your breakpoints.  Click on Tools, then select "Attach Process".  Then find the name of the exe in the list of processes and click "Attach".  Wait a bit and a break point should light up.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.