Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Tue, 7 Jul 2020 00:28:20 -0700 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0677Ixop029010; Tue, 7 Jul 2020 03:19:47 -0400 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0677Iwt5029007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 7 Jul 2020 03:18:58 -0400 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 0677KilJ008416 for ; Tue, 7 Jul 2020 03:20:45 -0400 Received: from w92expo11.exchange.mit.edu (18.7.74.65) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 7 Jul 2020 03:18:07 -0400 Received: from oc11exhyb5.exchange.mit.edu (18.9.1.110) by w92expo11.exchange.mit.edu (18.7.74.65) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Tue, 7 Jul 2020 03:18:57 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by oc11exhyb5.exchange.mit.edu (18.9.1.110) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 7 Jul 2020 03:18:57 -0400 Received: from MWHPR17CA0081.namprd17.prod.outlook.com (2603:10b6:300:c2::19) by DM5PR01MB2681.prod.exchangelabs.com (2603:10b6:3:f3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.24; Tue, 7 Jul 2020 07:18:56 +0000 Received: from CO1NAM03FT029.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:c2:cafe::9c) by MWHPR17CA0081.outlook.office365.com (2603:10b6:300:c2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.23 via Frontend Transport; Tue, 7 Jul 2020 07:18:56 +0000 Received: from mail-vs1-f46.google.com (209.85.217.46) by CO1NAM03FT029.mail.protection.outlook.com (10.152.80.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.24 via Frontend Transport; Tue, 7 Jul 2020 07:18:56 +0000 Received: by mail-vs1-f46.google.com with SMTP id a17so11086172vsq.6 for ; Tue, 07 Jul 2020 00:18:56 -0700 (PDT) From: K S To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Tue, 7 Jul 2020 00:18:44 -0700 Subject: [PIC] MPLABX | XC8 - watching variables in multiple modules Thread-Topic: [PIC] MPLABX | XC8 - watching variables in multiple modules Thread-Index: AdZUMDDPo9vk4NdLRhqdtktlRyT/DA== Message-ID: List-Help: List-Subscribe: , List-Unsubscribe: , Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of gmail.com designates 209.85.217.46 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.217.46; helo=mail-vs1-f46.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/s1a9A36PPtMWRnX6GEQoGXqxokyGxtnWpqpppHGRyA=; b=oftkJJ32ORpO7DDvGajs9LTzzp5BI4wXg6kA07CrEIIV8dqpO2J43HwIcnatAn8+kb 79cE4kUmS1oKrsA0xpas7QRcWZDHafTnFpbKgkn071SBmdljdNiDnMgl0u5ZCMewKmqk QEdoVEYSj9f1m5mhBh++UjvHURXvt5cWaKtygPKmPXJzdnCQEoa5GSoLGziy7LPKgwSj Sdi7TWoG4RKYak7Qjwzah4SoRucCgB4amVfJl0UyHiBQX2wZ+itKdZpKVH4ER50dwiJw JGuhNzc86yrOu2JnxHPLRslajrvfheXNez1a6lQRsBjP/56rU7XPUuDJY3ECycaopTfj 2byg== authentication-results: spf=pass (sender IP is 209.85.217.46) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com; mit.edu; dmarc=pass action=none header.from=gmail.com; errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-received: by 2002:a67:1b85:: with SMTP id b127mr34026518vsb.152.1594106334720; Tue, 07 Jul 2020 00:18:54 -0700 (PDT) x-topics: [PIC] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hello list. I am debugging an XC8 program with lots of modules in MPLABX 5.35. Various modules have variables that have the same name. For example I have a SCI1 and SCI2 module, both containing a variable called rx_buf. These variables are global within the module but not within the whole project (declared as "static type name"). The program compiles and functions properly. However during debug I cannot watch these variables properly. Only one variable is properly shown within any watch window, the other will show as "undefined" or as a copy of the other one. When debugging within a module I would expect the variable in scope to show up in a watch or when hovered over, but this is not the case. Has anyone encountered this? And found any workaround? TIA. Cheers all. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .