473,473 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why has debug.print stopped working???

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

Nov 9 '06 #1
3 1493
Check the compile configuration. If it is set to "Release", the debug class
doesn't get compiled.

Mike Ober.

"Daniel Manes" <da******@cox.netwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
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

Nov 9 '06 #2
That's it! Thank you!

-Dan

Michael D. Ober wrote:
Check the compile configuration. If it is set to "Release", the debug class
doesn't get compiled.

Mike Ober.

"Daniel Manes" <da******@cox.netwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
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
Nov 9 '06 #3
Hello!

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

--
Thanks!
Soddy
"Michael D. Ober" wrote:
Check the compile configuration. If it is set to "Release", the debug class
doesn't get compiled.

Mike Ober.

"Daniel Manes" <da******@cox.netwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
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


Nov 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tim Marshall | last post by:
For an mdb or mde release, does having debug.print without the comment single quote add any processing time to the application? I assume an mde won't since debug.prints would not be compiled in...
4
by: Vittal | last post by:
Hello, Here I have a simple C program. But I am not understanding how I can debug this? #include <stdio.h> main() { int pid=0; pid=fork();
1
by: Philip | last post by:
I am debugging an ASP.NET application .. and probably 50% of the time after I terminate a debug session I am unable to start with a new debug session due to a "Configuration Error"... a "Parser...
0
by: Hanover | last post by:
I have a very weird situation. I have several controls on a form, all of them have on-changed events that are supposed to pass their values to a dataset. The problem is, their events suddenly...
7
by: Sunil Varma | last post by:
Hello all, I wrote a Windows Service in VC.NET 2005 I want to debug the solution. I tried as mentioned in the following link. ...
2
by: ipellew | last post by:
Hi; My Access 2002 debugger breakpoint has stopped working. I must of done something as the breakpoints no longer stop the code. I put a msgbox in code and getit, but no stop at the break before...
8
by: Fred Flintstone | last post by:
I have an odd problem. I'm beating myself bloody trying to get debugging to work. I have VS.Net 2005 installed on a Windows XP SP2 workstation and on a W2003 Server. The asp.net application is...
3
by: Daniel Manes | last post by:
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...
2
by: Simon Jefferies | last post by:
Hi there, I'm having a problem whereby when a line of code raises an exception etc VS 2005 wont debug the line (highlight the error) but to actually display a message along the lines of ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.