Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Debug IDE on windows. 3 years 2 months ago #16157

  • Konrad Kuczynski
  • Konrad Kuczynski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I would like to debug Typhon64 IDE 7.4 on Windows in order to troubleshoot Package problem while compiled into the IDE.

How can I do that? When I try:
Typhonbuild.ctpr - it is command line compiler I think (Command line utility to compile/Build/Debug Typhon projects and packages)
typhonstart.ctpr is worker to re-start ide while re-compiling it (in short).
typhon.ctpr when compiled says there is no compile command in project options.

I am trying to debug a package.

Thanks
Konrad

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

Debug IDE on windows. 3 years 2 months ago #16158

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
Typhon Big IDE on Win64 with Debug info has size about 4.5 Gb
It's to large for Debug.

We use Typhon IDE logger (Typhon=>View=IDE Logger) , "DebugLn" procedure
and Rebuild IDE Method.

The RunTime part of your package must Debug with a simple project.
PilotLogic Core Programmer

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

Last edit: by Matis A..

Debug IDE on windows. 3 years 2 months ago #16160

  • Konrad Kuczynski
  • Konrad Kuczynski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Thanks, I saw IDE Logger, it gives some feedback. It might be just getting used too :)

Is it possible to debug Small IDE? remove all unnecessary packages to make it small and manageable?

Konrad

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

Debug IDE on windows. 3 years 2 months ago #16161

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
Yes this is possible
PilotLogic Core Programmer

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

Last edit: by Matis A..

Debug IDE on windows. 3 years 2 months ago #16162

  • Konrad Kuczynski
  • Konrad Kuczynski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Could you just point me to high level steps to accomplish it?
Which project file to open, etc..
or should I first rebuild initial IDE to small, and then open some project? 

Thanks

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

Debug IDE on windows. 3 years 2 months ago #16164

  • Konrad Kuczynski
  • Konrad Kuczynski's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
As I could not do it in IDE itself,
I am modifying this file x_Typhon_Win64_Build_Small.bat
adding DEBUG flag in MAKE line to get Debug version of typhon.exe

START /D ..\typhon\ /B /WAIT ..\fpc\fpc64\bin\x86_64-win64\make.exe all DEBUG INSTALL_PREFIX=C:\codetyphon\typhon\

please correct me if this is wrong approach.

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

Debug IDE on windows. 3 years 2 months ago #16165

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
I don't want to give untested info.
The official method is the above one.
PilotLogic Core Programmer

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

  • Page:
  • 1