× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question Debug IDE on windows.

  • Konrad Kuczynski
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 5 days ago #16157 by Konrad Kuczynski
Debug IDE on windows. was created by Konrad Kuczynski
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.

More
1 month 4 days ago - 1 month 4 days ago #16158 by Matis A.
Replied by Matis A. on topic Debug IDE on windows.
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
Last edit: 1 month 4 days ago by Matis A..

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

  • Konrad Kuczynski
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 days ago #16160 by Konrad Kuczynski
Replied by Konrad Kuczynski on topic Debug IDE on windows.
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.

More
1 month 4 days ago - 1 month 4 days ago #16161 by Matis A.
Replied by Matis A. on topic Debug IDE on windows.
Yes this is possible

PilotLogic Core Programmer
Last edit: 1 month 4 days ago by Matis A..

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

  • Konrad Kuczynski
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 days ago #16162 by Konrad Kuczynski
Replied by Konrad Kuczynski on topic Debug IDE on windows.
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.

  • Konrad Kuczynski
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 days ago #16164 by Konrad Kuczynski
Replied by Konrad Kuczynski on topic Debug IDE on windows.
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.

More
1 month 4 days ago #16165 by Matis A.
Replied by Matis A. on topic Debug IDE on windows.
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.