Solved

VB.net exe - view Debug.print lines

Posted on 2006-11-06
8
1,334 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
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 200 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 200 total points
ID: 17883818
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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 100 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINQ - C# to VB convertion 12 58
Help with Syntax 9 37
HTML - Color not displaying correctly in EMAIL. 6 41
MailAddress in vb 4 17
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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