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

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

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 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.

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

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.

1 Like

Thanks a lot, Corona688 !
People in Saskatchewan are very nice indeed !!!

Best
T