Hi
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Firstly, using the following code to enable the GPIO clock, however, it will disable other units' clock. For instance, they include the AHB, the APB bridge, the Arm Cortex-M0+, the SYSCON block, and the PMU, etc.
SYSCON->SYSAHBCLKCTRL0 = 0b000000000000000000000000000001000000;

Fig 1
No doubt, it will crash the MCU after doing this.
MCUXpresso provide the feature which allow the developer to to observe the changing of SYSAHBCLKCTRL0 register in the debug, I think it's just you want, please refer to MCUXpresso's user guide to enable this feature.
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------