This paper deals with the none-line-of-sight (NLOS) reception issue in the field of global navigation satellite system (GNSS). The NLOS reception has attracted a significant amount of attention because it is one of the main factors that limit the GNSS position accuracy in urban areas. In this work, we dig into the baseband signal processing level to explore a new solution to the NLOS detection and correction by means of the vector tracking loop (VTL). The NLOS effects on both conventional scalar tracking loops (STL) and VTL are derived mathematically. Based on this, an NLOS detection algorithm is developed using metrics such as the equivalent noise bandwidth, the time delay of multi-correlator peaks, as well as code discriminator outputs. Once detected, the NLOS-induced measurement error is corrected before being fed forward into the navigation estimator to improve the position accuracy. Two field tests in urban areas in Hong Kong are conducted to illustrate the effectiveness of the proposed method in real applications. The NLOS correction performance is also assessed using simulated NLOS receptions with controllable time delays and reflection coefficients, which reveals how the proposed algorithm performs in different NLOS scenarios. Index Terms-Global navigation satellite system (GNSS), nonline-of-sight (NLOS) reception, vector tracking loops (VTL), software-defined receivers (SDR), urban canyon TABLE I TECHNIQUES DEALING WITH NLOS RECEPTION Category Techniques Mitigation Antenna design, e.g., choke-ring antenna[11] Consistency checking techniques, e.g., based on pseudorange residual and navigation solution [12-14] Kalman filter-based innovation filtering [15] Detection Hardware-based techniques, e.g., array antenna[16], dualpolarization antenna [17], sky-pointing camera [18, 19] Machine learning technique [20-23] 3D building model [20, 24-27] Vector tracking loops (VTL) [28] Correction 3D mapping-aided (3DMA) [24, 29], building height aided 3-dimentional light detection and ranging (3D LiDAR) [30], NLOS modeling [31] The first category is mitigation, where any potentially contaminated measurements, including the NLOS reception, are directly removed or reduced without being clearly classified. A typical example of this method is the usage of choke-ring antenna [11], which gives low gains to satellites with low research was supported by the Hong Kong PolyU startup fund on the project 1-ZVKZ, "Navigation for Autonomous Driving Vehicle using Sensor Integration".