Debug with VIsual Studio 6, cpp project


 
Thread Tools Search this Thread
Top Forums Programming Debug with VIsual Studio 6, cpp project
# 1  
Old 11-04-2011
Debug with VIsual Studio 6, cpp project

Hi,
I"m trying to debug one project in VS6 this is cpp ,with source/headers/resource files.
I need to start program from terminal with some parameters, e.g. c> feetcmd -a param1 -d param2, now this program going into the loop and the whole PC is frozen, I tried to do TASK_MANAGER/right click/DEBUG, but it doesn't bring me anything and its very very slow.
If I do DEBUG from the menu, it doesn't give me an option to enter any params into program.
I'm on XP with VS6, project compiled in Debug mode.

Tx
Trent
# 2  
Old 11-04-2011
Ah, VS6, the last good version before they included 900 pounds of useless .net dependencies in each and every executable whether they're needed or not...

It's under Project Settings, in the Debug tab, as "Program Arguments".

Be sure to select "Settings for ... Debug" on the dropdown box on the far left, left, not Release, as there are separate settings for each build mode.

You should then be able to run the debug build right in the IDE and have it given those arguments.

---------- Post updated at 12:28 PM ---------- Previous update was at 12:25 PM ----------

picture
# 3  
Old 11-04-2011
Thansk much Corona!! Yes my boos also told me same thing about VS6, it works just fine for us. I selected:
Settings For: Win32Debug /on the top left, then have 4 more option on Debug tab:
1. Executable...
2. Working dir...
3. Program arguments:..
4. Remote executable path and file name:

Not sure about #4, what is the diff with #1, are #4 required?

Best
T
# 4  
Old 11-04-2011
#4 is optional, which is a good thing as I have no idea what it is. It might have something to do with off-system debugging.
# 5  
Old 11-04-2011
Somehow after running actual source cpp program I got into *.ASM which is compiler code I think, with nothing too much readable... -(
Is it also part of debugger?

T
# 6  
Old 11-04-2011
Sounds like it crashed inside a system library that didn't have debugging information. There's nothing it can show you inside the library but the assembler. This can happen when you pass invalid pointers and so forth into them.

You should be able to back out of it and find out which system call you're inside.
This User Gave Thanks to Corona688 For This Post:
# 7  
Old 11-04-2011
Thanks a lot, Corona688 !
People in Saskatchewan are very nice indeed !!!

Best
T
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Downloading and running Visual Studio Code

Ubuntu 16.04 I tried downloading the .deb package of Visual Studio Code from here but for some reason it won't open. From Activities Overview if I select the program it shows up in the task panel on the left but it just blinks a few times then goes away. I would rather not have to use snap... (5 Replies)
Discussion started by: Circuits
5 Replies

2. Programming

Problem with kerberos cpp project

Hi All, I am having problem with kerberos kadmin library in c++. I am using red hat linux Enterprise Linux Server release 5 (Tikanga), and gcc c++ - 4.1.1-52.el4.i386. When I make a c project (main.c) and use function from kadmin library such as kadm5_init_krb5_context(&context); ... (2 Replies)
Discussion started by: amitp
2 Replies

3. Programming

Looking for equal to Visual Studio for Unix

Hello all Im looking for IDE to edit / compile / debug similar to VC++ on windows I need it for verity of UNIX platforms, what do you think is the best tool to use And that its learning carve is easy ( as much as possible) . Thanks (9 Replies)
Discussion started by: umen
9 Replies

4. Windows & DOS: Issues & Discussions

Visual Studio .Net

How can I create and run a stand-alone console application in Visual Studio .Net ? (cpp-file)....... ...thanks for any help (4 Replies)
Discussion started by: Pennywize
4 Replies
Login or Register to Ask a Question