473,387 Members | 1,575 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,387 software developers and data experts.

How to break into code when running program?

Can someone tell me what combination of keys to press so I can break to step
through code when I get a error message form my applicaton when I run it from
V.S. 2003 in the debug mode? I'm not sure where the error is coming from and
would be great if I can do that.

Thanks,
Alpha
Nov 17 '05 #1
1 2208
helmut fish wrote:
On the VS menu, use Debug -> Break All

"Alpha" <Al***@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
Can someone tell me what combination of keys to press so I can break to
step
through code when I get a error message form my applicaton when I run it
from
V.S. 2003 in the debug mode? I'm not sure where the error is coming from
and
would be great if I can do that.

Thanks,
Alpha



F12 should also do it when the app has focus (i.e. you don't need to switch to
the debugger, just press F12.

Which brings up a related peeve for me: it used to be that if you had a menu
open, and pressed F12, it wouldn't break until /after/ a menu item had been
selected and it would break in your menu handling code. Now, it breaks
immediately and you end up in the actual system call. I much preferred it the
old way, and don't know if it is an artifact of the system or the debugger --
anyone know?
Nov 17 '05 #2

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

Similar topics

9
by: Michele Simionato | last post by:
Is there a way of "ending" a module? I would like something like this: # mod.py print 'something here' end() # some mysterious function print 'you should not get here' # main.py import mod...
5
by: Ann | last post by:
I have trouble sometimes figuring out where break and continue go to. Is there some easy way to figure it out, or a tool? TIA Ann
12
by: No Such Luck | last post by:
Hi All: I'm not sure if this is the right place to ask this question, but I couldn't find a more appropriate group. This is more of a theory question regarding an algorithm implemented in C, not...
13
by: guy | last post by:
Hi, I'm running a batch test using a C# program. This often takes several hours to run and iterates over a bunch of parameters (say) 1000 times. The processor is maxed out during this time. ...
12
by: William | last post by:
VB6 had the ability to pause your execution while debugging, messing with the code, and continue executing right from where you left off. Is DotNet ever going to have this capability? I really...
2
by: Carl Cerecke | last post by:
Well, it doesn't quite rule them all, but it is fast: About three times faster than using one function per state. Faster than using generators. Faster than using code objects. Some, possibly...
16
by: Claudio Grondi | last post by:
Sometimes it is known in advance, that the time spent in a loop will be in order of minutes or even hours, so it makes sense to optimize each element in the loop to make it run faster. One of...
26
by: a.mil | last post by:
I am programming for code-speed, not for ansi or other nice-guy stuff and I encountered the following problem: When I have a for loop like this: b=b0; for (a=0,i=0;i<100;i++,b--) { if (b%i)...
9
by: ARC | last post by:
Hello all, I've noticed some funny things in my 2007 app lately, particularly where it's not putting up errors when I know a field doesn't exist, etc. In the VBA window, under Tools, Options,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.