I've got the same problem here. I tried to modify a global value and get this:
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Returning NULL event variable
Condition: event_var != NULL
File: Projects\Parameters.cpp
Line: 285
Function: class EventVariable *__thiscall EventParameter::GetEventVariable(void) const
Build: release 66 (32-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)
You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.