Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Decompile .42m  (Read 10110 times)
Adam J.
Posts: 1


« on: July 02, 2019, 12:58:41 am »

Hey all,

Is there any way to decompile a .42m file?

I unfortunately deleted my source code and wasn't in source/version control facility. I know... my bad!

Cheers,

Adam
Reuben B.
Four Js
Posts: 1119


« Reply #1 on: July 03, 2019, 12:33:48 am »

FYI I have corresponded with Adam via support portal, and given him a few pointers to assist in rewriting a .4gl.  For instance running strings on the .42m, FGLSQLDEBUG can tell you what SQL statements are run, both profiler and trace can tell you what functions are called, the AUI Tree can be used to see what actions, fields are used for each dialog etc, and you do not need source to run the debugger.   So if you accidentally delete .4gl in your working directory, there are a few clues available to help piece parts of your .4gl back together.

Fortunately I have never had to do this on a larger scale, but if you do, please contact your support contact.  There is no "fglrun --decompile filename.42m > filename.4gl" but all is not lost either.

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines