Hi everybody , I need an urgent help.
My image contains all functionality I define but if I want to see the methods i lost all the code. That is if I want to see eny method I get "Source unavailable for this method" and the Transcript show Error 32 on line 1 of Aplicacion>>beginTransaction -> 'expecting message pattern' the same for all methods in the image If someone can say me how to recover the code I need urgently this By the way , I trying to decomipile the methods and I can't Pleas help TIA Pablo |
Pablo,
> If someone can say me how to recover the code I need urgently this Background - Dolphin stores modified source code in the file "something".chg (where "something" is the name you saved the image as, default is "Professional" IIRC) and each compiled method remembers the offset of it's own source code in that file. Source code for unchanged methods, ones that come with the default image, are stored in a similar way but in the file "something".sml. If you break the linkage between the current image and these files then Dolphin is unable to locate the correct source to display in the browser and you get the result that you describe. NB: I take it that you haven't saved your work in package files as well as saving the image?. If not then that is something that you should really start doing from now on. The first step is always to copy the file "something".chg and keep the copy safe. Unless you have a hardware problem then this file should still contain all your source code. If you do have hardware problems then this file, or parts of it, may be corrupted and you might have to go back to a recent backup (you do have backups?). Once you have a copy of the change file you can either recover the classes/methods/resources you have lost by using a text editor to cut/paste the required source or use my ChunkBrowser to parse the file which makes it a lot easier to restore your code (www.idb.me.uk and download for the goodies for Dolphin XP). -- Ian Use the Reply-To address to contact me. Mail sent to the From address is ignored. |
Ian , thanks for your answer. the .chg file save my life and my work!.
Before you answer me I realize that editing this file I save my work. I did not can probe your Chulnk Browser but i will do . Thanks a lot PAblo "Ian Bartholomew" <[hidden email]> escribió en el mensaje news:[hidden email]... > Pablo, > > > If someone can say me how to recover the code I need urgently this > > Background - Dolphin stores modified source code in the file "something".chg > (where "something" is the name you saved the image as, default is > "Professional" IIRC) and each compiled method remembers the offset of it's > own source code in that file. Source code for unchanged methods, ones that > come with the default image, are stored in a similar way but in the file > "something".sml. > > If you break the linkage between the current image and these files then > Dolphin is unable to locate the correct source to display in the browser and > you get the result that you describe. > > NB: I take it that you haven't saved your work in package files as well as > saving the image?. If not then that is something that you should really > start doing from now on. > > The first step is always to copy the file "something".chg and keep the copy > safe. Unless you have a hardware problem then this file should still > contain all your source code. If you do have hardware problems then this > file, or parts of it, may be corrupted and you might have to go back to a > recent backup (you do have backups?). > > Once you have a copy of the change file you can either recover the > classes/methods/resources you have lost by using a text editor to cut/paste > the required source or use my ChunkBrowser to parse the file which makes it > a lot easier to restore your code (www.idb.me.uk and download for the > goodies for Dolphin XP). > > -- > Ian > > Use the Reply-To address to contact me. > Mail sent to the From address is ignored. > > > |
Free forum by Nabble | Edit this page |