Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Debugging with Visual Studio 2008 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
paul1307
Posted : Monday, June 14, 2010 4:41:36 PM
Registered User
Joined: 10/7/2004
Posts: 41
In spite of what the new Programmer's Reference states on page 48, debugging with Visual Studio 2008 does not always work correctly; the good news is that Visual Studio 2005 seems to work correctly all the time ( so far...).

If your code is running correctly, VS 2008 seems to work most of the time, but it jumps off into never-never land eventually and it becomes necessary to stop debugging (since there's no clear indication of what line of your code is executing, if any) from within VS to clear the problem. I would recommend sticking with VS 2005 as a debugger until this gets fixed.
Kuf
Posted : Tuesday, June 22, 2010 5:44:28 PM


Administration

Joined: 9/18/2004
Posts: 3,522
One trick (if you're debugging when the market is open) is to suspend all threads except the one you're running on.  This will prevent stockfinder from going off in the background and trying to perform more work while the debugger is attached.

Ken Gilb (Kuf)
Chief Software Engineer - Worden Brothers Inc.
Try/Catch - My RealCode Blog
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.