If one needs to void (either way) and eat or drink a little prior to going to the bathroom (for whatever necesary reason) should one think the brocho or or just eat or drink without even thinking the brocho.
Thank you for your time
Whenever a blessing cannot be made (for instance, when one needs (severely) to use the bathroom , it is proper to think the blessing on one’s heart.
See Peri Megadim (432, E.A. 4); Kaf Hachaim 167:70; see Shulchan Aruch 62:4 concerning Krias Shema, and Biur Halachah.