Gday guys,
I hope i'm not double posting, had a search and couldn't come up with any thing.
I'm using the arduino platform with Notepad++ as the editor so i am using the 'Use External Editor' option quite frequently to lock and debug my code. My sketch is quite big so uploads and testing takes ages, therefore i'll have a second arduino window open for testing snippits of code.
I set these testing windows to not 'Use External Editor' so i can use and edit them. The downside of this is that the option to use an external editor seems to be global and so when unchecking it for one window, it unchecks it for all.
This is ok but it is also where the problems occur. In the primary window (my main locked sketch) while the option has been unchecked, the editing window is still locked and behaves as it is still using an external editor. Most importantly while it looks like it is still locked, its not and the code pages therein are not updated with the build.
Its happened to me quite a few times and as a result have been sitting around scratching my head as to why my changes are not reflected in what i am seeing in the atmega. Try it on your system, happens every time on mine without fail.
Is it possible to fix this, perhaps changing the option of using an external editor be a window specific setting, rather than a global setting? Or keep it as it is but make sure that if the setting is changed that all windows become unlocked.
Cheers
Paul