Forum

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

Question Error 740 on launching GDB with basic app on Windows 10

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 4 days ago #12904 by Libaud
Hi,

I've migrate to the release 6.6 on Windows 10 but when I execute a basic project the GNU debugger says that it couldn't execute with the -exec-run param and give an 740 code error.

So I've searching on the source and compare with Lazarus (V1.8) source too. The same application working perfectly with the debugger and basically it's the same. And I've found that command passed to the debugger with TGDBController are not the same. So I've notice to that there's multiple implementation of TGDBController :
- codetyphon\fpcsrc\packages\gdbint\src\gdbcon.pp
- codetyphon\fpcsrc\packages\ide\gdbmicon.pas

And the -exec-run command is passed on the last but the good command seem's to be running.

Thank's by advance for explanation.

Frédéric Libaud, Digital Expert

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 3 days ago - 1 week 3 days ago #12905 by Sternas Stefanos
Replied by Sternas Stefanos on topic Error 740 on launching GDB with basic app on Windows 10
Thanks Sir
first of all Typhon IDE don't use

FreePascal files
- codetyphon\fpcsrc\packages\gdbint\src\gdbcon.pp
- codetyphon\fpcsrc\packages\ide\gdbmicon.pas

All GDB "console commands" are in
codetyphon\typhon\components\BaseDebuggergdbmi\gdbmidebugger.pp file


if you get this GDB ERROR 740 more Info





Check If your Project has has been configured to Run as Administrator




Typhon IDE and GDB run without Administrator rights and privileges
so you can't call from Typhon IDE (and GDB Typhon Sub-process) a project with Administrator rights and privileges.

CodeTyphon Architect and Programmer
Attachments:
Last edit: 1 week 3 days ago by Sternas Stefanos.

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

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 3 days ago #12906 by Libaud
I've verified that I apply your explanation.
But it doesn't work and it's the release 8.2 of GNU Debugger how it's delivered (with CT 6.6). This release doesn't support the "-exec-run" command apparently !

Frédéric Libaud, Digital Expert

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago #12907 by Sternas Stefanos
Replied by Sternas Stefanos on topic Error 740 on launching GDB with basic app on Windows 10
Sir
can you give us more info for your project ?

CodeTyphon Architect and Programmer

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