PurposeThis paper aims to examine the impact of problem-solving activities, emotional experiences and contextual and personal factors on learning from dealing with software-related problems in everyday office work.Design/methodology/approachTo measure the use of problem-solving activities, emotional experiences and the contextual factors of problem characteristics and learning in situ, a research diary was used. To measure team psychological safety (contextual factor) and personal factors, including the Big Five personality traits, occupational self-efficacy and technology self-efficacy, the authors administered a self-report questionnaire. In sum, 48 students from a software company in Germany recorded 240 diary entries during five working days. The data was analysed using multilevel analysis.FindingsResults revealed that asking others and using information from the internet are positive predictors of self-perceived learning from a software-related problem, while experimenting, which was the most common activity, had a negative effect on learning. Guilt about the problem was positively related to learning while working in the office (as opposed to remote work), and feeling irritated/annoyed/angry showed a negative effect. Surprisingly, psychological safety had a negative effect on perceived learning.Research limitations/implicationsMajor limitations of the study concern the convenience sample and the disregard for the sequence of the activities.Originality/valueThis study contributes to the limited empirical evidence on employees’ problem-solving activities and informal workplace learning in the software context. To overcome the shortcomings of previous studies using retrospective assessments and in-lab observations, this study uses the diary method to investigate in situ.