We are building the WEC2013 based on Toradex 1.1BSP for Colibri iMX6. I do a checked build and attach to the target, the OS starts up. When I connect a device to USB the Debugger stops at a __debugbreak line in HidTLCQueue::Validate. If I press F5 (continue) dozens of times, the USB device is recognized and works perfectly. I don’t like to press F5 each time so many times.
Since I don’t have the source code I cannot remove that __debugbreak. How to skip that __debugbreak?
Stack trace:
USBHID!HidTLCQueue::Validate() line 422 + 30 bytes
USBHID!HidTLCQueue::Initialize(unsigned long 52, unsigned long 3245131072) line 74
USBHID!InitializeTLCStructures(_HID_CONTEXT * 0xc21df0b8) line 673
USBHID!HidMdd_Attach(void * 0x00001198, unsigned char * 0x00000704, unsigned long 1, unsigned long 3245110652, unsigned long 4504, unsigned long 1796, unsigned long 1, void * * 0xc16c757c, unsigned long * 0xc16c7580) line 855 + 6 bytes
USBHID!CreateUsbHidDevice(void * 0xc21df180, const _USB_FUNCS * 0xef5758c1, const _USB_INTERFACE * 0xaf891c40) line 553 + 58 bytes
USBHID!USBDeviceAttach(void * 0xc21df858, const _USB_FUNCS * 0xc21df5e0, const USB_INTERFACE * 0x00000001, const wchar_t * 0x00000000, int * 0xc21df858, const USB_DRIVER_SETTINGS * 0xc21df5e0, unsigned long 1) line 296
K.USBD!LoadRegisteredDriver(HKEY *, SDevice *, const _USB_INTERFACE *, unsigned long, int *, const _USB_DRIVER_SETTINGS *) line 313 + 26 bytes
K.USBD!LoadGroupDriver(SDevice * 0x00000000, int * 0x00000001, const _USB_INTERFACE * 0x0000c001, int 1, int 0, int 1) line 474 + 24 bytes
K.USBD!LoadUSBClient(SDevice * 0x00000001, int * 0x00000001, const _USB_INTERFACE * 0x00000000) line 602
K.USBD!LoadDeviceDrivers(SDevice * 0x0061006f, int * 0x00690064) line 818 + 10 bytes
K.USBD!HcdDeviceAttached(void * 0xc16ce094, unsigned int 3012338976, unsigned int 4011356917, const _USB_DEVICE * 0x00000001, void * * 0xc16ce094) line 343 + 8 bytes
HCD_HSH1!ef18734c()
HCD_HSH1!ef188878()
HCD_HSH1!ef188ce6()
K.COREDLL!ThreadBaseFunc(unsigned long (void *) 0x00000001, void * 0x400808bc) line 1270