Bug #18868 2013-01-16 05:56

dreadmullet

Hang when opening workspace and ProjectFile.relativeFilename

Steps to reproduce:

- Make a new project and add a build script to Debug with this contained in it:

function SetBuildOptions(base){

local file = GetProjectManager().GetActiveProject().GetFile(0)

Log(_T("file = " + file.relativeFilename))

}

- Save the project into a workspace.

- Close the workspace.

- Open the workspace. Code::Blocks will mostly hang, seeming to do nothing. I say mostly because you can still use the menu.

The problem seems to be because it's trying to do file.relativeFilename when file is invalid.

Also, Code::Blocks seems to crash when you open the .cbp without Code::Blocks running yet.

Category
Application::Crash
Group
Platform:Windows
Status
Open
Close date
 
Assigned to