Thread View: pl.comp.www
1 messages
1 total messages
Started by Marek S
Tue, 16 May 2017 20:25
Microsoft Edge Debugger z błędami?
Author: Marek S
Date: Tue, 16 May 2017 20:25
Date: Tue, 16 May 2017 20:25
26 lines
1460 bytes
1460 bytes
Witam,
Jest w sieci artykuł:
https://docs.microsoft.com/en-us/microsoft-edge/f12-devtools-guide/debugger
Zwróćcie uwagę na ikonki po tej fioletowej (obsługa wyjątków). Dwie
kolejne odpowiadają za formatowanie kodu. Ja ich nie mam (W10 Pro x64).
A jak u Was?
Druga sprawa, gdy debugujemy kod w postaci:
function costam(id)
{
(...)
for(i=0; i<3; i++)
{
//id tu jest "undefined"
}
}
Czy takie cuda tylko u mnie? console.log(id) umieszczone w pętli zwraca
poprawną wartość. Jedynie debugger uważa, że zmienna id nie istnieje.
--
Pozdrawiam,
Marek
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads