The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Debugging CGI app with Visual Studio 2017  (Read 555 times)

JD

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Debugging CGI app with Visual Studio 2017
« on: March 13, 2018, 04:33:50 AM »

Hi,
Is it possible to debug CGI exe file build with Visual Studio 2017 with the Visual Studio 2017 debugger ?
Regards,
Janusz
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 575
Re: Debugging CGI app with Visual Studio 2017
« Reply #1 on: March 13, 2018, 01:57:59 PM »

You can, if you compile the exe in debug mode and run it on the same pc you habe VS2017 on. It might be easier to have debug outputs instead of going through the way with the IDE.

What is the issue that you are having with your app?
Logged

JD

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
Re: Debugging CGI app with Visual Studio 2017
« Reply #2 on: March 14, 2018, 12:15:07 AM »

Thanks Mario.
I am not trying to resolve right now any problems, but I though it would be good to know for the future how to do it.
I am not quite clear if I understand your suggestion. The CGI program is called at run-time on demand, so how would I attach my VC debugger at the time I call it from browser and set for example the breakpoint?
Regards,
Janusz
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 575
Re: Debugging CGI app with Visual Studio 2017
« Reply #3 on: March 15, 2018, 10:12:51 PM »

I haven't done such a thing with a remotely triggered app. But it should be possible to set break points. Last time I've done that was with VS6 :D
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 831
Re: Debugging CGI app with Visual Studio 2017
« Reply #4 on: March 16, 2018, 12:03:14 AM »

Visual Studio has a remote debugging tool but I'm not sure it's freely available. MSDN subscribers can get it and if you paid for VS it probably came with it off the shelf. As for how to use it I don't know since I never have.
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13