Genetic disorders in cancer are diagnosed through genetic testing, which involves analyzing a sample of blood, saliva, or tissue to identify specific mutations. Genetic counseling is often recommended before and after testing to help individuals understand their risk and the implications of the test results. In some cases, family history and pedigree analysis can also provide valuable information about inherited cancer risk.