Jump to content
Ian Harris

Sourceboost Ide Crashes On Startup / Loading Project

Recommended Posts

Hi all,

 

Running 7.11 and it has an annoying habit of crashing on loading certain project files - even one I have just created. Once it does this, of course, then next time it starts up it tries to reload the project and crash again.

 

Here's a project file that crashes every time. Tried uploading but the forum says I'm not allowed to upload that sort of file.

 

 

[settings]

Target=PIC18F26K22

Active Compiler=BoostC

Active Directory=D:\TI\CC3000BasicWiFiApplication\Basic WiFi App Sourceboost Source\

Active Config=Debug

Last Ext=h

Type=0

Warnings=2

Model=0

[Files]

Count=24

File0=CC3000HostDriver\cc3000_common.c

File1=CC3000HostDriver\cc3000_common.h

File2=CC3000HostDriver\evnt_handler.c

File3=CC3000HostDriver\evnt_handler.h

File4=CC3000HostDriver\hci.c

File5=CC3000HostDriver\hci.h

File6=CC3000HostDriver\host_driver_version.h

File7=CC3000HostDriver\netapp.c

File8=CC3000HostDriver\netapp.h

File9=CC3000HostDriver\nvmem.c

File10=CC3000HostDriver\nvmem.h

File11=CC3000HostDriver\security.c

File12=CC3000HostDriver\security.h

File13=CC3000HostDriver\socket.c

File14=CC3000HostDriver\socket.h

File15=CC3000HostDriver\wlan.c

File16=CC3000HostDriver\wlan.h

File17=application_version.h

File18=basic_wifi_application.c

File19=board.c

File20=board.h

File21=spi\spi.c

File22=spi\spi.h

File23=spi\spi_version.h

[Tools]

BoostDir=C:\Program Files (x86)\SourceBoost\

Programmer=

PrefixWithBuildThreadNum=1

BuildThreadNum=1

[Debugger]

DebugFromMain=1

Share this post


Link to post
Share on other sites

Hi

 

Do you have a "TODO" comment in any of the files?

If so, try to get ride of it and see if it makes a difference.

 

 

 

Best regards

Jorge

Edited by JorgeF

Share this post


Link to post
Share on other sites

Jorge,

 

Good find.

 

I removed the files one by one until I found which one made it crash. I was fooled since I didn't think SourceBoost looked in the source files as it started, but it must do to read the "todo" list.

 

 

volatile unsigned long ulSmartConfigFinished, ulCC3000Connected,ulCC3000DHCP,

OkToDoShutDown, ulCC3000DHCP_configured;

 

and

 

OkToDoShutDown = 1;

 

were the lines in the source files to cause the IDE to crash on startup. Changing them to "OkToShutDown" allows the IDE to startup okay.

 

cheers

Ian.

Share this post


Link to post
Share on other sites

Hi

 

AFAIK this is a bug in the editor (text preprocessing) from an atempt to idenntify the "TODO" keyword in comments to allow the programmer to use as a hint for unfinished sections of code.

 

If I recall correctly there is already another thread on the subject in this forum.

 

 

Best regards

Jorge

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...