473,320 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Debugging in VS 2008

I am debugging my code in Visual Studios 2008.

I have a statement which prints something out to the console using "printf"

The problem is when I step through, VS ends up opening "printf.c" and steps through the file. I want the program to step through my code only.

I don't want the debugger to go low level (sometimes it even opens up assembly code).

Does anyone know a setting that I can set in VS to do this?

Thanks in advance,
Sevak.
Oct 8 '08 #1
4 1316
weaknessforcats
9,208 Expert Mod 8TB
I don't believe there is such a debugger property.

When you end up in printf.c, just step out.

If you find a way to restrict your debugger (other than by using a binary library), please re-post and tell me how you did it.
Oct 8 '08 #2
Ok,

I guess what I was doing was "Stepping-Into" everything (F11). So, I just used "Step Out" to get out, but the file still remains open (so you have to close them all manually). The problem with "Step Into" is that it opens the associated file for that function call.

When you use break points and "Continue" (F5), it doesn't open the files, which is great!

Thanks for the reply anyways.

PS - I really like this forum, I get quick answers for everything. Usually in other forums, it takes days to get a response.
Oct 8 '08 #3
Banfa
9,065 Expert Mod 8TB
As well as "step into" and "step out" there is "step over" which executes an entire function, like printf, without stepping through the function code at all and stops you on the next line of your code.
Oct 8 '08 #4
ok, thanks.

I believe that's gonna help me.

Sevak.
Oct 8 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, I just installed Visual Web Developer Express 2008 for the Javascript Debugging functionality. I browsed to an ASP.NET 1.1 website running on my localhost and hit a Javacript error. I...
2
by: =?Utf-8?B?R2FyeSBM?= | last post by:
I'm receiving the error: Error while trying to run project: Unable to start debugging on the web server. This started when I installed VS 2008. I've been running 2003 and 2005 side by side...
2
by: webEater | last post by:
Hello - I posted this in the Firebug Group (http://groups.google.com/ group/firebug), too: I created a small PHP script that sends all PHP debugging messages to the Firebug console. So your...
3
by: Rick | last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to remote debug, when build ing the web site there is not a dll or PDB file generated. I can debug on my local machine but...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
3
by: Lloyd Sheen | last post by:
The text below is from the immediate window: ?DownloadZipFile.Attributes.Count 1 ?DownloadZipFile.Attributes(0) Nothing Now that makes no sense. Why when I add an attribute to a element...
4
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or...
0
by: Armin Zingler | last post by:
Hi, as I did not get a response in the vstudio group, I try it here: My problem is that I don't know how to display values while debugging a managed application. The Exe was written in VB 2008...
7
by: GaryDean | last post by:
(this was also posted on the MSDN WCF forum but the answers over there are not so good) I have a WCF Library hosted by IIS 6 and it all works fine. However I need to step through the code in the...
7
by: luker | last post by:
Hello Experts, I am writing an application for a device running windows xp embedded. I want to code on my developer pc and deploy the running executable to the embedded device. - The two boxes...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.