Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2006, 09:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default Run To Cursor

Hello,

In "classic" Visual Studio we had "Run To Cursor" functionality available from the Debug menu. Any way to do the same in VS.NET 2K3. I just want to "step out" of loops, but still execute them completely.
Does "Run To Cursor" reappear in 2K5. 'Bout had it with 2K3 debugging.

Thanks,

Bob

 
Old March 2nd, 2006, 05:00 PM
Authorized User
 
Join Date: Mar 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Bob,

VS2K5 DOES have "Run to cursor" option. I dont see it in the Debug menu though. It appears when you right click at some point in the code.

In VS 2K3, could you not place breakpoint at the "cursor" and start debugging?


Sreeram
 
Old March 2nd, 2006, 10:23 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Thanks for replying Sreeram. Yet another reason to get 2K5 i suppose.

The beauty of Run To Cursor is that it lets me enter a loop, perform a couple of iterations to see whats going on, then get out of the loop without having to walk through a zillion additional iterations. I've never figured out how to accomplish that with break points. Seems like once a loop is entered while debugging, there just isn't anyway to exit it without walking through its execution line after line (without hitting Shift-F11 to just run through the rest of the code.)

Thanks,

Bob

 
Old March 6th, 2006, 10:43 AM
Authorized User
 
Join Date: Mar 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes! Run To Cursor is a very nice feature which I have almost forgot to use since I stopped using Turbo C!!! Thanks for reminding me of it, Bob.

Sreeram

Sreeram
 
Old March 6th, 2006, 08:45 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

You're welcome. I'm glad at least someone gets to use it. :)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Magnetic Cursor - Target Area Cursor? gcarcass .NET Framework 2.0 1 May 5th, 2008 07:20 AM
How can I run or not run Google AD in my ASP.NET w mycwcgr ASP.NET 2.0 Professional 0 November 5th, 2007 07:18 AM
Regarding Cursor param99 SQL Server 2000 1 September 8th, 2006 10:03 AM
Regarding Cursor param99 SQL Language 0 September 8th, 2006 03:56 AM
cursor trinnie SQL Server 2000 0 August 6th, 2006 09:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.