(adding this to an old thread so I can find the answer 2 years from now...)
My structure file was crashing the instant it hit the debugger (v17.2).

Here's how to clear your debugger expression pain:
https://kb.4d.com/assetid=78161

"If by accident an expression is added and saved to the pane that executes
code that causes issue it is possible to clear the expressions by holding
down the *SHIFT* button while the debugger is opened.

After the debugger is opened with the cleared expression pane it is
important to save a new set of expressions or else the next time the
expression pane is opened the last saved set of expression (the one that
were possibly causing issues) will return."

(Click the Save icon)

Also found the answer here from Achim PESCHKE:
https://forums.4d.com/Post/EN/3360111/1/3360112#3368866

The debugger expressions _are_ stored in the structure.  This happened when
I tried the same structure on different machines.


As for v18 Project Mode?  Next to the project folder:
Project
userPreferences.[macOSUserName]
     debuggerWatches.json

So nice!

BTW - I think converting your structure to project mode clears the debugger
pane - not that it helps you if you aren't ready to use project mode.


Jim Hays




On Sat, Aug 24, 2013 at 11:02 PM David Belote <[email protected]>
wrote:

> One last post on this topic from me that I think might help someone else
> who has to delete the 4D preference file and because of it, have to
> reenter the license information.  As noted before, it looked like I was
> going to have to reenter my license information after deleting  the
> corrupted preference file (saved it to a save location), but I think I
> found a way around this.
>
> I initially found that if I started up 4D without any preference file,
> that it started in demo mode.  But if I put the corrupted preference file
> back in place that 4D would start up as usual with my licenses, but of
> course, the debug window wouldn't work properly.
>
> After playing around with it a few times, I found that if I started up 4D
> using the corrupted "4D Preferencesv13.4DPreferences" file that caused the
> debug window not to work correctly, but then deleted that same corrupted
> 4D preferences file while 4D was running, that when I quit 4D, 4D wrote a
> new "4D Preferencesv13.4DPreferences" file.  That new 4D preferences file
> includes the pointers to my license files. Everything is running just like
> it is supposed to.
>
> It makes sense because the corrupted preference file somehow didn't
> contain the correct info to allow the debug window to run, but it did
> contain my license info (and the other required parameters).  So when 4D
> quit and it found that the preference file was missing, 4D wrote the new
> one with the info that was present in the running 4D app.
>
> I verified that this worked by pulling down 4D/About 4D and it contains my
> name and company name.  Then in then pulling down Help/Update License, I
> can see my licenses.
>
> Dave Belote
> Colorado Springs, Colorado USA
>
>
> On 8/23/13 12:23 PM, "Donald Koffman" <[email protected]> wrote:
>
> >I second the thank you. It fixed the same problem on the OC.
> >
> >On Aug 23, 2013, at 9:19 AM, David Belote <[email protected]>
> >wrote:
> >
> >> Miyako, Chip, and all who helped me with this,
> >>
> >> Thanks for using the Show On Disk command.  With it I found the file you
> >> all have been talking about. When I deleted the "4D Preferences
> >> v13.4DPreferences" file (really rename it so 4D couldn't find it), 4D
> >> re-created the preference file and the debug window appears to be back
> >>to
> >> normal.  After deleting the preference file, 4D made me enter the system
> >> as a demo license.  I'll have to go back and reenter my licenses later
> >> today.  Chip alluded to that possibility earlier.
> >>
> >> Again, thanks to all who helped,
> >>
> >> Dave Belote
> >> Colorado Springs, Colorado USA
> >>
> >> P.S.  I hope those of you who are into cycling are enjoying the USA Pro
> >> Challenge (aka Tour of Colorado).  We sure enjoyed watching the Tour de
> >> France.
> >>
> >> On 8/22/13 8:12 PM, "miyako" <[email protected]> wrote:
> >>
> >>> Hello,
> >>>
> >>> just to be clear,
> >>>
> >>> the preferences file is located at
> >>>
> >>> SHOW ON DISK(Get 4D folder+"4D Preferences v13.4DPreferences")
> >>>
> >>> which is an XML file, with keys such as
> >>>
> >>> <window name="4ddebugger" left="257" top="97" width="1227"
> >>> height="641"><form><object name="Ligne1"><bounds left="0" top="621"
> >>> width="1227" height="0"/></object><object name="vCursorPos"><bounds
> >>> left="1035" top="624" width="186" height="15"/></object><object
> >>> name="bCtrlD"><bounds left="16" top="668" width="77"
> >>> height="30"/></object><object name="Rectangle"><bounds left="0"
> >>>top="499"
> >>> width="1227" height="15"/></object><object name="bRun"><bounds
> >>>left="10"
> >>> top="7" width="30" height="21"/></object><object name="bAbort"><bounds
> >>> left="45" top="7" width="30" height="21"/></object><object
> >>> name="bAbortEdit"><bounds left="80" top="7" width="30"
> >>> height="21"/></object><object name="bEdit"><bounds left="115" top="7"
> >>> width="30" height="21"/></object><object name="bSaveSettings"><bounds
> >>> left="150" top="7" width="30" height="21"/></object><object
> >>> name="bStepOver"><bounds left="200" top="7" width="30"
> >>> height="21"/></object><object name="bStepInto"><bounds left="235"
> >>>top="7"
> >>> width="30" height="21"/></object><object
> >>>name="bStepIntoProcess"><bounds
> >>> left="270" top="7" width="30" height="21"/></object><object
> >>> name="bStepOut"><bounds left="306" top="7" width="30"
> >>> height="21"/></object><object name="Splitter"><bounds left="0"
> >>>top="246"
> >>> width="1227" height="4"/></object><object name="Splitter1"><bounds
> >>> left="366" top="52" width="851" height="4"/></object><object
> >>> name="Splitter2"><bounds left="359" top="40" width="4"
> >>> height="201"/></object><object name="Line"><bounds left="0" top="34"
> >>> width="1227" height="0"/></object><object name="WatchView"
> >>> separator_ratio="0.17106187343597"><bounds left="370" top="62"
> >>> width="847" height="174"/></object><object name="StackView"
> >>> separator_ratio="0.66666668653488"><bounds left="370" top="43"
> >>> width="847" height="1"/></object><object name="GlobalWatchView"
> >>> separator_ratio="0.66666668653488"><bounds left="10" top="43"
> >>>width="340"
> >>> height="193"/></object><object name="CodeView"><bounds left="0"
> >>>top="250"
> >>> width="1227" height="371"/></object><object name="vMethodName"><bounds
> >>> left="360" top="10" width="857" height="20"/></object><object
> >>> name="vReason1"><bounds left="5" top="624" width="994"
> >>> height="15"/></object><object name="separator.1"><bounds left="190"
> >>> top="7" width="0" height="21"/></object><object name="Line1"><bounds
> >>> left="0" top="35" width="1227" height="0"/></object></form></window>
> >>>
> >>> I am pretty sure this is where the information is stored. (on v13)
> >>>
> >>> miyako
> >>>
> >>> On 2013/08/23, at 10:50, David Belote <[email protected]>
> >>>wrote:
> >>>
> >>>> Yes, I deleted it with no fix to the issue.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> **********************************************************************
> >>> 4D v13 is available now - with more than 200 new features to make
> >>> your applications richer and faster
> >>> http://www.4d.com/products/new.html
> >>>
> >>> 4D Internet Users Group (4D iNUG)
> >>> FAQ:  http://lists.4d.com/faqnug.html
> >>> Archive:  http://lists.4d.com/archives.html
> >>> Options: https://lists.4d.com/mailman/options/4d_tech
> >>> Unsub:  mailto:[email protected]
> >>> **********************************************************************
> >>
> >>
> >>
> >> **********************************************************************
> >> 4D v13 is available now - with more than 200 new features to make
> >> your applications richer and faster
> >> http://www.4d.com/products/new.html
> >>
> >> 4D Internet Users Group (4D iNUG)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:[email protected]
> >> **********************************************************************
> >
> >
> >**********************************************************************
> >4D v13 is available now - with more than 200 new features to make
> >your applications richer and faster
> >http://www.4d.com/products/new.html
> >
> >4D Internet Users Group (4D iNUG)
> >FAQ:  http://lists.4d.com/faqnug.html
> >Archive:  http://lists.4d.com/archives.html
> >Options: https://lists.4d.com/mailman/options/4d_tech
> >Unsub:  mailto:[email protected]
> >**********************************************************************
>
>
>
> **********************************************************************
> 4D v13 is available now - with more than 200 new features to make
> your applications richer and faster
> http://www.4d.com/products/new.html
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
>
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to