How to disable periperals function in the debug mode

Dear all:
We create our own AGDI function. We only use 8051 core and some original peripherals. We want to disable or hide some peripherals function in the debug mode. Can anybady give so advice.
Best regards,
Peter

More questions in this forum