Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

How to run and debug console application? 9 years 9 months ago #6759

  • VitalD
  • VitalD's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I develop console application. To run and get console output I try to use general way which was in Lazarus: /usr/bin/xterm -T 'Typhon Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)
But there is no "runwait.sh" script file in current build of Typhon64.
Probably it should be added to CodeTyphon-inst?
There is no special problem to download it from current Lazarus source code. Don't metter about it.
My current target is to debug console application. I can see output in xterm using running option I mentioned above. This way ignores any break points and so I guess debugger isn't used.
Other way I can turn off this option and see no output and make debugger work.

So, my question is how to combine both ways, I mean how to use breaks and see output when I debug console application.

P.S. When I say "console application" I really meant simplest "Program".

Please Log in or Create an account to join the conversation.

How to run and debug console application? 9 years 9 months ago #6760

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Thanks Sir
we will solve this problem
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1