                     @id_execution++ # Update the id_execution and use it to tag the callbacks
                     rdb_global_callback = @generate_rdb_global_callback @id_execution
                     # Date are displayed in their raw format for now.
-                    console.log @state.options.profiler
+                    @state.last_query_has_profile = @state.options.profiler
                     rdb_query.private_run {connection: @driver_handler.connection, timeFormat: "raw", profile: @state.options.profiler}, rdb_global_callback # @rdb_global_callback can be fire more than once
                     return true
                 else if rdb_query instanceof DataExplorerView.DriverHandler

                            broken_query: true

                        return false
                    
                    if @index is @queries.length # @index was incremented in execute_portion
                        if cursor?

            profiler: true
        history: []
        focus_on_codemirror: true
        last_query_has_profile: true
        #saved_data: {}


