?
Solved

VB.net exe - view Debug.print lines

Posted on 2006-11-06
8
Medium Priority
?
1,338 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:rwallacej
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 800 total points
ID: 17883699
Download DebugView utility from here:
http://www.sysinternals.com/utilities/debugview.html
0
 

Author Comment

by:rwallacej
ID: 17883799
can this not be done without 3rd party tool?
0
 
LVL 3

Assisted Solution

by:vsvb
vsvb earned 800 total points
ID: 17883818
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Expert Comment

by:vsvb
ID: 17883829
this is not 3 party tool just open the project and add the code in your current porject
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 17883924
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
 

Author Comment

by:rwallacej
ID: 17884073
got called away, I'll look at these tomorrow. thanks
0
 
LVL 10

Assisted Solution

by:Kinger247
Kinger247 earned 400 total points
ID: 17884127
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
 
LVL 2

Expert Comment

by:chrsmrtn
ID: 17884462
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question