News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can't create new global variable set on win10

Started by jamesson, March 20, 2019, 12:25:00 AM

Previous topic - Next topic

jamesson

I can't seem to get a clone or creation of a new set of global variables to stick. When I reopen the global variable editor the only thing left seems to be the default set, not anything I created. I tried both the portable zipfile and the installer, several times.

Platform: win10 x64 enterprise v1809

CodeBlocks v17.12

oBFusCATed

What version are you using?
Are you able to close codeblocks and any settings to be preserved?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jamesson

I updated my question to list my version. I don't have enough experience to see which settings are saved and which are not. Can you recommend a test?

oBFusCATed

Just a random setting in Settings -> Environment or Editor. All of them should be saved in a single file.

Also do you see the problem in a single session or between sessions?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jamesson


oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jamesson

 Sorry, I thought I was being concise. Nothing in settings is stored, and the issue persists between sessions.

oBFusCATed

Are you able to close codeblocks without a crash or hang (check task manager if there is still codeblocks.exe after you close it)?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

#8
Try it without opening any projects; I once had closing projects be what was causing crashes.

Edit: This was several years back.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

jamesson

I can't seem to replicate after restart. Which file are all these settings stored in? Could I have locked access to it somehow?

oBFusCATed

Somewhere in %AppData%/CodeBlocks/default.conf but I'm not really sure which one it is in these new versions of windows.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]